MariaDB server is a community developed fork of MySQL server. Started by core members of the original MySQL team, MariaDB actively works with outside developers to deliver the most featureful, stable, and sanely licensed open SQL server in the industry.
  • MariaDB\ 71.8%
  • C++ 16.4%
  • C 10.4%
  • Shell 0.5%
  • Perl 0.4%
  • Other 0.3%
Find a file
unknown 063b504772 Bug#35103 mysql_client_test::test_bug29948 causes sporadic failures
The problem was that the COM_STMT_SEND_LONG_DATA was sending a response
packet if the prepared statement wasn't found in the server (due to
reconnection). The commands COM_STMT_SEND_LONG_DATA and COM_STMT_CLOSE
should not send any packets, even error packets should not be sent since
they are not expected by the client API.

The solution is to clear generated during the execution of the aforementioned
commands and to skip resend of prepared statement commands. Another fix is
that if the connection breaks during the send of prepared statement command,
the command is not sent again since the prepared statement is no longer in the
server.


libmysql/libmysql.c:
  The mysql handle might be reset after a reconnection.
  Pass the now used stmt argument to cli_advanced_command.
sql-common/client.c:
  Don't resend command if the connection broke and it's a prepared
  statement command. If the session is broken, prepared statements
  on the server are gone, set the error accordanly.
sql/sql_prepare.cc:
  Clear any error set during the execution of the request
  command.
tests/mysql_client_test.c:
  Fix memory leak by freeing result associated with statement.
  Remove test case for Bug 29948 because it's not reliable in
  5.0 (fixed in 5.1) due to KILL queries sending two packets for
  a thread that kills itself.
