mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Fix warnings from -DPLUGIN_PARTITION=NO, portably.
Also fix Spider's cmake.
This commit is contained in:
@ -6201,7 +6201,9 @@ bool ha_table_exists(THD *thd, const LEX_CSTRING *db,
|
||||
DBUG_RETURN(TRUE);
|
||||
}
|
||||
|
||||
retry_from_frm: __attribute__((unused));
|
||||
#ifdef WITH_PARTITION_STORAGE_ENGINE
|
||||
retry_from_frm:
|
||||
#endif
|
||||
char path[FN_REFLEN + 1];
|
||||
size_t path_len = build_table_filename(path, sizeof(path) - 1,
|
||||
db->str, table_name->str, "", 0);
|
||||
|
Reference in New Issue
Block a user