1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

Fixes and test cases for Bug#8880 "Commands out of sync error with cursors"

and Bug#9159 "Server crash during mysql_stmt_close".
The patch adds support for single-row result sets in cursors.
This commit is contained in:
konstantin@mysql.com
2005-03-24 15:12:53 +03:00
parent 947065ddab
commit fd54ee4539
4 changed files with 89 additions and 7 deletions

View File

@@ -370,7 +370,7 @@ public:
void close();
void set_unit(SELECT_LEX_UNIT *unit_arg) { unit= unit_arg; }
Cursor() :join(0), unit(0) {}
Cursor() :Item_arena(TRUE), join(0), unit(0) {}
~Cursor();
};