summaryrefslogtreecommitdiff
path: root/sql/table.h
diff options
context:
space:
mode:
authorunknown <ingo@mysql.com>2006-04-05 11:38:16 +0200
committerunknown <ingo@mysql.com>2006-04-05 11:38:16 +0200
commit6fa55915446db036a03aa90301fb26f96af0ff2b (patch)
tree6aa41560f15058258f74bd13016e48da6abc2b36 /sql/table.h
parent0a2cd4bb9f14c0e49b536063e304d9c9934f48a9 (diff)
parent10876da86467fc891e05bec9a1b6fdfd186a80ba (diff)
downloadmariadb-git-6fa55915446db036a03aa90301fb26f96af0ff2b.tar.gz
Merge mysql.com:/home/mydev/mysql-5.0
into mysql.com:/home/mydev/mysql-5.0-bug5390 sql/table.h: Auto merged
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.