mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Adding an Olivier's changeset:
pre_create function and one is now able to create table without giving the column specifications for tables of types: DBF, ODBC, MYSQL, CSV, and WMI (on Windows) modified: sql/handler.h sql/sql_table.cc storage/connect/ha_connect.cc storage/connect/ha_connect.h storage/connect/mycat.cc storage/connect/odbconn.cpp storage/connect/plgcnx.h storage/connect/tabfmt.cpp storage/connect/tabmysql.cpp storage/connect/tabwmi.cpp
This commit is contained in:
@ -1930,7 +1930,11 @@ public:
|
||||
cached_table_flags= table_flags();
|
||||
}
|
||||
/* ha_ methods: pubilc wrappers for private virtual API */
|
||||
|
||||
|
||||
/* Added by O. Bertrand */
|
||||
virtual bool pre_create(THD *thd, void *crt_info, void *alt_info)
|
||||
{return true;}
|
||||
|
||||
int ha_open(TABLE *table, const char *name, int mode, uint test_if_locked);
|
||||
int ha_index_init(uint idx, bool sorted)
|
||||
{
|
||||
|
Reference in New Issue
Block a user