summaryrefslogtreecommitdiff
path: root/sql/handler.h
diff options
context:
space:
mode:
authorKonstantin Osipov <kostja@sun.com>2009-08-12 14:57:41 +0400
committerKonstantin Osipov <kostja@sun.com>2009-08-12 14:57:41 +0400
commit1402275a53db6fc931739de46f88121924de1e02 (patch)
tree6f6c6ffffd4d0c18ca033b486ead471251313966 /sql/handler.h
parent7b8d509b2d189cc1574d07291d02941ef7e24a59 (diff)
downloadmariadb-git-1402275a53db6fc931739de46f88121924de1e02.tar.gz
A follow up patch for Bug#45829 "CREATE TABLE TRANSACTIONAL
PAGE_CHECKSUM ROW_FORMAT=PAGE accepted, does nothing" Remove unused code that would lead to warnings when compiling sql_yacc.yy. sql/handler.h: Remove unused defines. sql/sql_yacc.yy: Remove unused grammar. sql/table.h: Remove unused TABLE members.
Diffstat (limited to 'sql/handler.h')
-rw-r--r--sql/handler.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/sql/handler.h b/sql/handler.h
index 01f673ecd51..726926bcb46 100644
--- a/sql/handler.h
+++ b/sql/handler.h
@@ -895,8 +895,6 @@ class partition_info;
struct st_partition_iter;
#define NOT_A_PARTITION_ID ((uint32)-1)
-enum ha_choice { HA_CHOICE_UNDEF, HA_CHOICE_NO, HA_CHOICE_YES };
-
typedef struct st_ha_create_information
{
CHARSET_INFO *table_charset, *default_table_charset;
@@ -918,14 +916,10 @@ 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 */
- /** 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 */
- /** Per-page checksums or not. Unused; reserved for future versions. */
- enum ha_choice page_checksum;
} HA_CREATE_INFO;