mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-07-28 23:16:15 -04:00
Revert "Revert "newer standards prefer nullptr over NULL - this is most of them but there are others too""
This reverts commit 8e2160f33e.
This commit is contained in:
@@ -63,7 +63,7 @@ bool DB::OCIServer::checkerr(OCISession const & session, int status)
|
||||
text errbuf[512];
|
||||
sb4 errcode = 0;
|
||||
|
||||
OCIErrorGet((dvoid *)(session.errhp), (ub4) 1, (text *) NULL, &errcode,
|
||||
OCIErrorGet((dvoid *)(session.errhp), (ub4) 1, (text *) nullptr, &errcode,
|
||||
errbuf, (ub4) sizeof(errbuf), OCI_HTYPE_ERROR);
|
||||
|
||||
WARNING(true,("Database error: %.*s",512,errbuf));
|
||||
|
||||
Reference in New Issue
Block a user