Skip to content

Commit df67aff

Browse files
committed
wasNull() Not working properly when using last() previous().
1 parent 36d4c25 commit df67aff

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

driver/mysql_ps_resultset.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1286,6 +1286,8 @@ bool
12861286
MySQL_Prepared_ResultSet::previous()
12871287
{
12881288
CPP_ENTER("MySQL_Prepared_ResultSet::previous");
1289+
1290+
checkScrollable();
12891291
/* isBeforeFirst checks for validity */
12901292
if (isBeforeFirst()) {
12911293
return false;

0 commit comments

Comments
 (0)