diff options
author | konstantin@mysql.com <> | 2004-09-08 23:07:11 +0400 |
---|---|---|
committer | konstantin@mysql.com <> | 2004-09-08 23:07:11 +0400 |
commit | 48162f965377f98466111783ba30761eaf303343 (patch) | |
tree | 76941d331b5f9f18f220d5601314919a2df7ae04 /sql/net_serv.cc | |
parent | af5785c6925bb18166264d483e8d5de957d405fb (diff) | |
download | mariadb-git-48162f965377f98466111783ba30761eaf303343.tar.gz |
A fix and test case for Bug#5194 "Bulk Insert Failures with Prepared
Statements":
- fix a couple of net->buff overruns in libmysql,
- check in the server that statement parameter count is less than
65535 (maximum value supported by prepared statements protocol).
Diffstat (limited to 'sql/net_serv.cc')
-rw-r--r-- | sql/net_serv.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sql/net_serv.cc b/sql/net_serv.cc index c2da47b480e..457b2052a45 100644 --- a/sql/net_serv.cc +++ b/sql/net_serv.cc @@ -193,9 +193,7 @@ my_bool net_realloc(NET *net, ulong length) { net->error= 1; net->report_error= 1; -#ifdef MYSQL_SERVER net->last_errno= ER_OUT_OF_RESOURCES; -#endif DBUG_RETURN(1); } net->buff=net->write_pos=buff; |