summaryrefslogtreecommitdiff
path: root/sql/handler.h
diff options
context:
space:
mode:
authorunknown <serg@serg.mysql.com>2001-10-09 16:01:06 +0200
committerunknown <serg@serg.mysql.com>2001-10-09 16:01:06 +0200
commita0ed9744f3d12e16e0fa5e784a37f21d7a1d2faf (patch)
treebace3e172eb9211454c99657fb4493bb3159d503 /sql/handler.h
parent93cc6444ccad2ace36ba354cd96ffe8ede676761 (diff)
parent85e02d693c10553fd15c1193865a7e6996545838 (diff)
downloadmariadb-git-a0ed9744f3d12e16e0fa5e784a37f21d7a1d2faf.tar.gz
merged
BitKeeper/etc/ignore: auto-union BitKeeper/deleted/.del-ft_search.c~c011cb6e8041bb59: the file is deleted anyway include/my_global.h: merder myisam/ft_boolean_search.c: huh? mysql-test/r/fulltext.result: use local mysql-test/r/fulltext_cache.result: ur mysql-test/r/fulltext_left_join.result: ur mysql-test/r/fulltext_multi.result: ur mysql-test/r/fulltext_order_by.result: ur
Diffstat (limited to 'sql/handler.h')
-rw-r--r--sql/handler.h16
1 files changed, 11 insertions, 5 deletions
diff --git a/sql/handler.h b/sql/handler.h
index 530c94a8b43..72e4f292871 100644
--- a/sql/handler.h
+++ b/sql/handler.h
@@ -116,15 +116,20 @@ enum db_type { DB_TYPE_UNKNOWN=0,DB_TYPE_DIAB_ISAM=1,
DB_TYPE_BERKELEY_DB, DB_TYPE_INNODB, DB_TYPE_GEMINI,
DB_TYPE_DEFAULT };
-enum row_type { ROW_TYPE_DEFAULT, ROW_TYPE_FIXED, ROW_TYPE_DYNAMIC,
- ROW_TYPE_COMPRESSED };
+enum row_type { ROW_TYPE_NOT_USED=-1, ROW_TYPE_DEFAULT, ROW_TYPE_FIXED,
+ ROW_TYPE_DYNAMIC, ROW_TYPE_COMPRESSED};
/* struct to hold information about the table that should be created */
/* Bits in used_fields */
-#define HA_CREATE_USED_AUTO 1
-#define HA_CREATE_USED_RAID 2
-#define HA_CREATE_USED_UNION 4
+#define HA_CREATE_USED_AUTO 1
+#define HA_CREATE_USED_RAID 2
+#define HA_CREATE_USED_UNION 4
+#define HA_CREATE_USED_INSERT_METHOD 8
+#define HA_CREATE_USED_MIN_ROWS 16
+#define HA_CREATE_USED_MAX_ROWS 32
+#define HA_CREATE_USED_AVG_ROW_LENGTH 64
+#define HA_CREATE_USED_PACK_KEYS 128
typedef struct st_thd_trans {
void *bdb_tid;
@@ -152,6 +157,7 @@ typedef struct st_ha_create_information
bool if_not_exists;
ulong used_fields;
SQL_LIST merge_list;
+ uint merge_insert_method;
} HA_CREATE_INFO;