diff options
author | monty@mysql.com <> | 2003-12-19 16:34:48 +0200 |
---|---|---|
committer | monty@mysql.com <> | 2003-12-19 16:34:48 +0200 |
commit | eeff10e4c17c3342f5ee8cbbe70203dfbd984678 (patch) | |
tree | 05b144ca850fc0bb99c1922907bfb2e9ba19fc77 /sql-common | |
parent | c10b25968e34401b91a0031177e01fdba46e2ecc (diff) | |
parent | 031390a9a4904924c21929314dcd42886c84c175 (diff) | |
download | mariadb-git-eeff10e4c17c3342f5ee8cbbe70203dfbd984678.tar.gz |
merge
Diffstat (limited to 'sql-common')
-rw-r--r-- | sql-common/client.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql-common/client.c b/sql-common/client.c index 73e90d08b51..14b45942e15 100644 --- a/sql-common/client.c +++ b/sql-common/client.c @@ -967,7 +967,8 @@ void mysql_read_default_options(struct st_mysql_options *options, #endif break; case 27: - options->max_allowed_packet= atoi(opt_arg); + if (opt_arg) + options->max_allowed_packet= atoi(opt_arg); break; case 28: /* protocol */ if ((options->protocol = find_type(opt_arg, |