Commit 54ce97f151f1dcf08b4f24f21634bab535c507e4
1 parent
0ab6f34e
Exists in
master
and in
7 other branches
--no commit message
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
ferramentas/saiku/esquemaxml.php
... | ... | @@ -367,8 +367,8 @@ function sqlDasRegioes($regiao,$caminho,$chavesRegiao){ |
367 | 367 | $colunas = array_unique($colunas); |
368 | 368 | } |
369 | 369 | else{ |
370 | - $colunas[] = $regiao["identificador"]. "::text AS codigo".$regiao["codigo_tipo_regiao"]; | |
371 | - $colunas[] = $regiao["colunanomeregiao"]. "::text AS nome".$regiao["codigo_tipo_regiao"]; | |
370 | + $colunas[] = "tabela".$regiao["codigo_tipo_regiao"].".".$regiao["identificador"]. "::text AS codigo".$regiao["codigo_tipo_regiao"]; | |
371 | + $colunas[] = "tabela".$regiao["codigo_tipo_regiao"].".".$regiao["colunanomeregiao"]. "::text AS nome".$regiao["codigo_tipo_regiao"]; | |
372 | 372 | |
373 | 373 | $nomesColunas[] = " codigo".$regiao["codigo_tipo_regiao"]; |
374 | 374 | $nomesColunas[] = " nome".$regiao["codigo_tipo_regiao"]; | ... | ... |