summaryrefslogtreecommitdiff
path: root/sql/ha_innodb.h
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2005-09-30 20:20:10 +0200
committerunknown <serg@serg.mylan>2005-09-30 20:20:10 +0200
commit8f842e8fc9f304e4f95d81df3c222bab11ced391 (patch)
treeb141dda4cc321d6df0ee276762ac7bdbfa33b17c /sql/ha_innodb.h
parent60ee93262bb7412c6f592b9b3152fbf3035a2037 (diff)
downloadmariadb-git-8f842e8fc9f304e4f95d81df3c222bab11ced391.tar.gz
Bug#11238
"SELECT ... FOR UPDATE executed as consistent read inside LOCK TABLES" Do not discard lock_type information as handler::start_stmt() may require knowledge. (fixed by Antony)
Diffstat (limited to 'sql/ha_innodb.h')
-rw-r--r--sql/ha_innodb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/ha_innodb.h b/sql/ha_innodb.h
index d3c7af432a0..0c2b6d0f71a 100644
--- a/sql/ha_innodb.h
+++ b/sql/ha_innodb.h
@@ -150,7 +150,7 @@ class ha_innobase: public handler
int extra(enum ha_extra_function operation);
int external_lock(THD *thd, int lock_type);
int transactional_table_lock(THD *thd, int lock_type);
- int start_stmt(THD *thd);
+ int start_stmt(THD *thd, thr_lock_type lock_type);
void position(byte *record);
ha_rows records_in_range(uint inx, key_range *min_key, key_range