summaryrefslogtreecommitdiff
path: root/sql/sql_parse.h
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2016-01-05 20:44:45 +0100
committerOleksandr Byelkin <sanja@mariadb.com>2016-03-18 17:25:29 +0100
commitfd1b7d0f59d720c92135036e288f0a4fd8c5a54d (patch)
tree6ee2c4188a7c38503e088dbb563d54dc6f6327c9 /sql/sql_parse.h
parente5377457d80ddd7ffe7c358c88b7e9985d45b972 (diff)
downloadmariadb-git-fd1b7d0f59d720c92135036e288f0a4fd8c5a54d.tar.gz
MDEV-9058: protocol: COM_MULTI command (part 2)
simple COM_MULTI support (no prepared statements chain yet).
Diffstat (limited to 'sql/sql_parse.h')
-rw-r--r--sql/sql_parse.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sql/sql_parse.h b/sql/sql_parse.h
index 6cb49f267d2..53a9ed3b24c 100644
--- a/sql/sql_parse.h
+++ b/sql/sql_parse.h
@@ -35,6 +35,7 @@ enum enum_mysql_completiontype {
extern "C" int test_if_data_home_dir(const char *dir);
int error_if_data_home_dir(const char *path, const char *what);
+my_bool net_allocate_new_packet(NET *net, void *thd, uint my_flags);
bool multi_update_precheck(THD *thd, TABLE_LIST *tables);
bool multi_delete_precheck(THD *thd, TABLE_LIST *tables);
@@ -87,7 +88,7 @@ bool is_log_table_write_query(enum enum_sql_command command);
bool alloc_query(THD *thd, const char *packet, uint packet_length);
void mysql_init_select(LEX *lex);
void mysql_parse(THD *thd, char *rawbuf, uint length,
- Parser_state *parser_state);
+ Parser_state *parser_state, bool is_com_multi);
bool mysql_new_select(LEX *lex, bool move_down);
void create_select_for_variable(const char *var_name);
void create_table_set_open_action_and_adjust_tables(LEX *lex);
@@ -99,7 +100,8 @@ int mysql_execute_command(THD *thd);
bool do_command(THD *thd);
void do_handle_bootstrap(THD *thd);
bool dispatch_command(enum enum_server_command command, THD *thd,
- char* packet, uint packet_length);
+ char* packet, uint packet_length,
+ bool is_com_multi, bool is_next_command);
void log_slow_statement(THD *thd);
bool append_file_to_dir(THD *thd, const char **filename_ptr,
const char *table_name);