Rebase on MySQL 5.5.31

Registered by Stewart Smith

Rebase on MySQL 5.5.31.

Check bugs:
https://bugs.launchpad.net/percona-server/+bug/1166098
https://bugs.launchpad.net/percona-server/+bug/1042946: our fix should disappear.
https://bugs.launchpad.net/percona-server/+bug/1107539: likewise.

Close bug https://bugs.launchpad.net/percona-server/+bug/1134757 .

Check if 5.5 revno 4176 [1] allows us to reduce the diff against the upstream.

5.5$ bzr log -r 4176 -n0
------------------------------------------------------------
revno: 4176 [merge]
committer: Venkatesh Duggirala<email address hidden>
branch nick: mysql-5.5
timestamp: Mon 2013-01-28 14:58:55 +0530
message:
  Bug#16084594 USER_VAR ITEM IN 'LOAD FILE QUERY' WAS NOT
  PROPERLY QUOTED IN BINLOG FILE
  Merging fix from mysql-5.1
    ------------------------------------------------------------
    revno: 2661.830.86
    committer: Venkatesh Duggirala<email address hidden>
    branch nick: mysql-5.1
    timestamp: Mon 2013-01-28 14:41:54 +0530
    message:
      Bug#16084594 USER_VAR ITEM IN 'LOAD FILE QUERY' WAS NOT
      PROPERLY QUOTED IN BINLOG FILE
      Problem: In load data file query, User variables are allowed
      inside "Into_list" and "Set_list". These user variables used
      inside these two lists are not properly guarded with backticks
      while server is writting into binlog. Hence user variable names
      like a` cannot be used in this context.

      Fix: Properly quote these variables while
      writting into binlog

Blueprint information

Status:
Complete
Approver:
None
Priority:
Essential
Drafter:
None
Direction:
Approved
Assignee:
Stewart Smith
Definition:
Approved
Series goal:
Accepted for 5.5
Implementation:
Implemented
Milestone target:
milestone icon 5.5.31-30.3
Started by
Laurynas Biveinis
Completed by
Laurynas Biveinis

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.