diff options
Diffstat (limited to 'src/modules/extra/m_pgsql.cpp')
| -rw-r--r-- | src/modules/extra/m_pgsql.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/extra/m_pgsql.cpp b/src/modules/extra/m_pgsql.cpp index e4e656771..bf936dbfa 100644 --- a/src/modules/extra/m_pgsql.cpp +++ b/src/modules/extra/m_pgsql.cpp @@ -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)); |
