mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
merge
sql/mysql_priv.h: Auto merged sql/sql_parse.cc: Auto merged mysql-test/mysql-test-run.sh: merge (use new code)
This commit is contained in:
@@ -477,7 +477,7 @@ int mysql_insert(THD *thd,TABLE_LIST *table,List<Item> &fields,
|
|||||||
void kill_delayed_threads(void);
|
void kill_delayed_threads(void);
|
||||||
int mysql_delete(THD *thd, TABLE_LIST *table, COND *conds, ORDER *order,
|
int mysql_delete(THD *thd, TABLE_LIST *table, COND *conds, ORDER *order,
|
||||||
ha_rows rows, ulong options);
|
ha_rows rows, ulong options);
|
||||||
int mysql_truncate(THD *thd, TABLE_LIST *table_list, bool dont_send_ok=0);
|
int mysql_truncate(THD *thd, TABLE_LIST *table_list, bool dont_send_ok);
|
||||||
TABLE *open_ltable(THD *thd, TABLE_LIST *table_list, thr_lock_type update);
|
TABLE *open_ltable(THD *thd, TABLE_LIST *table_list, thr_lock_type update);
|
||||||
TABLE *open_table(THD *thd,const char *db,const char *table,const char *alias,
|
TABLE *open_table(THD *thd,const char *db,const char *table,const char *alias,
|
||||||
bool *refresh);
|
bool *refresh);
|
||||||
|
@@ -2046,7 +2046,7 @@ mysql_execute_command(void)
|
|||||||
send_error(&thd->net,ER_LOCK_OR_ACTIVE_TRANSACTION,NullS);
|
send_error(&thd->net,ER_LOCK_OR_ACTIVE_TRANSACTION,NullS);
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
res=mysql_truncate(thd,tables);
|
res=mysql_truncate(thd, tables, 0);
|
||||||
break;
|
break;
|
||||||
case SQLCOM_DELETE:
|
case SQLCOM_DELETE:
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user