mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-10014 Add RETURNING to INSERT
post-review fixes: * test for dependent subqueries * test for triggers and routines * disallow INSERT...RETURNING in triggers and stored functions * don't return anything if INSERT IGNORE ignored an error
This commit is contained in:
@@ -38,7 +38,8 @@ void upgrade_lock_type_for_insert(THD *thd, thr_lock_type *lock_type,
|
||||
int check_that_all_fields_are_given_values(THD *thd, TABLE *entry,
|
||||
TABLE_LIST *table_list);
|
||||
int vers_insert_history_row(TABLE *table);
|
||||
int write_record(THD *thd, TABLE *table, COPY_INFO *info);
|
||||
int write_record(THD *thd, TABLE *table, COPY_INFO *info,
|
||||
select_result *returning= NULL);
|
||||
void kill_delayed_threads(void);
|
||||
|
||||
#ifdef EMBEDDED_LIBRARY
|
||||
|
Reference in New Issue
Block a user