[lucid] LOAD DATA INFILE fails in replication, simple patch available in 5.1.43
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-dfsg-5.1 (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Lucid |
Fix Released
|
Undecided
|
Clint Byrum |
Bug Description
LOAD DATA INFILE fails in replication when there are keywords or braces in columnnames. This is a known bug in mysql: http://
Would it be possible to include the (very simple) patch mentioned in the mysql bugreport (it's the same as the one committed to mysql, check out the commit here: http://
Stable Release Update Report
IMPACT
This bug's impact should be minimal, as the patch is very small and only affects replication slaves in a positive way by quoting strings properly. This would affect any user who has a schema with columns that conflict with SQL keywords.
DEVELOPMENT FIX
This was fixed in the upstream version contained in the current development release (Maverick)
TEST CASE
1. create a replication master/slave setup
2. create a table with a column name of "SELECT"
3. LOAD DATA INFILE into this table on the master
4. slave will fail while attempting to apply this statement.
REGRESSION POTENTIAL
Given the minimal nature of the patch, regressions are quite unlikely. Built and passed tests on lucid with normal regression test suite.
Here is the PPA build log:
https:/
Related branches
- Kees Cook: Approve
- Daniel Holbach (community): Needs Fixing
- Ubuntu branches: Pending requested
-
Diff: 351 lines (+331/-0)3 files modifieddebian/changelog (+7/-0)
debian/patches/00list (+1/-0)
debian/patches/63_cherrypick-upstream-49479.dpatch (+323/-0)
summary: |
- LOAD DATA INFILE fails in replication, simple patch in 5.1.43 + [lucid] LOAD DATA INFILE fails in replication, simple patch available in + 5.1.43 |
tags: | added: patch |
Changed in mysql-dfsg-5.1 (Ubuntu): | |
status: | Incomplete → In Progress |
Changed in mysql-dfsg-5.1 (Ubuntu Lucid): | |
status: | New → In Progress |
assignee: | nobody → Clint Byrum (clint-fewbar) |
description: | updated |
Changed in mysql-dfsg-5.1 (Ubuntu Lucid): | |
assignee: | Clint Byrum (clint-fewbar) → nobody |
status: | In Progress → Confirmed |
tags: | added: testcase |
Can you add the url from where the mysql bug tracker?
Thanks
chuck