mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
sys_var_str.value is never NULL
This commit is contained in:
parent
b399754780
commit
1f08d0b4bd
2 changed files with 2 additions and 2 deletions
|
@ -3188,7 +3188,7 @@ log '%s' at position %s, relay log '%s' position: %s", RPL_LOG_NAME,
|
|||
llstr(rli->group_relay_log_pos,llbuff1));
|
||||
|
||||
/* execute init_slave variable */
|
||||
if (sys_init_slave.value)
|
||||
if (sys_init_slave.value_length)
|
||||
{
|
||||
execute_init_command(thd, &sys_init_slave, &LOCK_sys_init_slave);
|
||||
if (thd->query_error)
|
||||
|
|
|
@ -1000,7 +1000,7 @@ pthread_handler_decl(handle_one_connection,arg)
|
|||
net->compress=1; // Use compression
|
||||
|
||||
thd->version= refresh_version;
|
||||
if (sys_init_connect.value && !(thd->master_access & SUPER_ACL))
|
||||
if (sys_init_connect.value_length && !(thd->master_access & SUPER_ACL))
|
||||
{
|
||||
execute_init_command(thd, &sys_init_connect, &LOCK_sys_init_connect);
|
||||
if (thd->query_error)
|
||||
|
|
Loading…
Add table
Reference in a new issue