mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-20 20:29:10 +00:00
Get rid of NEW(), TRACKED_NEW, and ZERO().
This commit is contained in:
@ -587,7 +587,7 @@ bool SqlConn::GrowConnections_CS (unsigned attempts) {
|
||||
break;
|
||||
|
||||
// Leave the critical section to perform connection
|
||||
SqlStmt * stmt = NEW(SqlStmt)(this);
|
||||
SqlStmt * stmt = new SqlStmt(this);
|
||||
|
||||
// Ensure that the connection string is valid
|
||||
// for the duration of the initialization by
|
||||
@ -789,7 +789,7 @@ SqlConn * SqlConnCreate (
|
||||
LogErr(result, SQL_HANDLE_ENV, henv, L"SQLSetEnvAttr(version)", L"");
|
||||
|
||||
// Allocate a connection record
|
||||
SqlConn * conn = NEW(SqlConn)(connectStr, henv);
|
||||
SqlConn * conn = new SqlConn(connectStr, henv);
|
||||
|
||||
// Update configuration options
|
||||
conn->critsect.Enter();
|
||||
|
Reference in New Issue
Block a user