summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2008-10-03 11:51:36 -0700
committerPixel <pixel@nobis-crew.org>2008-10-03 11:51:36 -0700
commit833f1f6f296bf5c4fb61163388897edf79811a61 (patch)
treeec78c068e16fa6d3e19588c2e42e53700cf97033 /lib
parent65430bb471aef183e13c05466a4068e7f1b8d8fc (diff)
Returning nil on 'FetchRow' if we don't have any more row to return.
Diffstat (limited to 'lib')
-rw-r--r--lib/SQL.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/SQL.cc b/lib/SQL.cc
index e11b78b..d619d72 100644
--- a/lib/SQL.cc
+++ b/lib/SQL.cc
@@ -101,7 +101,7 @@ AssocArray SQLConnection::fetchrow() {
r[fields[i].name] = row[i] ? row[i] : "NULL";
}
- nf--;
+ nr--;
}
return r;