summaryrefslogtreecommitdiff
path: root/innobase/row
diff options
context:
space:
mode:
authorunknown <heikki@hundin.mysql.fi>2002-11-19 16:54:52 +0200
committerunknown <heikki@hundin.mysql.fi>2002-11-19 16:54:52 +0200
commit0fb06a68cedeefd92ac49907e52fb47047ccc9c0 (patch)
tree5fa68569e664d5deaa2869415fd7856515ebeb36 /innobase/row
parent7bc917e9e12c4be30628a09a56f75c6e0a669802 (diff)
downloadmariadb-git-0fb06a68cedeefd92ac49907e52fb47047ccc9c0.tar.gz
row0mysql.c, row0mysql.h:
Backport of bug fix in 4.0: do not x-lock rows under LOCK TABLES READ unless the table is a temp table innobase/include/row0mysql.h: Backport of bug fix in 4.0: do not x-lock rows under LOCK TABLES READ unless the table is a temp table innobase/row/row0mysql.c: Backport of bug fix in 4.0: do not x-lock rows under LOCK TABLES READ unless the table is a temp table
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 ebb3cbe8dc8..705ded785fc 100644
--- a/innobase/row/row0mysql.c
+++ b/innobase/row/row0mysql.c
@@ -320,6 +320,7 @@ row_create_prebuilt(
prebuilt->trx = NULL;
prebuilt->sql_stat_start = TRUE;
+ prebuilt->mysql_has_locked = FALSE;
prebuilt->index = NULL;
prebuilt->n_template = 0;