summaryrefslogtreecommitdiff
path: root/sql/ha_berkeley.cc
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_berkeley.cc
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_berkeley.cc')
-rw-r--r--sql/ha_berkeley.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/ha_berkeley.cc b/sql/ha_berkeley.cc
index 2f47b03de9d..a4c91c72368 100644
--- a/sql/ha_berkeley.cc
+++ b/sql/ha_berkeley.cc
@@ -1894,7 +1894,7 @@ int ha_berkeley::external_lock(THD *thd, int lock_type)
Under LOCK TABLES, each used tables will force a call to start_stmt.
*/
-int ha_berkeley::start_stmt(THD *thd)
+int ha_berkeley::start_stmt(THD *thd, thr_lock_type lock_type)
{
int error=0;
DBUG_ENTER("ha_berkeley::start_stmt");