Some tools use VALUE instead of VALUES
Bug #918247 reported by
David A Sinck
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Toolkit moved to https://jira.percona.com/projects/PT |
Fix Released
|
Wishlist
|
Daniel Nichter | ||
1.0 |
Won't Fix
|
Wishlist
|
Daniel Nichter | ||
2.0 |
Fix Released
|
Wishlist
|
Daniel Nichter |
Bug Description
In version 1.0.2, pt-table-checksum seems to need an 'S' in a sql statement. In the bin/pt-
original:
$sql = "INSERT INTO $tmp_db_tbl VALUE (CHAR(?))";
new:
$sql = "INSERT INTO $tmp_db_tbl VALUES (CHAR(?))";
This was against stock mysql 4.0.x/5.1.x checksum.
Given what I understand about the build process, it may be easier to find it in the else branch in sub _chunk_char.
I have not checked the 2.x version for similar mayhem.
Changed in percona-toolkit: | |
importance: | Undecided → Wishlist |
milestone: | none → 2.0.3 |
tags: | added: pt-online-schema-change pt-table-sync pt-upgrade |
summary: |
- Some tools us VALUE instead of VALUES + Some tools use VALUE instead of VALUES |
To post a comment you must log in.
VALUE and VALUES are both valid. Is an error occurring?