mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Fixed typo
This commit is contained in:
@ -2857,12 +2857,12 @@ void store_constraints(TABLE *table, const char*db, const char *tname,
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static int get_schema_constarints_record(THD *thd, struct st_table_list *tables,
|
static int get_schema_constraints_record(THD *thd, struct st_table_list *tables,
|
||||||
TABLE *table, bool res,
|
TABLE *table, bool res,
|
||||||
const char *base_name,
|
const char *base_name,
|
||||||
const char *file_name)
|
const char *file_name)
|
||||||
{
|
{
|
||||||
DBUG_ENTER("get_schema_constarints_record");
|
DBUG_ENTER("get_schema_constraints_record");
|
||||||
if (!res && !tables->view)
|
if (!res && !tables->view)
|
||||||
{
|
{
|
||||||
List<FOREIGN_KEY_INFO> f_key_list;
|
List<FOREIGN_KEY_INFO> f_key_list;
|
||||||
@ -3647,7 +3647,7 @@ ST_SCHEMA_TABLE schema_tables[]=
|
|||||||
{"COLUMN_PRIVILEGES", column_privileges_fields_info, create_schema_table,
|
{"COLUMN_PRIVILEGES", column_privileges_fields_info, create_schema_table,
|
||||||
fill_schema_column_privileges, 0, 0, -1, -1},
|
fill_schema_column_privileges, 0, 0, -1, -1},
|
||||||
{"TABLE_CONSTRAINTS", table_constraints_fields_info, create_schema_table,
|
{"TABLE_CONSTRAINTS", table_constraints_fields_info, create_schema_table,
|
||||||
get_all_tables, 0, get_schema_constarints_record, 3, 4},
|
get_all_tables, 0, get_schema_constraints_record, 3, 4},
|
||||||
{"KEY_COLUMN_USAGE", key_column_usage_fields_info, create_schema_table,
|
{"KEY_COLUMN_USAGE", key_column_usage_fields_info, create_schema_table,
|
||||||
get_all_tables, 0, get_schema_key_column_usage_record, 4, 5},
|
get_all_tables, 0, get_schema_key_column_usage_record, 4, 5},
|
||||||
{"TABLE_NAMES", table_names_fields_info, create_schema_table,
|
{"TABLE_NAMES", table_names_fields_info, create_schema_table,
|
||||||
|
Reference in New Issue
Block a user