diff options
author | monty@mysql.com <> | 2006-02-24 18:34:15 +0200 |
---|---|---|
committer | monty@mysql.com <> | 2006-02-24 18:34:15 +0200 |
commit | 82b77cdd901bb36d4be23456bc0c5d171a29e3f7 (patch) | |
tree | 603ae9081a58d9f7bb204327f65d4a8af4425b28 /sql/sql_cursor.cc | |
parent | b11c033f496eccc680c1026a57af836c9a4578f3 (diff) | |
download | mariadb-git-82b77cdd901bb36d4be23456bc0c5d171a29e3f7.tar.gz |
Fixes to embedded server to be able to run tests with it
(Needed for "list of pushes" web page and autopush)
Diffstat (limited to 'sql/sql_cursor.cc')
-rw-r--r-- | sql/sql_cursor.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_cursor.cc b/sql/sql_cursor.cc index 89c160cd70a..33ad27b9d14 100644 --- a/sql/sql_cursor.cc +++ b/sql/sql_cursor.cc @@ -603,6 +603,7 @@ void Materialized_cursor::fetch(ulong num_rows) THD *thd= table->in_use; int res= 0; + result->begin_dataset(); for (fetch_limit+= num_rows; fetch_count < fetch_limit; fetch_count++) { if ((res= table->file->rnd_next(table->record[0]))) |