mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Bug#35427 INFORMATION_SCHEMA.TABLES.TABLE_CATALOG is NULL, should be "def"
backport to betony
This commit is contained in:
@ -6334,6 +6334,7 @@ static bool update_schema_privilege(THD *thd, TABLE *table, char *buff,
|
||||
CHARSET_INFO *cs= system_charset_info;
|
||||
restore_record(table, s->default_values);
|
||||
table->field[0]->store(buff, (uint) strlen(buff), cs);
|
||||
table->field[1]->store(STRING_WITH_LEN("def"), cs);
|
||||
if (db)
|
||||
table->field[i++]->store(db, (uint) strlen(db), cs);
|
||||
if (t_name)
|
||||
|
Reference in New Issue
Block a user