From 6268d5c52b669cfa1adc90a7a53631d681b7afdf Mon Sep 17 00:00:00 2001 From: Herman van Rink Date: Thu, 24 Sep 2009 13:18:47 +0000 Subject: [PATCH] Fixed a bug when a column had the same name as the table, the table would not be created on the target. And added a FIXME tag for another bug --- libraries/server_synchronize.lib.php | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/libraries/server_synchronize.lib.php b/libraries/server_synchronize.lib.php index 5c70ad030..29d080584 100644 --- a/libraries/server_synchronize.lib.php +++ b/libraries/server_synchronize.lib.php @@ -1,4 +1,5 @@ REFERENCED_TABLE_NAME;" ; @@ -686,6 +692,8 @@ function PMA_createTargetTables($src_db, $trg_db, $src_link, $trg_link, &$uncomm * @param $table_index index of table in matching_table_array * @param $uncommon_tables_fields field names of the uncommon table * @param $display true/false value +* +* FIXME: This turns NULL values into '' (empty string) */ function PMA_populateTargetTables($src_db, $trg_db, $src_link, $trg_link, $uncommon_tables, $table_index, $uncommon_tables_fields, $display) {