|
@@ -1863,7 +1863,7 @@ SQL;
|
|
|
$queries[] = "update `{$refTable}` set `A_STATUS` = 'WAITNG' where `A_STATUS` = 'NORMAL'";
|
|
$queries[] = "update `{$refTable}` set `A_STATUS` = 'WAITNG' where `A_STATUS` = 'NORMAL'";
|
|
|
$queries[] = "delete from `{$refTable}` where `TRANSACTION_ID` = '-1'";
|
|
$queries[] = "delete from `{$refTable}` where `TRANSACTION_ID` = '-1'";
|
|
|
$queries[] = " insert into `{$refTable}` (
|
|
$queries[] = " insert into `{$refTable}` (
|
|
|
- `PRIMARY_KEY`
|
|
|
|
|
|
|
+ `PRIMARY_KEY` ,
|
|
|
`REMOTE_PRIMARY_KEY`
|
|
`REMOTE_PRIMARY_KEY`
|
|
|
)
|
|
)
|
|
|
select
|
|
select
|
|
@@ -2068,10 +2068,11 @@ class BiAuditRelations {
|
|
|
echo '\n
|
|
echo '\n
|
|
|
#2000 echo DEBUG found some records in REFs for table fromTable:'.$fromTable.' toTable:'.$toTable;
|
|
#2000 echo DEBUG found some records in REFs for table fromTable:'.$fromTable.' toTable:'.$toTable;
|
|
|
}
|
|
}
|
|
|
- } else { error_log('\n
|
|
|
|
|
- #2001 error DEBUG not found ref table fromTable:'.$fromTable.' toTable:'.$toTable);
|
|
|
|
|
- echo '\n
|
|
|
|
|
- #2001 echo DEBUG not found ref table fromTable:'.$fromTable.' toTable:'.$toTable ;
|
|
|
|
|
|
|
+ } else {
|
|
|
|
|
+ //error_log('\n
|
|
|
|
|
+ // #2001 error DEBUG not found ref table fromTable:'.$fromTable.' toTable:'.$toTable);
|
|
|
|
|
+ // echo '\n
|
|
|
|
|
+ // #2001 echo DEBUG not found ref table fromTable:'.$fromTable.' toTable:'.$toTable ;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|