fixed the typo

git-svn-id: https://plugins.svn.wordpress.org/sqlite-integration/trunk@948629 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
kjmtsh 2014-07-15 07:58:19 +00:00
parent 61e6960b40
commit 907be4a3e4
1 changed files with 0 additions and 2 deletions

View File

@ -625,7 +625,6 @@ class PDOSQLiteDriver {
$val = trim(array_shift($ins_data_array)); $val = trim(array_shift($ins_data_array));
$ins_data_assoc[trim($col)] = $val; $ins_data_assoc[trim($col)] = $val;
} }
$ins_data_assoc = array_combine($col_array, $ins_array);
$condition = ''; $condition = '';
foreach ($unique_keys_for_cond as $unique_key) { foreach ($unique_keys_for_cond as $unique_key) {
if (strpos($unique_key, ',') !== false) { if (strpos($unique_key, ',') !== false) {
@ -641,7 +640,6 @@ class PDOSQLiteDriver {
continue; continue;
} }
} }
$condition = rtrim($condition, ' AND ');
} else { } else {
$col = trim($unique_key); $col = trim($unique_key);
if (isset($ins_data_assoc[$col])) { if (isset($ins_data_assoc[$col])) {