summaryrefslogtreecommitdiff
path: root/innobase/include/row0mysql.h
diff options
context:
space:
mode:
authorunknown <heikki@hundin.mysql.fi>2004-09-13 19:05:39 +0300
committerunknown <heikki@hundin.mysql.fi>2004-09-13 19:05:39 +0300
commitfb91884f33cb66f6834e6e16c7a3f7c850f9f766 (patch)
treea84791e02c68b20607c6b157167b19fe0328b37c /innobase/include/row0mysql.h
parentc1e84276868d04c165bca8b7a5fd36fe7ff4aed5 (diff)
downloadmariadb-git-fb91884f33cb66f6834e6e16c7a3f7c850f9f766.tar.gz
row0mysql.h:
Improve the comment on stored_select_lock_type ha_innodb.cc: Let InnoDB remember select_lock_type inside LOCK TABLES, also over plain consistent read SELECTs; fix Bug #5538 : assertion failure when using mysqldump with the -l option; in MERGING this patch to 4.1, there may be PROBLEMS; that is because previous patch was never merged to 4.1; Heikki Tuuri has to polish the code in 4.1 after this patch has been merged. sql/ha_innodb.cc: Let InnoDB remember select_lock_type inside LOCK TABLES, also over plain consistent read SELECTs; fix Bug #5538 : assertion failure when using mysqldump with the -l option; in MERGING this patch to 4.1, there may be PROBLEMS; that is because previous patch was never merged to 4.1; Heikki Tuuri has to polish the code in 4.1 after this patch has been merged. innobase/include/row0mysql.h: Improve the comment on stored_select_lock_type
Diffstat (limited to 'innobase/include/row0mysql.h')
-rw-r--r--innobase/include/row0mysql.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/innobase/include/row0mysql.h b/innobase/include/row0mysql.h
index 0ab70db2dea..bbd90434f39 100644
--- a/innobase/include/row0mysql.h
+++ b/innobase/include/row0mysql.h
@@ -508,9 +508,11 @@ struct row_prebuilt_struct {
dtuple_t* clust_ref; /* prebuilt dtuple used in
sel/upd/del */
ulint select_lock_type;/* LOCK_NONE, LOCK_S, or LOCK_X */
- ulint stored_select_lock_type;/* inside LOCK TABLES, either
- LOCK_S or LOCK_X depending on the lock
- type */
+ ulint stored_select_lock_type;/* this field is used to
+ remember the original select_lock_type
+ that was decided in ha_innodb.cc,
+ ::store_lock(), ::external_lock(),
+ etc. */
ulint mysql_row_len; /* length in bytes of a row in the
MySQL format */
ulint n_rows_fetched; /* number of rows fetched after