summaryrefslogtreecommitdiff
path: root/sql/sql_prepare.h
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2016-06-29 20:03:06 +0200
committerOleksandr Byelkin <sanja@mariadb.com>2016-11-02 15:07:52 +0100
commite2d6912609c976bad04cee76874d4f986cd58cef (patch)
treef59d435e68c97fb717cb0bfdada8fced24455dc6 /sql/sql_prepare.h
parentc6713f651f5a50709273d14ce5732f7ef3409737 (diff)
downloadmariadb-git-e2d6912609c976bad04cee76874d4f986cd58cef.tar.gz
MDEV-9114: Bulk operations (Array binding)
(+ default values)
Diffstat (limited to 'sql/sql_prepare.h')
-rw-r--r--sql/sql_prepare.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/sql_prepare.h b/sql/sql_prepare.h
index 4a8780c4a02..820cb43e6d5 100644
--- a/sql/sql_prepare.h
+++ b/sql/sql_prepare.h
@@ -72,6 +72,7 @@ private:
void mysqld_stmt_prepare(THD *thd, const char *packet, uint packet_length);
void mysqld_stmt_execute(THD *thd, char *packet, uint packet_length);
+void mysqld_stmt_bulk_execute(THD *thd, char *packet, uint packet_length);
void mysqld_stmt_close(THD *thd, char *packet);
void mysql_sql_stmt_prepare(THD *thd);
void mysql_sql_stmt_execute(THD *thd);
@@ -82,6 +83,8 @@ void mysqld_stmt_reset(THD *thd, char *packet);
void mysql_stmt_get_longdata(THD *thd, char *pos, ulong packet_length);
void reinit_stmt_before_use(THD *thd, LEX *lex);
+ulong bulk_parameters_iterations(THD *thd);
+my_bool bulk_parameters_set(THD *thd);
/**
Execute a fragment of server code in an isolated context, so that
it doesn't leave any effect on THD. THD must have no open tables.