summaryrefslogtreecommitdiff
path: root/sql/sql_insert.h
diff options
context:
space:
mode:
authorRucha Deodhar <ruchad1998@gmail.com>2019-06-02 00:51:46 +0530
committerSergei Golubchik <serg@mariadb.org>2019-10-14 10:29:31 +0200
commit837ad9ab9760db83b2d117a6183519f18448b782 (patch)
tree7ac0bcfa60d67d2d7f8b18b513762e30572dbba0 /sql/sql_insert.h
parent57a09a72a31331c2bcbf57369fc396f0a96cfb09 (diff)
downloadmariadb-git-837ad9ab9760db83b2d117a6183519f18448b782.tar.gz
MDEV-10014 Add RETURNING to INSERT
Closes #1384
Diffstat (limited to 'sql/sql_insert.h')
-rw-r--r--sql/sql_insert.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_insert.h b/sql/sql_insert.h
index a37ed1f31e5..5b86f09d13b 100644
--- a/sql/sql_insert.h
+++ b/sql/sql_insert.h
@@ -31,7 +31,7 @@ bool mysql_prepare_insert(THD *thd, TABLE_LIST *table_list, TABLE *table,
bool mysql_insert(THD *thd,TABLE_LIST *table,List<Item> &fields,
List<List_item> &values, List<Item> &update_fields,
List<Item> &update_values, enum_duplicates flag,
- bool ignore);
+ bool ignore, select_result* result);
void upgrade_lock_type_for_insert(THD *thd, thr_lock_type *lock_type,
enum_duplicates duplic,
bool is_multi_insert);