summaryrefslogtreecommitdiff
path: root/sql/handler.h
diff options
context:
space:
mode:
authormonty@hundin.mysql.fi <>2001-08-21 20:06:00 +0300
committermonty@hundin.mysql.fi <>2001-08-21 20:06:00 +0300
commit063a1a6557ad2c501f4da9a47e633fb191ee2e00 (patch)
treecc0b5646a48d97a66571d12ba2d4c29f6c1059e5 /sql/handler.h
parent301af97d4a1e09ce7da0d8ee63c13210a786891d (diff)
downloadmariadb-git-063a1a6557ad2c501f4da9a47e633fb191ee2e00.tar.gz
Portability fixes.
Patches required by Gemini Fix to properly detect if there is an active transaction in InnoDB Fix to not lock thread structure when doing automatic rollback when thread ends Allow -O lower_case_names=0 on UNIX
Diffstat (limited to 'sql/handler.h')
-rw-r--r--sql/handler.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/handler.h b/sql/handler.h
index 7a28dc07a81..ef78f0af39b 100644
--- a/sql/handler.h
+++ b/sql/handler.h
@@ -128,6 +128,7 @@ typedef struct st_thd_trans {
void *bdb_tid;
void *innobase_tid;
void *gemini_tid;
+ bool innodb_active_trans;
} THD_TRANS;
enum enum_tx_isolation { ISO_READ_UNCOMMITTED, ISO_READ_COMMITTED,
@@ -267,6 +268,7 @@ public:
virtual int extra(enum ha_extra_function operation)=0;
virtual int reset()=0;
virtual int external_lock(THD *thd, int lock_type)=0;
+ virtual void unlock_row() {}
virtual int start_stmt(THD *thd) {return 0;}
virtual int delete_all_rows();
virtual longlong get_auto_increment();