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/handler.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/handler.h')
-rw-r--r-- | sql/handler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/handler.h b/sql/handler.h index f4f6a8592bb..c3a61d696f7 100644 --- a/sql/handler.h +++ b/sql/handler.h @@ -647,7 +647,7 @@ public: virtual int reset() { return extra(HA_EXTRA_RESET); } virtual int external_lock(THD *thd, int lock_type) { return 0; } virtual void unlock_row() {} - virtual int start_stmt(THD *thd) {return 0;} + virtual int start_stmt(THD *thd, thr_lock_type lock_type) {return 0;} /* This is called to delete all rows in a table If the handler don't support this, then this function will |