summaryrefslogtreecommitdiff
path: root/sql/mysql_priv.h
diff options
context:
space:
mode:
authorserg@serg.mylan <>2005-02-17 13:52:16 +0100
committerserg@serg.mylan <>2005-02-17 13:52:16 +0100
commit2b41b8fa0187c80c135e346a262b0472cd295889 (patch)
treeb920a7ed5633935af693da76909cc6f626123729 /sql/mysql_priv.h
parente4116bc21ddd4f19211b0110d58b1c988c838846 (diff)
downloadmariadb-git-2b41b8fa0187c80c135e346a262b0472cd295889.tar.gz
post-review fixes. Now ROLLBACK is done in Format_description_log_event
Diffstat (limited to 'sql/mysql_priv.h')
-rw-r--r--sql/mysql_priv.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/sql/mysql_priv.h b/sql/mysql_priv.h
index 2442f68503f..418f2154123 100644
--- a/sql/mysql_priv.h
+++ b/sql/mysql_priv.h
@@ -456,6 +456,14 @@ bool delete_precheck(THD *thd, TABLE_LIST *tables);
bool insert_precheck(THD *thd, TABLE_LIST *tables);
bool create_table_precheck(THD *thd, TABLE_LIST *tables,
TABLE_LIST *create_table);
+
+enum enum_mysql_completiontype {
+ ROLLBACK_RELEASE=-2, ROLLBACK=1, ROLLBACK_AND_CHAIN=7,
+ COMMIT_RELEASE=-1, COMMIT=0, COMMIT_AND_CHAIN=6
+};
+
+int end_trans(THD *thd, enum enum_mysql_completiontype completion);
+
Item *negate_expression(THD *thd, Item *expr);
#include "sql_class.h"
#include "sql_acl.h"