summaryrefslogtreecommitdiff
path: root/sql-common
diff options
context:
space:
mode:
authorunknown <monty@mysql.com>2004-10-26 19:59:33 +0300
committerunknown <monty@mysql.com>2004-10-26 19:59:33 +0300
commit78ad0938d8b4854537fa9ca4a578b4a1baed6db2 (patch)
tree4870167879f28785124479bc0442d4bd5db1beec /sql-common
parente160646eb01eb8c5b382b1523114988679f9d357 (diff)
downloadmariadb-git-78ad0938d8b4854537fa9ca4a578b4a1baed6db2.tar.gz
Added missing initialier
Diffstat (limited to 'sql-common')
-rw-r--r--sql-common/client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql-common/client.c b/sql-common/client.c
index 7bf9c90254d..b847c467b85 100644
--- a/sql-common/client.c
+++ b/sql-common/client.c
@@ -877,12 +877,12 @@ static const char *default_options[]=
};
static TYPELIB option_types={array_elements(default_options)-1,
- "options",default_options};
+ "options",default_options, NULL};
const char *sql_protocol_names_lib[] =
{ "TCP", "SOCKET", "PIPE", "MEMORY", NullS };
TYPELIB sql_protocol_typelib = {array_elements(sql_protocol_names_lib)-1,"",
- sql_protocol_names_lib};
+ sql_protocol_names_lib, NULL};
static int add_init_command(struct st_mysql_options *options, const char *cmd)
{