summaryrefslogtreecommitdiff
path: root/sql/sql_error.h
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 /sql/sql_error.h
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 'sql/sql_error.h')
-rw-r--r--sql/sql_error.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/sql/sql_error.h b/sql/sql_error.h
index a0497af78cb..318d5076534 100644
--- a/sql/sql_error.h
+++ b/sql/sql_error.h
@@ -1022,14 +1022,6 @@ public:
{ DBUG_ASSERT(m_status == DA_ERROR || m_status == DA_OK ||
m_status == DA_OK_BULK); return m_message; }
- bool skip_flush() const
- {
- DBUG_ASSERT(m_status == DA_OK || m_status == DA_OK_BULK);
- return m_skip_flush;
- }
-
- void set_skip_flush()
- { m_skip_flush= TRUE; }
uint sql_errno() const
{
@@ -1215,9 +1207,6 @@ private:
/** Set to make set_error_status after set_{ok,eof}_status possible. */
bool m_can_overwrite_status;
- /** Skip flushing network buffer after writing OK (for COM_MULTI) */
- bool m_skip_flush;
-
/** Message buffer. Can be used by OK or ERROR status. */
char m_message[MYSQL_ERRMSG_SIZE];