summaryrefslogtreecommitdiff
path: root/sql/protocol.cc
diff options
context:
space:
mode:
authorkonstantin@oak.local <>2003-12-19 20:52:13 +0300
committerkonstantin@oak.local <>2003-12-19 20:52:13 +0300
commitd37da004f6ffb32d170ce4cb9d93ba166de5b6b0 (patch)
treea4c72a1d62170f1e5637ed34fd09ada369f1c764 /sql/protocol.cc
parentc49773237d2bb807e10ffb66c321f87a20f1e1c6 (diff)
downloadmariadb-git-d37da004f6ffb32d170ce4cb9d93ba166de5b6b0.tar.gz
THD::lex now points to THD::main_lex like in 5.0
All tests pass (client_test included)
Diffstat (limited to 'sql/protocol.cc')
-rw-r--r--sql/protocol.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/protocol.cc b/sql/protocol.cc
index 0c9fed629b4..2d2736b20d2 100644
--- a/sql/protocol.cc
+++ b/sql/protocol.cc
@@ -122,7 +122,7 @@ void send_error(THD *thd, uint sql_errno, const char *err)
thd->net.report_error= 0;
/* Abort multi-result sets */
- thd->lex.found_colon= 0;
+ thd->lex->found_colon= 0;
thd->server_status= ~SERVER_MORE_RESULTS_EXISTS;
DBUG_VOID_RETURN;
}