~vlad-lesin/percona-server/mysql-5.5-32405

  • Committer: Vlad Lesin
  • Date: 2013-08-07 06:03:17 UTC
  • mfrom: (4334.1.78 mysql-5.5.33-release)
  • Revision ID: vladislav.lesin@percona.com-20130807060317-o9ed4i20gir631o0
Merged with mysql-5.5.33. Revision 4397 of lp:mysql-server/5.5 contains
partial fix for bug 1049871 / CVE-2012-4414. The fix is for the following
issue: "A long SET expression in LOAD DATA is incorrectly truncated when
written to the binary log."

When SET clauses are specified as a part of LOAD DATA statement, these SET
clause user command strings need to be stored as it is inorder to reconstruct
the original user command.  These strings are stored as a part of SET clause item
tree's top most Item node's name itself, but Item::name can be of MAX_ALIAS_NAME
size.

Percona's fix just removes limit for Item::name but upstream fix uses new
String list to store the SET expression values.

This branch contains Percona's fix because upstream's fix cause rpl_mdev382
test failure, i.e. the last argument in SET argiments list is repeated twice
in binlog. This is an example from rpl_mdev382 result file diff:

-LOAD DATA LOCAL INFILE '<name>' INTO TABLE `t``1` FIELDS TERMINATED BY ',' ENCLOSED BY '\'' ESCAPED BY '\\' LINES TERMINATED BY '\n' (`a``1`, @`b```) SET `b``2`= @`b```, `c``3`= concat('|', "b""a'z", "!")
+LOAD DATA LOCAL INFILE '<name>' INTO TABLE `t``1` FIELDS TERMINATED BY ',' ENCLOSED BY '\'' ESCAPED BY '\\' LINES TERMINATED BY '\n' (`a``1`, @`b```) SET `b``2`= @`b```, `c``3` = concat('|', "b""a'z", "!"), `c``3`= concat('|', "b""a'z", "!")
Filename Latest Rev Last Changed Committer Comment Size
..
.bzr-mysql 1616.3139.1 15 years ago Chad MILLER Add branch metainfo for mailer plugin. Diff
BUILD 2 23 years ago bk at mysql Import changeset Diff
client 2 23 years ago bk at mysql Import changeset Diff
cmake 2875.38.1 14 years ago Vladislav Vaintroub WL#5161 : Cross-platform build with CMake Diff
cmd-line-utils 1403.60.1 21 years ago vva at r18 changes for readline/libedit configuration Diff
dbug 2 23 years ago bk at mysql Import changeset Diff
Docs 2 23 years ago bk at mysql Import changeset Diff
extra 2 23 years ago bk at mysql Import changeset Diff
include 2 23 years ago bk at mysql Import changeset Diff
libmysql 2 23 years ago bk at mysql Import changeset Diff
libmysqld 669.1.1 23 years ago monty at mysql Added all changes from old 4.0 version: PSTACK, li Diff
libservices 2875.3.35 14 years ago Sergei Golubchik WL#4903 Plugin Service API part I (mysql-next-mr b Diff
man 2 23 years ago bk at mysql Import changeset Diff
mysql-test 2 23 years ago bk at mysql Import changeset Diff
mysys 2 23 years ago bk at mysql Import changeset Diff
packaging 2875.157.1 14 years ago Vladislav Vaintroub Add components to INSTALL, some eraly Wix support Diff
plugin 2003 18 years ago svoj at mysql WL#2575 - Fulltext: Parser plugin for FTS Manual m Diff
regex 2 23 years ago bk at mysql Import changeset Diff
scripts 2 23 years ago bk at mysql Import changeset Diff
sql 2 23 years ago bk at mysql Import changeset Diff
sql-bench 2646.1.7 15 years ago Chad MILLER Merge from 5.0. Update version. Diff
sql-common 1504.26.1 21 years ago hf at r18 SCRUM Protocol_cursor class and sql-common/ direct Diff
storage 1773.218.1 19 years ago brian at zim Changes to create storage directory for storage en Diff
strings 2 23 years ago bk at mysql Import changeset Diff
support-files 2 23 years ago bk at mysql Import changeset Diff
tests 2 23 years ago bk at mysql Import changeset Diff
unittest 2119.397.1 18 years ago mats at mysql WL#3206 (Add unit tests): An implementation of the Diff
vio 2 23 years ago bk at mysql Import changeset Diff
win 2273.23.37 17 years ago cmiller at cornsilk Merge zippy.cornsilk.net:/home/cmiller/work/mysql/ Diff
zlib 973.110.6 22 years ago monty at mysql merge (remove conflicting zip files) Diff
.bzrignore 4145.1.2 11 years ago Bjorn Munch A bit more intelligent processing of .in files in 82.8 KB Diff Download File
BUILD-CMAKE 3446 12 years ago Kent Boortz Updated/added copyright headers 8.3 KB Diff Download File
CMakeLists.txt 4334.1.35 10 years ago Chaithra Gopalareddy Merge from 5.5 to 5.6 13.7 KB Diff Download File
config.h.cmake 3097.6.12 12 years ago Ramil Kalimullin Manual merge from mysql-5.5. 18 KB Diff Download File
configure.cmake 4253 11 years ago Tor Didriksen Bug#11766815 INVALID SYSTEM CHECK TIME_T_UNSIGNED 32.7 KB Diff Download File
COPYING 2661.523.21 14 years ago Joerg Bruehe Use a new version of "COPYING", the GPL text. Thi 17.5 KB Diff Download File
INSTALL-SOURCE 4319 11 years ago Murthy Narkedimilli Merging the changes for Bug 16633169 - MYSQL.INFO 239 bytes Diff Download File
INSTALL-WIN-SOURCE 4319 11 years ago Murthy Narkedimilli Merging the changes for Bug 16633169 - MYSQL.INFO 247 bytes Diff Download File
README 4267 11 years ago Murthy Narkedimilli Upmerging the changes for Bug 16401147 from 5.1 2.4 KB Diff Download File
VERSION 4334.1.1 11 years ago Balasubramanian Kandasamy Raise version number after cloning 5.5.32 88 bytes Diff Download File