summaryrefslogtreecommitdiff
path: root/innobase/row
diff options
context:
space:
mode:
authorunknown <heikki@hundin.mysql.fi>2004-06-01 19:19:48 +0300
committerunknown <heikki@hundin.mysql.fi>2004-06-01 19:19:48 +0300
commit3db332ca6b1c65d32c4f70b479dee73d5f3bb7bd (patch)
treeba225759251ec507a2d569e09548a1429c3f77dc /innobase/row
parent80c662479beae3c64ab96faff379b40565fc856a (diff)
downloadmariadb-git-3db332ca6b1c65d32c4f70b479dee73d5f3bb7bd.tar.gz
row0mysql.c, row0mysql.h, ha_innodb.cc:
Inside LOCK TABLES, use either LOCK_S or LOCK_X in locking reads; an improvent over the previous patch sql/ha_innodb.cc: Inside LOCK TABLES, use either LOCK_S or LOCK_X in locking reads; an improvent over the previous patch innobase/include/row0mysql.h: Inside LOCK TABLES, use either LOCK_S or LOCK_X in locking reads; an improvent over the previous patch innobase/row/row0mysql.c: Inside LOCK TABLES, use either LOCK_S or LOCK_X in locking reads; an improvent over the previous patch
Diffstat (limited to 'innobase/row')
-rw-r--r--innobase/row/row0mysql.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/innobase/row/row0mysql.c b/innobase/row/row0mysql.c
index 228f19c865f..4bbe901532c 100644
--- a/innobase/row/row0mysql.c
+++ b/innobase/row/row0mysql.c
@@ -380,6 +380,7 @@ row_create_prebuilt(
prebuilt->clust_pcur = btr_pcur_create_for_mysql();
prebuilt->select_lock_type = LOCK_NONE;
+ prebuilt->stored_select_lock_type = 99999999;
prebuilt->sel_graph = NULL;