summaryrefslogtreecommitdiff
path: root/src/modules/extra
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/extra')
-rw-r--r--src/modules/extra/m_mysql.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/extra/m_mysql.cpp b/src/modules/extra/m_mysql.cpp
index 0a3f58076..e0c527c94 100644
--- a/src/modules/extra/m_mysql.cpp
+++ b/src/modules/extra/m_mysql.cpp
@@ -208,7 +208,7 @@ class MySQLresult : public SQLresult
virtual SQLfieldList& GetRow()
{
if (currentrow < rows)
- return fieldlists[currentrow];
+ return fieldlists[currentrow++];
else
return emptyfieldlist;
}