mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Port of cursors to be pushed into 5.0 tree:
- client side part is simple and may be considered stable - server side part now just joggles with THD state to save execution state and has no additional locking wisdom. Lot's of it are to be rewritten.
This commit is contained in:
@ -252,7 +252,7 @@ int mysql_ha_read(THD *thd, TABLE_LIST *tables,
|
||||
insert_fields(thd, tables, tables->db, tables->alias, &it, 0);
|
||||
|
||||
select_limit+=offset_limit;
|
||||
protocol->send_fields(&list,1);
|
||||
protocol->send_fields(&list, Protocol::SEND_NUM_ROWS | Protocol::SEND_EOF);
|
||||
|
||||
HANDLER_TABLES_HACK(thd);
|
||||
MYSQL_LOCK *lock=mysql_lock_tables(thd,&tables->table,1);
|
||||
|
Reference in New Issue
Block a user