Commit 3adb531
authored
rb_mysql_result_free_result is now executed if the result is 0 rows. (#1399)
When there are 0 rows in the result, the condition to load the cache from the beginning
(lastRowProcessed == numberOfRows) is met, and the else route is not entered.
To resolve this, the else route is always entered first.1 parent 794ca50 commit 3adb531
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1015 | 1015 | | |
1016 | 1016 | | |
1017 | 1017 | | |
1018 | | - | |
| 1018 | + | |
1019 | 1019 | | |
1020 | 1020 | | |
1021 | 1021 | | |
| |||
0 commit comments