summaryrefslogtreecommitdiff
path: root/sql/sql_parse.h
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2018-05-06 22:46:56 +0200
committerSergei Golubchik <serg@mariadb.org>2018-05-08 10:48:13 +0200
commit34045af03f25fc2edd7c0c8db054e505f271513c (patch)
tree25f14d17460cf65238657b1e87afe4fec5fd4d90 /sql/sql_parse.h
parent087ea8f820f46e200a2f8f84328c078555dda45f (diff)
downloadmariadb-git-34045af03f25fc2edd7c0c8db054e505f271513c.tar.gz
MDEV-15216 Assertion `! is_set() || m_can_overwrite_status' failed in Diagnostics_area::set_error_status upon operation inside XA
don't implicitly commit or rollback in mysql_admin_table() unless the statement has CF_IMPLICIT_COMMIT_END flag.
Diffstat (limited to 'sql/sql_parse.h')
-rw-r--r--sql/sql_parse.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_parse.h b/sql/sql_parse.h
index fa414911093..39d92e656c8 100644
--- a/sql/sql_parse.h
+++ b/sql/sql_parse.h
@@ -84,6 +84,7 @@ bool check_identifier_name(LEX_STRING *str, uint max_char_length,
uint err_code, const char *param_for_err_msg);
bool mysql_test_parse_for_slave(THD *thd,char *inBuf,uint length);
bool sqlcom_can_generate_row_events(const THD *thd);
+bool stmt_causes_implicit_commit(THD *thd, uint mask);
bool is_update_query(enum enum_sql_command command);
bool is_log_table_write_query(enum enum_sql_command command);
bool alloc_query(THD *thd, const char *packet, uint packet_length);