mirror of
https://github.com/mangosfour/server.git
synced 2025-12-24 19:37:07 +00:00
[12066] Optimize some parts for ++C
This commit is contained in:
parent
ba86b02dd4
commit
3707b04330
48 changed files with 163 additions and 163 deletions
|
|
@ -164,7 +164,7 @@ QueryNamedResult* PostgreSQLConnection::QueryNamed(const char* sql)
|
|||
return NULL;
|
||||
|
||||
QueryFieldNames names(fieldCount);
|
||||
for (uint32 i = 0; i < fieldCount; i++)
|
||||
for (uint32 i = 0; i < fieldCount; ++i)
|
||||
names[i] = PQfname(result, i);
|
||||
|
||||
QueryResultPostgre* queryResult = new QueryResultPostgre(result, rowCount, fieldCount);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue