1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

Added support for a LOCK TABLES...WHERE ENGINE = InnoDB query which sets

transactional table locks to tables mentioned in the query. These locks
are released at the end of the transaction automatically.
This is fix for bugs #5655, #5998 and issue #3762.
This commit is contained in:
jan@hundin.mysql.fi
2004-12-09 11:10:45 +02:00
parent 835cf0f1e8
commit d6effde5d0
14 changed files with 248 additions and 20 deletions

View File

@@ -450,6 +450,7 @@ public:
{ return extra(operation); }
virtual int reset() { return extra(HA_EXTRA_RESET); }
virtual int external_lock(THD *thd, int lock_type)=0;
virtual int transactional_table_lock(THD *thd, int lock_type) {return 0;}
virtual void unlock_row() {}
virtual int start_stmt(THD *thd) {return 0;}
/*