mirror of
https://github.com/MariaDB/server.git
synced 2026-05-09 08:34:28 +02:00
Bug #11946: Review fixes.
sql/ha_innodb.cc: Add 'value' parameter to reset_auto_increment. sql/ha_innodb.h: Add 'value' parameter to reset_auto_increment. sql/handler.h: Add 'value' parameter to reset_auto_increment. sql/mysql_priv.h: Add 'reset_auto_increment' parameter to mysql_delete. sql/sql_delete.cc: Add 'reset_auto_increment' parameter to mysql_delete, and use it instead of checking for SQLCOM_TRUNCATE. mysql_truncate: Adapt to changes in mysql_delete. sql/sql_parse.cc: mysql_execute_command: Adapt to changes in mysql_delete.
This commit is contained in:
parent
b3dcaff948
commit
c12a760ce9
6 changed files with 21 additions and 17 deletions
|
|
@ -3321,7 +3321,8 @@ end_with_restore_list:
|
|||
unit->set_limit(select_lex);
|
||||
res = mysql_delete(thd, all_tables, select_lex->where,
|
||||
&select_lex->order_list,
|
||||
unit->select_limit_cnt, select_lex->options);
|
||||
unit->select_limit_cnt, select_lex->options,
|
||||
FALSE);
|
||||
break;
|
||||
}
|
||||
case SQLCOM_DELETE_MULTI:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue