summaryrefslogtreecommitdiff
path: root/sql/table.h
diff options
context:
space:
mode:
authorsasha@mysql.sashanet.com <>2001-05-10 15:06:35 -0600
committersasha@mysql.sashanet.com <>2001-05-10 15:06:35 -0600
commit7c9b9f471c86c53f8a55ec4a249499cf2fb6bab3 (patch)
tree32fd0eb2c34334b7806726cf2dc9f8a893ea6fc8 /sql/table.h
parent8e882bcafa9daf15f77718f29ab8cdc344e4ee27 (diff)
parent4e04aa4abd0e540e6ce5cd48f2057ae993ee3336 (diff)
downloadmariadb-git-7c9b9f471c86c53f8a55ec4a249499cf2fb6bab3.tar.gz
Merged with 3.23, needs further fix-up
Diffstat (limited to 'sql/table.h')
-rw-r--r--sql/table.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sql/table.h b/sql/table.h
index a0e037222dc..706c499d852 100644
--- a/sql/table.h
+++ b/sql/table.h
@@ -41,6 +41,8 @@ typedef struct st_grant_info
uint want_privilege;
} GRANT_INFO;
+enum tmp_table_type {NO_TMP_TABLE=0, TMP_TABLE=1, TRANSACTIONAL_TMP_TABLE=2};
+
/* Table cache entry struct */
class Field_timestamp;
@@ -83,10 +85,11 @@ struct st_table {
uint blob_ptr_size; /* 4 or 8 */
uint next_number_key_offset;
int current_lock; /* Type of lock on table */
+ enum tmp_table_type tmp_table;
my_bool copy_blobs; /* copy_blobs when storing */
my_bool null_row; /* All columns are null */
my_bool maybe_null,outer_join; /* Used with OUTER JOIN */
- my_bool distinct,tmp_table,const_table;
+ my_bool distinct,const_table;
my_bool key_read;
my_bool crypted;
my_bool db_low_byte_first; /* Portable row format */