1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-13 10:04:07 +02:00

CSV import for MS SQL

This commit is contained in:
Jakub Vrana
2010-08-03 17:47:26 +02:00
parent dba6a90674
commit 52e8c0344b
2 changed files with 17 additions and 1 deletions

View File

@@ -473,7 +473,7 @@ WHERE tc.constraint_type = 'FOREIGN KEY' AND tc.table_name = " . $connection->qu
$where = array();
foreach ($set as $key => $val) {
$update[] = "$key = $val";
if (isset($primary[$key])) {
if (isset($primary[idf_unescape($key)])) {
$where[] = "$key = $val";
}
}