|
|
@@ -87,7 +87,7 @@ $tables['Z']['BI_audit_KRS_company']['rel']['krs']='krs';
|
|
|
function start_dig($tables) {
|
|
|
global $db;
|
|
|
foreach($tables['Y'] as $Y=>$t) {
|
|
|
- $sql='select * from '.$Y.' limit 1' ;
|
|
|
+ $sql='select * from '.$Y.' limit 100' ;
|
|
|
$res=$db->query($sql);
|
|
|
while($h=$db->fetch($res)) {
|
|
|
$hist_loop[$Y][]=$h;
|
|
|
@@ -138,8 +138,8 @@ function dig_next($hist_loop,$prev_tbl,$prev_dig,$loop) {
|
|
|
}
|
|
|
//echo "sql";
|
|
|
//print_r($sql);
|
|
|
- //echo "sql_t";
|
|
|
- //print_r($sql_t);
|
|
|
+ echo "sql_t";
|
|
|
+ print_r($sql_t);
|
|
|
|
|
|
if( isset($sql_t)) {
|
|
|
foreach($sql_t as $T => $sql_ext) {
|