summaryrefslogtreecommitdiff
path: root/sql/handler.h
diff options
context:
space:
mode:
authorunknown <mskold/marty@mysql.com/linux.site>2006-12-19 23:20:43 +0100
committerunknown <mskold/marty@mysql.com/linux.site>2006-12-19 23:20:43 +0100
commitd0d7cc86faa9393b88b11dd47c143012a8288743 (patch)
tree7cd5e738b8657950fb204afe008cec0c0111c484 /sql/handler.h
parent1e10672496fbce277cab2f38a98476e6c25ee2f5 (diff)
downloadmariadb-git-d0d7cc86faa9393b88b11dd47c143012a8288743.tar.gz
bug#24667 After ALTER TABLE operation ndb_dd table becomes regular ndb: ALTER TABLE must specify STORAGE explicitely to change it, + post review changes
Diffstat (limited to 'sql/handler.h')
-rw-r--r--sql/handler.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/handler.h b/sql/handler.h
index b9411ba108a..1bd87ac2afa 100644
--- a/sql/handler.h
+++ b/sql/handler.h
@@ -764,7 +764,7 @@ typedef struct st_ha_create_information
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 */
- bool store_on_disk; /* 1 if table stored on disk */
+ enum ha_storage_media storage_media; /* DEFAULT, DISK or MEMORY */
} HA_CREATE_INFO;
@@ -1410,7 +1410,7 @@ public:
{ return FALSE; }
virtual char* get_foreign_key_create_info()
{ return(NULL);} /* gets foreign key create string from InnoDB */
- virtual char* get_tablespace_name(THD *thd, char *name)
+ virtual char* get_tablespace_name(THD *thd, char *name, uint name_len)
{ return(NULL);} /* gets tablespace name from handler */
/* used in ALTER TABLE; 1 if changing storage engine is allowed */
virtual bool can_switch_engines() { return 1; }