mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
A fix and a test case for Bug#6513 "Test Suite: Values inserted by using
cursor is interpreted latin1 character and Bug#9819 "Cursors: Mysql Server Crash while fetching from table with 5 million records." A fix for a possible memory leak when fetching into an SP cursor in a long loop. The patch uses a common implementation of cursors in the binary protocol and in stored procedures and implements materialized cursors. For implementation details, see comments in sql_cursor.cc
This commit is contained in:
@ -267,6 +267,9 @@ struct st_table {
|
||||
GRANT_INFO grant;
|
||||
FILESORT_INFO sort;
|
||||
TABLE_SHARE share_not_to_be_used; /* To be deleted when true shares */
|
||||
|
||||
bool fill_item_list(List<Item> *item_list) const;
|
||||
void reset_item_list(List<Item> *item_list) const;
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user