mysqlhotcopy failed on table with hyphen in name
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-dfsg-5.0 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Hardy |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
In Ubuntu 8.04.1 LTS (in 8.10 seem too):
root@ns1:~# mysqlhotcopy.
Deleting previous 'old' hotcopy directory ('/data/
Existing hotcopy directory renamed to '/data/
DBD::mysql::db do failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-amg.cz_clanky READ, tiskarna-
root@ns1:~# dlocate mysqlhotcopy
mysql-server-5.0: /usr/bin/
root@ns1:~# dpkg -l mysql-server-5.0
...
ii mysql-server-5.0 5.0.51a-3ubuntu5.1 MySQL database server binaries
SOLUTION:
Comment out duplicated lines 871 and 872 "$hc_locks =~ s/\`//g;" in 8.04.1 whitch removes quotation from db/table names.
Related branches
Changed in mysql-dfsg-5.0: | |
assignee: | nobody → kirkland |
status: | Confirmed → In Progress |
Changed in mysql-dfsg-5.0 (Ubuntu Hardy): | |
milestone: | none → ubuntu-8.04.3 |
Changed in mysql-dfsg-5.0 (Ubuntu Hardy): | |
milestone: | ubuntu-8.04.3 → none |
Changed in mysql-dfsg-5.0 (Ubuntu): | |
assignee: | Dustin Kirkland (kirkland) → nobody |
Version 5.0.38-0ubuntu1.4 in Ubuntu 7.04 is not affected by this bug.