summaryrefslogtreecommitdiff
path: root/sql/sql_show.cc
diff options
context:
space:
mode:
authorunknown <gluh@gluh.mysql.r18.ru>2003-12-08 09:13:14 +0400
committerunknown <gluh@gluh.mysql.r18.ru>2003-12-08 09:13:14 +0400
commita0e4a6de568f11f437ed8509f8f748923332c716 (patch)
tree82e7ae89766b6885580f2d2d78eef741dda68fe4 /sql/sql_show.cc
parent573227ec7360d41da5d0df71fc1a65768c92aea2 (diff)
downloadmariadb-git-a0e4a6de568f11f437ed8509f8f748923332c716.tar.gz
Task ID 499:Add a new settable string variable(init_connect, init_slave)
to mysqld that is executed for all new connections. (Similar to the client command: mysql_options(... MYSQL_INIT_COMMAND ...). sql/mysql_priv.h: Task ID 499:Add a new settable string variable(init_connect, init_slave) to mysqld that is executed for all new connections. sql/mysqld.cc: Task ID 499:Add a new settable string variable(init_connect, init_slave) to mysqld that is executed for all new connections. sql/protocol.cc: Task ID 499:Add a new settable string variable(init_connect, init_slave) to mysqld that is executed for all new connections. sql/set_var.cc: Task ID 499:Add a new settable string variable(init_connect, init_slave) to mysqld that is executed for all new connections. sql/slave.cc: Task ID 499:Add a new settable string variable(init_connect, init_slave) to mysqld that is executed for all new connections. sql/sql_class.cc: Task ID 499:Add a new settable string variable(init_connect, init_slave) to mysqld that is executed for all new connections. sql/sql_class.h: Task ID 499:Add a new settable string variable(init_connect, init_slave) to mysqld that is executed for all new connections. sql/sql_parse.cc: Task ID 499:Add a new settable string variable(init_connect, init_slave) to mysqld that is executed for all new connections. sql/sql_show.cc: Task ID 499:Add a new settable string variable(init_connect, init_slave) to mysqld that is executed for all new connections.
Diffstat (limited to 'sql/sql_show.cc')
-rw-r--r--sql/sql_show.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/sql/sql_show.cc b/sql/sql_show.cc
index 42c89db9ca4..c80393715f6 100644
--- a/sql/sql_show.cc
+++ b/sql/sql_show.cc
@@ -1618,10 +1618,10 @@ int mysqld_show(THD *thd, const char *wild, show_var_st *variables,
break;
case SHOW_CHAR_PTR:
{
- if (!(pos= *(char**) value))
- pos= "";
- end= strend(pos);
- break;
+ if (!(pos= *(char**) value))
+ pos= "";
+ end= strend(pos);
+ break;
}
#ifdef HAVE_OPENSSL
/* First group - functions relying on CTX */