From 05282dea25930b59f68087cbbed5b68267e09a33 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Sat, 3 Oct 2009 12:39:06 +0000 Subject: [PATCH] missing connection links --- libraries/server_synchronize.lib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/server_synchronize.lib.php b/libraries/server_synchronize.lib.php index 29d080584..cd9910f26 100644 --- a/libraries/server_synchronize.lib.php +++ b/libraries/server_synchronize.lib.php @@ -98,7 +98,7 @@ function PMA_dataDiffInTables($src_db, $trg_db, $src_link, $trg_link, &$matching { if (isset($matching_table[$matching_table_index])) { $fld = array(); - $fld_results = PMA_DBI_get_fields($src_db, $matching_table[$matching_table_index]); + $fld_results = PMA_DBI_get_fields($src_db, $matching_table[$matching_table_index], $src_link); $is_key = array(); if (isset($fld_results)) { foreach ($fld_results as $each_field) @@ -117,7 +117,7 @@ function PMA_dataDiffInTables($src_db, $trg_db, $src_link, $trg_link, &$matching $source_result_set = PMA_DBI_get_column_values($src_db, $matching_table[$matching_table_index], $is_key, $src_link); $source_size = sizeof($source_result_set); - $trg_fld_results = PMA_DBI_get_fields($trg_db, $matching_table[$matching_table_index]); + $trg_fld_results = PMA_DBI_get_fields($trg_db, $matching_table[$matching_table_index], $trg_link); $all_keys_match = true; $trg_keys = array();