diff options
author | malff@lambda.hsd1.co.comcast.net. <> | 2007-10-09 18:12:13 -0600 |
---|---|---|
committer | malff@lambda.hsd1.co.comcast.net. <> | 2007-10-09 18:12:13 -0600 |
commit | 190bb6bf4c812ca053524565ef2f2cceeedef05d (patch) | |
tree | 5b8b5ea6b02c1e594fde752cd8cd7033812b4d6b /libmysqld | |
parent | efdd32ced307daf8595a6e721fdb715e296140b8 (diff) | |
download | mariadb-git-190bb6bf4c812ca053524565ef2f2cceeedef05d.tar.gz |
Fixed packet length for embedded tests
Diffstat (limited to 'libmysqld')
-rw-r--r-- | libmysqld/lib_sql.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmysqld/lib_sql.cc b/libmysqld/lib_sql.cc index 9c26febe627..4e525f8447f 100644 --- a/libmysqld/lib_sql.cc +++ b/libmysqld/lib_sql.cc @@ -111,7 +111,7 @@ emb_advanced_command(MYSQL *mysql, enum enum_server_command command, } thd->net.no_send_error= 0; - result= dispatch_command(command, thd, (char *) arg, arg_length + 1); + result= dispatch_command(command, thd, (char *) arg, arg_length); thd->cur_data= 0; if (!skip_check) |