1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

sys_var_str.value is never NULL

This commit is contained in:
serg@serg.mylan
2004-03-20 15:56:20 +01:00
parent 10a4ed0e00
commit d1f1bbefab
2 changed files with 2 additions and 2 deletions

View File

@ -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)