mirror of
https://github.com/MariaDB/server.git
synced 2026-05-09 08:34:28 +02:00
Fix -Wunused for CMAKE_BUILD_TYPE=RelWithDebInfo
For release builds, do not declare unused variables. unpack_row(): Omit a debug-only variable from WSREP diagnostic message. create_wsrep_THD(): Fix -Wmaybe-uninitialized for the PSI_thread_key.
This commit is contained in:
parent
bc70862e13
commit
46b785262b
8 changed files with 23 additions and 39 deletions
|
|
@ -60,7 +60,7 @@ bool Sql_cmd_alter_table_exchange_partition::execute(THD *thd)
|
|||
referenced from this structure will be modified.
|
||||
@todo move these into constructor...
|
||||
*/
|
||||
HA_CREATE_INFO create_info(lex->create_info);
|
||||
IF_DBUG(HA_CREATE_INFO create_info(lex->create_info);,)
|
||||
Alter_info alter_info(lex->alter_info, thd->mem_root);
|
||||
ulong priv_needed= ALTER_ACL | DROP_ACL | INSERT_ACL | CREATE_ACL;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue