summaryrefslogtreecommitdiff
path: root/sql/sql_parse.cc
diff options
context:
space:
mode:
authorunknown <monty@donna.mysql.com>2001-02-15 18:00:30 +0200
committerunknown <monty@donna.mysql.com>2001-02-15 18:00:30 +0200
commitf5fefc94f224a6d1ebdee0d114b0f1ef0e56fe99 (patch)
treea3e9a3145e67c442ddb56eee95bebb7b87ff66bc /sql/sql_parse.cc
parentdcd26ca7b9c5fc237c051045573dd8fd16163297 (diff)
downloadmariadb-git-f5fefc94f224a6d1ebdee0d114b0f1ef0e56fe99.tar.gz
Updates for innobase
Removed a ' that casued 'make paper' to fail Docs/manual.texi: Updated myisamchk section; Removed a ' that casued 'make paper' to fail sql/handler.cc: Updates for innobase sql/mysqld.cc: Updates for innobase sql/sql_parse.cc: Fixed possible overrun if the mysqld server name is too big sql/sql_select.cc: Updates for innobase
Diffstat (limited to 'sql/sql_parse.cc')
-rw-r--r--sql/sql_parse.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc
index 854a47fd9c0..ae8846f4039 100644
--- a/sql/sql_parse.cc
+++ b/sql/sql_parse.cc
@@ -209,7 +209,8 @@ check_connections(THD *thd)
/* nasty, but any other way? */
uint pkt_len = 0;
{
- char buff[60],*end;
+ /* buff[] needs to big enough to hold the server_version variable */
+ char buff[SERVER_VERSION_LENGTH + SCRAMBLE_LENGTH+32],*end;
int client_flags = CLIENT_LONG_FLAG | CLIENT_CONNECT_WITH_DB |
CLIENT_TRANSACTIONS;
LINT_INIT(pkt_len);