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
Mattias Jonsson b72d1507db Bug#39084: Getting intermittent errors with statement-based binary logging
Problem was that partitioning cached the table flags.
These flags could change due to TRANSACTION LEVEL changes.
Solution was to remove the cache and always return the table flags
from the first partition (if the handler was initialized).

mysql-test/r/partition_innodb_stmt.result:
  Bug#39084: Getting intermittent errors with statement-based binary logging
  
  New test result file.
mysql-test/t/partition_innodb_stmt.test:
  Bug#39084: Getting intermittent errors with statement-based binary logging
  
  New test file.
sql/ha_partition.cc:
  Bug#39084: Getting intermittent errors with statement-based binary logging
  
  Removed m_table_flags, and added m_handler_status.
  Added checks that all partitions have the same
  table flags.
  Moved some variable initializations.
  Updated some comments.
  Fixed typo initialise -> initialize
  Changed HA_EXTTA_NO_READCHECK to do nothing, since it
  is only used in ha_open, which is called for every
  partition in ::open anyway.
sql/ha_partition.h:
  Bug#39084: Getting intermittent errors with statement-based binary logging
  
  Removed m_table_flags, and added m_handler_status.
  Always return the first partitions table flags, instead of using
  cached table flags.
  Added define of enabled/disabled partitioning table flags
  Fixed type initialise -> initialize
  Updated some comments.
sql/handler.cc:
  Bug#39084: Getting intermittent errors with statement-based binary logging
  
  Fixed type initialise -> initialize.
sql/handler.h:
  Bug#39084: Getting intermittent errors with statement-based binary logging
  
  Added comment to understand where the cached value is set.
2008-10-29 21:20:04 +01:00
.bzr-mysql Restore team tree name. 2008-09-20 03:56:33 -03:00
BitKeeper Merge trift2.:/MySQL/M51/mysql-5.1 2008-01-28 15:16:40 +01:00
BUILD Bug#38727: BUILD/compile-solaris-* scripts should compile MySQL with libmtmalloc 2008-09-30 17:57:48 -03:00
client Bug#31434 mysqldump dumps view as table 2008-09-11 08:14:19 +02:00
cmd-line-utils Merge pcg5ppc.xiphis.org:/Network/Servers/anubis.xiphis.org/home/antony/work/mysql-5.1-engines 2008-03-07 13:46:29 -08:00
config/ac-macros Bug#35808 utf8 hungarian collation not part of the utf8 charset? 2008-07-29 08:25:46 +05:00
dbug Merge pilot.mysql.com:/data/msvensson/mysql/my50-bt-36463 2008-05-02 19:42:34 +02:00
Docs Makefile.am: 2008-04-08 11:44:18 +02:00
extra Auto merge 5.1-build -> 5.1-bugteam 2008-09-10 19:35:11 -06:00
include Bug#38477: my_pthread_setprio can change dispatch class on Solaris, not just priority 2008-10-15 19:28:26 -03:00
libmysql Bug#37226 Explicit call of my_thread_init() on Windows for every new thread. 2008-09-01 17:46:37 -04:00
libmysql_r Makefile.am: 2007-10-08 20:55:44 +02:00
libmysqld Bug#20129: ALTER TABLE ... REPAIR PARTITION ... complains that 2008-08-13 20:50:08 +02:00
man Bug#37098 Get rid of "Installed (but unpackaged)" files in the RPM build 2008-08-27 16:03:39 +02:00
mysql-test Bug#39084: Getting intermittent errors with statement-based binary logging 2008-10-29 21:20:04 +01:00
mysys Bug#38941: fast mutexes in MySQL 5.1 have mutex contention when calling random() 2008-10-15 19:21:00 -03:00
netware Merge from 5.0-bugteam local. 2008-08-18 13:33:00 -04:00
plugin Use pkglibdir to simplify pkgplugindir, and fix the path in a 2008-01-02 13:00:46 +00:00
pstack Makefile.am, configure.in: 2007-09-27 21:39:23 +02:00
regex Fix for server bug experienced in Maria (wrong "Truncated incorrect <var_name> 2008-02-18 23:29:39 +01:00
scripts Merge fix for bug 34129. 2008-10-14 15:59:01 -04:00
server-tools merge 2008-09-01 11:48:21 +02:00
sql Bug#39084: Getting intermittent errors with statement-based binary logging 2008-10-29 21:20:04 +01:00
sql-bench Fixed compiler warnings 2007-02-23 13:13:55 +02:00
sql-common Merge zippy.cornsilk.net:/home/cmiller/work/mysql/bug26294/my51-bug26294 2008-04-03 13:21:02 -04:00
storage Bug #38360: BLACKHOLE replication with RBR is broken 2008-10-02 11:02:38 +02:00
strings Merge from 5.0-bugteam. 2008-08-15 15:49:43 -04:00
support-files Bug #39812: Make statement replication default for 5.1 (to match 5.0) 2008-10-03 15:24:19 +03:00
tests Bug #32124: crash if prepared statements refer to variables in the where clause 2008-10-08 14:23:53 +03:00
unittest Fix for server bug experienced in Maria (wrong "Truncated incorrect <var_name> 2008-02-18 23:29:39 +01:00
vio Merge bk-internal.mysql.com:/home/bk/mysql-5.1-build 2008-02-21 19:53:37 -05:00
win Auto merge 5.1-build -> 5.1-bugteam 2008-09-10 19:35:11 -06:00
zlib Auto merge 5.1-build -> 5.1-bugteam 2008-09-10 19:35:11 -06:00
.bzrignore Bug#31455 mysqlbinlog don't print user readable info about RBR events 2008-08-20 19:06:31 +05:00
.cvsignore Import changeset 2000-07-31 21:29:14 +02:00
CMakeLists.txt merge 2008-09-01 11:48:21 +02:00
configure.in Bug#38477: my_pthread_setprio can change dispatch class on Solaris, not just priority 2008-10-15 19:28:26 -03: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 ReadMe.txt, INSTALL-WIN-SOURCE, INSTALL-BINARY, INSTALL-SOURCE: 2007-11-23 10:15:55 +01:00
INSTALL-WIN-SOURCE ReadMe.txt, INSTALL-WIN-SOURCE, INSTALL-BINARY, INSTALL-SOURCE: 2007-11-23 10:15:55 +01:00
Makefile.am merging mysql-5.1->mysql-5.1-sea 2008-09-04 17:23:16 +05:30
README Dummy change to force PushBuild. 2008-03-26 13:15:03 +03: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.