|
|
@@ -115,7 +115,7 @@ class SYNC_DATABASES {
|
|
|
self::get_current_time();
|
|
|
$loc_key=$this->db->show_index_value($table);
|
|
|
$rem_key=$this->gdb->show_index_value($table);
|
|
|
- DEBUG_S(-3,'Last synced for '.$table,array($LAST_SYNCED_loc,$LAST_SYNCED_rem),__FILE__,__FUNCTION__,__LINE__);
|
|
|
+ DEBUG_S(-3,'Last synced for (last_sync_loc,last_sync_rem,loc_key,rem_key) '.$table,array($LAST_SYNCED_loc,$LAST_SYNCED_rem,$loc_key,$rem_key),__FILE__,__FUNCTION__,__LINE__);
|
|
|
$ids_rem=$this->gdb->get_by_data_column($table,'A_RECORD_UPDATE_DATE',$LAST_SYNCED_rem,$this->currtime_rem,$loc_key);
|
|
|
while($h=$this->gdb->fetch($ids_rem)) {
|
|
|
$this->ids_rem[$h->$rem_key]=$h;
|