mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-09 10:39:02 -04:00
Clear the pgsql output vector before adding new values.
This commit is contained in:
parent
dbc17141d5
commit
9e3090ab1d
@ -177,7 +177,8 @@ public:
|
||||
if (currentrow >= PQntuples(res))
|
||||
return false;
|
||||
int ncols = PQnfields(res);
|
||||
|
||||
|
||||
result.clear();
|
||||
for(int i = 0; i < ncols; i++)
|
||||
{
|
||||
result.push_back(GetValue(currentrow, i));
|
||||
|
Loading…
x
Reference in New Issue
Block a user