Merge lp:~laurynas-biveinis/percona-server/csv-engine-ietf-quotes into lp:percona-server/5.5
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Sergei Glushchenko | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 706 | ||||
Proposed branch: | lp:~laurynas-biveinis/percona-server/csv-engine-ietf-quotes | ||||
Merge into: | lp:percona-server/5.5 | ||||
Diff against target: |
377 lines (+238/-8) 8 files modified
mysql-test/r/csv.result (+44/-0) mysql-test/r/mysqld--help-notwin.result (+3/-0) mysql-test/r/percona_server_variables_debug.result (+1/-0) mysql-test/r/percona_server_variables_release.result (+1/-0) mysql-test/suite/sys_vars/r/csv_mode_basic.result (+55/-0) mysql-test/suite/sys_vars/t/csv_mode_basic.test (+47/-0) mysql-test/t/csv.test (+44/-0) storage/csv/ha_tina.cc (+43/-8) |
||||
To merge this branch: | bzr merge lp:~laurynas-biveinis/percona-server/csv-engine-ietf-quotes | ||||
Related bugs: |
|
||||
Related blueprints: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Sergei Glushchenko (community) | g2 | Approve | |
Review via email: mp+236838@code.launchpad.net |
Description of the change
Implement IETF-compatible parsing mode of embedded quote and comma
characters for the CSV storage engines, implementing
https:/
blueprint and fixing bug 1316042 (CSV engine does not properly process
"" (in quotes)).
Introduce new dynamic global/session variable csv_mode with a possible
value IETF_QUOTES, which enables the standard-compliant quote parsing:
commas are accepted in quoted fields as-is, and quoting of " is
changed from \" to "". If csv_mode is set to empty value (the
default), then the old parsing behavior is kept.
Add a testcase to csv.test, a sys_vars testcase, and update
mysqld-
percona_
http://
Approve