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.
Find a file
cbell/Chuck@mysql_cab_desk. 2763e9af9a BUG#20141 "User-defined variables are not replicated properly for
SF/Triggers in SBR mode."
BUG#14914 "SP: Uses of session variables in routines are not always replicated"
BUG#25167 "Dupl. usage of user-variables in trigger/function is not replicated
          correctly"

This patch corrects a minor error in the previous patch for BUG#20141. This patch
corrects an errant code change to sp_head.cc. The comments for the first patch follow:

User-defined variables used inside of stored functions/triggers in
statements which did not update tables directly were not replicated.
We also had problems with replication of user-defined variables which
were used in triggers (or stored functions called from table-updating
statements) more than once.

This patch addresses the first issue by enabling logging of all
references to user-defined variables in triggers/stored functions
and not only references from table-updating statements.

The second issue stemmed from the fact that for user-defined
variables used from triggers or stored functions called from
table-updating statements we were writing binlog events for each
reference instead of only one event for the first reference.
This problem is already solved for stored functions called from
non-updating statements with help of "event unioning" mechanism.
So the patch simply extends this mechanism to the case affected.
It also fixes small problem in this mechanism which caused wrong
logging of references to user-variables in cases when non-updating
statement called several stored functions which used the same
variable and some of these function calls were omitted from binlog
as they were not updating any tables.
2007-02-27 11:36:17 -05:00
BitKeeper Merge zippy.cornsilk.net:/home/cmiller/work/mysql/bug25807/my50-bug25807 2007-02-13 17:21:50 -05:00
BUILD Fixed compiler warnings 2007-02-23 13:13:55 +02:00
client Merge mysql.com:/nfsdisk1/lars/bkroot/mysql-5.1-new-rpl 2007-02-25 00:12:14 +01:00
cmd-line-utils Fixed compiler warnings 2007-02-23 13:13:55 +02:00
config/ac-macros files are in storage/ndb in 5.1. fix merge from 5.0 2007-01-19 17:06:53 -08:00
dbug Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.1 2007-02-03 00:58:09 +02:00
Docs Merge mysql.com:/home/kent/bk/main/mysql-5.0 2006-12-31 01:32:21 +01:00
extra Fixed windows compilation problems 2007-02-24 04:22:34 +02:00
include Merge mysql.com:/nfsdisk1/lars/bkroot/mysql-5.1-new-rpl 2007-02-25 00:12:14 +01:00
libmysql Fixed compiler warnings 2007-02-23 13:13:55 +02:00
libmysql_r my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
libmysqld Fixed compilations problems and warnings on windows 2007-02-23 22:48:15 +02:00
man my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mysql-test Merge cbell@bk-internal.mysql.com:/home/bk/mysql-5.1-new-rpl 2007-02-26 14:33:58 -05:00
mysys Merge mysql.com:/nfsdisk1/lars/bkroot/mysql-5.1-new-rpl 2007-02-25 00:12:14 +01:00
netware Merge mysql.com:/home/kent/bk/main/mysql-5.0 2006-12-23 20:20:40 +01:00
plugin Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.1 2007-02-03 00:58:09 +02:00
pstack my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
regex Many files: 2006-12-31 02:29:11 +01:00
scripts Merge pilot.mysql.com:/home/msvensson/mysql/mysql-5.1 2007-02-13 10:00:59 +01:00
server-tools Fixed compilations problems and warnings on windows 2007-02-23 22:48:15 +02:00
sql BUG#20141 "User-defined variables are not replicated properly for 2007-02-27 11:36:17 -05:00
sql-bench Fixed compiler warnings 2007-02-23 13:13:55 +02:00
sql-common Merge bk-internal.mysql.com:/home/bk/mysql-5.0 2007-02-21 14:07:08 +02:00
storage Merge mysql.com:/nfsdisk1/lars/bkroot/mysql-5.1-new-rpl 2007-02-25 00:12:14 +01:00
strings Fixed compiler warnings 2007-02-23 13:13:55 +02:00
support-files Fixed compiler warnings 2007-02-23 13:13:55 +02:00
tests Fixed compiler warnings 2007-02-23 13:13:55 +02:00
unittest After merge fix 2007-02-02 17:47:13 +01:00
vio Fixed compiler warnings 2007-02-23 13:13:55 +02:00
win Fixed compilations problems and warnings on windows 2007-02-23 22:48:15 +02:00
zlib Many files: 2006-12-31 02:29:11 +01:00
.bzrignore Merge mysql.com:/home/my/mysql-5.0 2007-02-23 13:28:34 +02:00
.cvsignore Import changeset 2000-07-31 21:29:14 +02:00
CMakeLists.txt Many files: 2006-12-31 02:29:11 +01:00
configure.in Fixed compiler warnings 2007-02-23 13:13:55 +02: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
Makefile.am Merge malff@bk-internal.mysql.com:/home/bk/mysql-5.1-runtime 2007-01-24 14:43:09 -07: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.