summaryrefslogtreecommitdiff
path: root/sql/table.h
diff options
context:
space:
mode:
authoringo@mysql.com <>2006-04-05 11:38:16 +0200
committeringo@mysql.com <>2006-04-05 11:38:16 +0200
commitac52c977aa91679c490c09ad4b9f512b70ad68e3 (patch)
tree6aa41560f15058258f74bd13016e48da6abc2b36 /sql/table.h
parent562386b9a9e837b8b2d77ba86187854d37012a17 (diff)
parent692add617f97855a9136f1d1f28c25b96635c2e9 (diff)
downloadmariadb-git-ac52c977aa91679c490c09ad4b9f512b70ad68e3.tar.gz
Merge mysql.com:/home/mydev/mysql-5.0
into mysql.com:/home/mydev/mysql-5.0-bug5390
Diffstat (limited to 'sql/table.h')
-rw-r--r--sql/table.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/sql/table.h b/sql/table.h
index 9d6e4764de3..ce44f797280 100644
--- a/sql/table.h
+++ b/sql/table.h
@@ -236,7 +236,10 @@ struct st_table {
*/
timestamp_auto_set_type timestamp_field_type;
table_map map; /* ID bit of table (1,2,4,8,16...) */
-
+
+ uint lock_position; /* Position in MYSQL_LOCK.table */
+ uint lock_data_start; /* Start pos. in MYSQL_LOCK.locks */
+ uint lock_count; /* Number of locks */
uint tablenr,used_fields;
uint temp_pool_slot; /* Used by intern temp tables */
uint status; /* What's in record[0] */
@@ -245,8 +248,8 @@ struct st_table {
uint derived_select_number;
int current_lock; /* Type of lock on table */
my_bool copy_blobs; /* copy_blobs when storing */
-
- /*
+
+ /*
0 or JOIN_TYPE_{LEFT|RIGHT}. Currently this is only compared to 0.
If maybe_null !=0, this table is inner w.r.t. some outer join operation,
and null_row may be true.