2008-03-14 17:40:12 -03:00
bdb Revert previous attempt to fix bug#27693, the files removed from the 2007-09-22 16:29:15 +02:00
BitKeeper Fix bug in BK trigger for sending changes to InnoDB devs. 2008-01-24 00:31:47 -07:00
BUILD Adding build scripts for Solaris 10 on AMD64. 2007-11-10 11:03:07 +01:00
client Merge trift2.:/MySQL/M50/mysql-5.0 2008-02-22 16:36:09 +01:00
cmd-line-utils use correct config_readline.h file 2008-01-03 14:26:41 +01:00
config/ac-macros Fix for bug #31254: "Max_data_length" truncated / reported wrong 2007-10-12 14:03:51 +04:00
dbug CMakeLists.txt, README, configure.js 2007-08-03 21:51:37 +02:00
Docs Makefile.am, configure.in: 2007-11-22 17:48:40 +01:00
extra Make this build on Windows. 2008-02-11 18:02:37 +01:00
heap Merge anubis.xiphis.org:/usr/home/antony/work/mysql-5.0-engines 2007-10-19 13:04:30 -07:00
include Merge dl145h.mysql.com:/data0/mkindahl/mysql-5.0-rpl 2008-01-30 11:25:54 +01:00
innobase Applied InnoDB snapshot innodb-5.0-ss2095 2007-11-20 10:53:19 -07:00
libmysql Bug#35103 mysql_client_test::test_bug29948 causes sporadic failures 2008-03-14 17:40:12 -03:00
libmysql_r my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
libmysqld Merge mysql.com:/home/gluh/MySQL/Merge/5.0 2007-12-13 14:52:49 +04:00
man my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
myisam Merge mysql.com:/home/gluh/MySQL/Merge/5.0 2007-12-13 14:52:49 +04:00
myisammrg BUG#26976 - Missing table in merge not noted in related error msg + 2007-06-06 04:42:41 +05:00
mysql-test A fix for Bug#34643: TRUNCATE crash if trigger and foreign key. 2008-03-12 16:13:33 +03:00
mysys Merge tnurnberg@bk-internal.mysql.com:/home/bk/mysql-5.0-opt 2007-12-17 09:45:36 +01:00
ndb Merge trift2.:/MySQL/M50/mysql-5.0 2008-02-22 16:36:09 +01:00
netware sp_head.cc: 2007-12-14 18:23:11 +01:00
os2 Avoid the name conflict between the system-provided "md5.h" and the MySQL one 2007-07-19 14:14:03 +02:00
pstack my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
regex my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
scripts Merge ramayana.hindu.god:/home/tsmith/m/bk/b28460/50 2008-02-22 17:04:28 -07:00
server-tools Merge tnurnberg@bk-internal.mysql.com:/home/bk/mysql-5.0-maint 2007-09-15 04:45:20 +02:00
sql Bug#35103 mysql_client_test::test_bug29948 causes sporadic failures 2008-03-14 17:40:12 -03:00
sql-bench my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
sql-common Bug#35103 mysql_client_test::test_bug29948 causes sporadic failures 2008-03-14 17:40:12 -03:00
SSL SSL/Makefile.am mysql-test/Makefile.am: 2007-07-27 17:39:07 +02:00
strings Merge mhansson@bk-internal:/home/bk/mysql-5.0-opt 2008-01-17 18:15:53 +01:00
support-files Bug #28555 Upgrading MySQL Fails to shut down old server and kills socket file 2008-02-18 12:03:39 -07:00
tests Bug#35103 mysql_client_test::test_bug29948 causes sporadic failures 2008-03-14 17:40:12 -03:00
tools Avoid the name conflict between the system-provided "md5.h" and the MySQL one 2007-07-19 14:14:03 +02:00
VC++Files Fix for bug #32221: bug25714, mytest, mysql_client_test complaints and 2007-11-19 18:59:25 +03:00
vio Bug#33050 5.0.50 fails many SSL testcases 2008-02-07 08:48:28 +01:00
win Merge ramayana.hindu.god:/home/tsmith/m/bk/50 2007-09-28 10:54:49 -06:00
zlib CMakeLists.txt, README, configure.js 2007-08-03 21:51:37 +02:00
.bzrignore patch for bug#32496 (2nd) with ansi conformant and Mysql test case. 2007-11-26 21:28:01 +01:00
.cvsignore Import changeset 2000-07-31 21:29:14 +02:00
CMakeLists.txt Bug#31319 CMake build does not check for minimum required version 2007-11-02 15:16:45 -04:00
configure.in Raise version number after cloning 5.0.56 2008-02-06 14:18:26 +01:00
COPYING - manual.texi will be replaced with a manual written in DocBook/XML. This ChangeSet removes all 2005-04-13 11:51:38 +02:00
EXCEPTIONS-CLIENT EXCEPTIONS-CLIENT: 2007-03-14 18:28:16 +01:00
INSTALL-SOURCE Makefile.am: 2007-11-02 12:59:45 +01:00
INSTALL-WIN-SOURCE Makefile.am: 2007-11-02 12:59:45 +01:00
Makefile.am Merge debian.(none):/MySQL/M50/indent-5.0 2007-12-11 20:47:31 +01:00
README make_binary_distribution.sh: 2006-11-07 22:26:37 +01:00

This is a release of MySQL, a dual-license SQL database server.
MySQL is brought to you by the MySQL team at MySQL AB.

License information can be found in these files:
- For GPL (free) distributions, see the COPYING file and
  the EXCEPTIONS-CLIENT file.
- For commercial distributions, see the LICENSE.mysql file.


For further information about MySQL or additional documentation, see:
- The latest information about MySQL: http://www.mysql.com
- The current MySQL documentation: http://dev.mysql.com/doc

Some manual sections of special interest:

- If you are migrating from an older version of MySQL, please read the
  "Upgrading from..." section first!
- To see what MySQL can do, take a look at the features section.
- For installation instructions, see the Installing and Upgrading chapter.
- For the new features/bugfix history, see the Change History appendix.
- For the currently known bugs/misfeatures (known errors) see the Problems
  and Common Errors appendix.
- For a list of developers and other contributors, see the Credits
  appendix.

A local copy of the MySQL Reference Manual can be found in the Docs
directory in GNU Info format.  You can also browse the manual online or
download it in any of several formats at the URL given earlier in this
file.

************************************************************

IMPORTANT:

Bug or error reports should be sent to http://bugs.mysql.com.