mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
After merge fixes
This commit is contained in:
@ -53,6 +53,8 @@ st_plugin_int *hton2plugin[MAX_HA];
|
|||||||
|
|
||||||
static handlerton *installed_htons[128];
|
static handlerton *installed_htons[128];
|
||||||
|
|
||||||
|
#define BITMAP_STACKBUF_SIZE (128/8)
|
||||||
|
|
||||||
KEY_CREATE_INFO default_key_create_info= { HA_KEY_ALG_UNDEF, 0, {NullS,0} };
|
KEY_CREATE_INFO default_key_create_info= { HA_KEY_ALG_UNDEF, 0, {NullS,0} };
|
||||||
|
|
||||||
/* static functions defined in this file */
|
/* static functions defined in this file */
|
||||||
|
@ -1611,14 +1611,11 @@ public:
|
|||||||
List<Item> &select_fields,enum_duplicates duplic, bool ignore)
|
List<Item> &select_fields,enum_duplicates duplic, bool ignore)
|
||||||
:select_insert (NULL, NULL, &select_fields, 0, 0, duplic, ignore),
|
:select_insert (NULL, NULL, &select_fields, 0, 0, duplic, ignore),
|
||||||
create_table(table), extra_fields(&fields_par),keys(&keys_par),
|
create_table(table), extra_fields(&fields_par),keys(&keys_par),
|
||||||
create_info(create_info_par),
|
create_info(create_info_par)
|
||||||
lock(0)
|
|
||||||
{}
|
{}
|
||||||
int prepare(List<Item> &list, SELECT_LEX_UNIT *u);
|
int prepare(List<Item> &list, SELECT_LEX_UNIT *u);
|
||||||
|
|
||||||
#ifdef HAVE_ROW_BASED_REPLICATION
|
|
||||||
void binlog_show_create_table(TABLE **tables, uint count);
|
void binlog_show_create_table(TABLE **tables, uint count);
|
||||||
#endif
|
|
||||||
void store_values(List<Item> &values);
|
void store_values(List<Item> &values);
|
||||||
void send_error(uint errcode,const char *err);
|
void send_error(uint errcode,const char *err);
|
||||||
bool send_eof();
|
bool send_eof();
|
||||||
|
@ -2772,7 +2772,7 @@ select_create::prepare(List<Item> &values, SELECT_LEX_UNIT *u)
|
|||||||
unit= u;
|
unit= u;
|
||||||
if (!(table= create_table_from_items(thd, create_info, create_table,
|
if (!(table= create_table_from_items(thd, create_info, create_table,
|
||||||
extra_fields, keys, &values, &lock,
|
extra_fields, keys, &values, &lock,
|
||||||
&hook_ptr)))
|
hook_ptr)))
|
||||||
DBUG_RETURN(-1); // abort() deletes table
|
DBUG_RETURN(-1); // abort() deletes table
|
||||||
|
|
||||||
if (table->s->fields < values.elements)
|
if (table->s->fields < values.elements)
|
||||||
|
Reference in New Issue
Block a user