summaryrefslogtreecommitdiff
path: root/sql/transaction.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/transaction.h')
-rw-r--r--sql/transaction.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/sql/transaction.h b/sql/transaction.h
index a612b782922..56cc6f8f011 100644
--- a/sql/transaction.h
+++ b/sql/transaction.h
@@ -20,7 +20,6 @@
#pragma interface /* gcc class implementation */
#endif
-#include <my_global.h>
#include <m_string.h>
class THD;
@@ -34,9 +33,9 @@ bool trans_rollback_implicit(THD *thd);
bool trans_commit_stmt(THD *thd);
bool trans_rollback_stmt(THD *thd);
-bool trans_savepoint(THD *thd, LEX_STRING name);
-bool trans_rollback_to_savepoint(THD *thd, LEX_STRING name);
-bool trans_release_savepoint(THD *thd, LEX_STRING name);
+bool trans_savepoint(THD *thd, LEX_CSTRING name);
+bool trans_rollback_to_savepoint(THD *thd, LEX_CSTRING name);
+bool trans_release_savepoint(THD *thd, LEX_CSTRING name);
bool trans_xa_start(THD *thd);
bool trans_xa_end(THD *thd);