diff options
author | serg@serg.mylan <> | 2005-09-30 20:20:10 +0200 |
---|---|---|
committer | serg@serg.mylan <> | 2005-09-30 20:20:10 +0200 |
commit | bef3c587c6c7b20dda58e470a307daf2cf0121e0 (patch) | |
tree | b141dda4cc321d6df0ee276762ac7bdbfa33b17c /sql/ha_berkeley.h | |
parent | fff2737b0eeee8ab5994f07c0a55fa185621a53a (diff) | |
download | mariadb-git-bef3c587c6c7b20dda58e470a307daf2cf0121e0.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_berkeley.h')
-rw-r--r-- | sql/ha_berkeley.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/ha_berkeley.h b/sql/ha_berkeley.h index 282641e3f25..f291fd7a668 100644 --- a/sql/ha_berkeley.h +++ b/sql/ha_berkeley.h @@ -124,7 +124,7 @@ class ha_berkeley: public handler int extra(enum ha_extra_function operation); int reset(void); int external_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); int analyze(THD* thd,HA_CHECK_OPT* check_opt); int optimize(THD* thd, HA_CHECK_OPT* check_opt); |