summaryrefslogtreecommitdiff
path: root/libmysqld
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2020-07-08 18:31:00 +0200
committerVladislav Vaintroub <wlad@mariadb.com>2020-07-14 11:16:24 +0200
commitb0d2a59d9ab6e68461ba01becd791e1ab6e8ae27 (patch)
tree1b160b9669d7e410c5401f92ebc8a993530b0226 /libmysqld
parent1a2b494100e5a81c8ac568899d66884b9936cf98 (diff)
downloadmariadb-git-b0d2a59d9ab6e68461ba01becd791e1ab6e8ae27.tar.gz
MDEV-21612 - remove COM_MULTI from server and C/C
The COM_MULTI did not take off. No connector is using it. Remove related code from server, and client. If anything it is a step simplification of already-bloated dispatch_command(), and related code.
Diffstat (limited to 'libmysqld')
-rw-r--r--libmysqld/lib_sql.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/libmysqld/lib_sql.cc b/libmysqld/lib_sql.cc
index b93cd85bfe8..eb3cf9cd8e3 100644
--- a/libmysqld/lib_sql.cc
+++ b/libmysqld/lib_sql.cc
@@ -168,8 +168,7 @@ emb_advanced_command(MYSQL *mysql, enum enum_server_command command,
arg_length= header_length;
}
- result= dispatch_command(command, thd, (char *) arg, arg_length, FALSE,
- FALSE);
+ result= dispatch_command(command, thd, (char *) arg, arg_length);
thd->cur_data= 0;
thd->mysys_var= NULL;
@@ -1258,7 +1257,7 @@ bool
net_send_ok(THD *thd,
uint server_status, uint statement_warn_count,
ulonglong affected_rows, ulonglong id, const char *message,
- bool, bool)
+ bool)
{
DBUG_ENTER("emb_net_send_ok");
MYSQL_DATA *data;