Use VALUES instead of VALUE. Update TableChunker in all tools.

This commit is contained in:
Daniel Nichter
2012-01-31 11:07:08 -07:00
parent 9842041721
commit df73364e97
4 changed files with 31 additions and 40 deletions

View File

@@ -596,7 +596,7 @@ sub _chunk_char {
# Populate the temp table with all the characters between the min and max
# max character codes. This is our character-to-number map.
$sql = "INSERT INTO $tmp_db_tbl VALUE (CHAR(?))";
$sql = "INSERT INTO $tmp_db_tbl VALUES (CHAR(?))";
PTDEBUG && _d($dbh, $sql);
my $ins_char_sth = $dbh->prepare($sql); # avoid quoting issues
for my $char_code ( $min_col_ord..$max_col_ord ) {