diff options
author | Guilhem Bichot <guilhem@mysql.com> | 2009-07-29 10:54:20 +0200 |
---|---|---|
committer | Guilhem Bichot <guilhem@mysql.com> | 2009-07-29 10:54:20 +0200 |
commit | b1073fb7a75f3647e818153d0d4caff47ea56fc3 (patch) | |
tree | 11695ad26b01f87834d8b8b7c8dece060209048c /sql/handler.h | |
parent | 9fc2f2e3220b8be00967f6725479d106266c16bb (diff) | |
download | mariadb-git-b1073fb7a75f3647e818153d0d4caff47ea56fc3.tar.gz |
Bug#45829 "CREATE TABLE TRANSACTIONAL PAGE_CHECKSUM ROW_FORMAT=PAGE accepted, does nothing":
those keywords do nothing in 5.1 (they are meant for future versions, for example featuring the Maria engine)
so they are here removed from the syntax. Adding those keywords to future versions when needed is:
- WL#5034 "Add TRANSACTIONA=0|1 and PAGE_CHECKSUM=0|1 clauses to CREATE TABLE"
- WL#5037 "New ROW_FORMAT value for CREATE TABLE: PAGE"
Diffstat (limited to 'sql/handler.h')
-rw-r--r-- | sql/handler.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/sql/handler.h b/sql/handler.h index 5c7cfa4d58b..01f673ecd51 100644 --- a/sql/handler.h +++ b/sql/handler.h @@ -280,7 +280,9 @@ enum legacy_db_type enum row_type { ROW_TYPE_NOT_USED=-1, ROW_TYPE_DEFAULT, ROW_TYPE_FIXED, ROW_TYPE_DYNAMIC, ROW_TYPE_COMPRESSED, - ROW_TYPE_REDUNDANT, ROW_TYPE_COMPACT, ROW_TYPE_PAGE }; + ROW_TYPE_REDUNDANT, ROW_TYPE_COMPACT, + /** Unused. Reserved for future versions. */ + ROW_TYPE_PAGE }; enum enum_binlog_func { BFN_RESET_LOGS= 1, @@ -323,7 +325,9 @@ enum enum_binlog_command { #define HA_CREATE_USED_PASSWORD (1L << 17) #define HA_CREATE_USED_CONNECTION (1L << 18) #define HA_CREATE_USED_KEY_BLOCK_SIZE (1L << 19) +/** Unused. Reserved for future versions. */ #define HA_CREATE_USED_TRANSACTIONAL (1L << 20) +/** Unused. Reserved for future versions. */ #define HA_CREATE_USED_PAGE_CHECKSUM (1L << 21) typedef ulonglong my_xid; // this line is the same as in log_event.h @@ -914,13 +918,14 @@ typedef struct st_ha_create_information uint options; /* OR of HA_CREATE_ options */ uint merge_insert_method; uint extra_size; /* length of extra data segment */ - /* 0 not used, 1 if not transactional, 2 if transactional */ + /** Transactional or not. Unused; reserved for future versions. */ enum ha_choice transactional; bool table_existed; /* 1 in create if table existed */ bool frm_only; /* 1 if no ha_create_table() */ bool varchar; /* 1 if table has a VARCHAR */ enum ha_storage_media storage_media; /* DEFAULT, DISK or MEMORY */ - enum ha_choice page_checksum; /* If we have page_checksums */ + /** Per-page checksums or not. Unused; reserved for future versions. */ + enum ha_choice page_checksum; } HA_CREATE_INFO; |