1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

SQL: lower priority of warning in vers_part_rotate() for ALTER [fixes #446]

This commit is contained in:
Aleksey Midenkov
2018-01-06 11:56:38 +03:00
parent daf883f95c
commit 912769b7dc
5 changed files with 33 additions and 3 deletions

View File

@@ -648,6 +648,16 @@ struct TABLE_SHARE
LEX_CSTRING normalized_path; /* unpack_filename(path) */
LEX_CSTRING connect_string;
const char* orig_table_name; /* Original table name for this tmp table */
const char* error_table_name() const /* Get table name for error messages */
{
return tmp_table ? (
orig_table_name ?
orig_table_name :
"(temporary)") :
table_name.str;
}
/*
Set of keys in use, implemented as a Bitmap.
Excludes keys disabled by ALTER TABLE ... DISABLE KEYS.