mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 19:37:16 +02:00
Merge fix for BUG#35478 into 5.1
This commit is contained in:
commit
7a92412c59
15 changed files with 105 additions and 40 deletions
|
|
@ -452,7 +452,7 @@ Event_db_repository::table_scan_all_for_i_s(THD *thd, TABLE *schema_table,
|
|||
READ_RECORD read_record_info;
|
||||
DBUG_ENTER("Event_db_repository::table_scan_all_for_i_s");
|
||||
|
||||
init_read_record(&read_record_info, thd, event_table, NULL, 1, 0);
|
||||
init_read_record(&read_record_info, thd, event_table, NULL, 1, 0, FALSE);
|
||||
|
||||
/*
|
||||
rr_sequential, in read_record(), returns 137==HA_ERR_END_OF_FILE,
|
||||
|
|
@ -925,7 +925,7 @@ Event_db_repository::drop_events_by_field(THD *thd,
|
|||
DBUG_VOID_RETURN;
|
||||
|
||||
/* only enabled events are in memory, so we go now and delete the rest */
|
||||
init_read_record(&read_record_info, thd, table, NULL, 1, 0);
|
||||
init_read_record(&read_record_info, thd, table, NULL, 1, 0, FALSE);
|
||||
while (!ret && !(read_record_info.read_record(&read_record_info)) )
|
||||
{
|
||||
char *et_field= get_field(thd->mem_root, table->field[field]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue