Commit eba04b3f78536d318d3b0e1a2f4cc02f04ad1dab
1 parent
a7d9932d
Exists in
master
and in
7 other branches
--no commit message
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
ferramentas/saiku/esquemaxml.php
| ... | ... | @@ -644,7 +644,7 @@ function dimensoesTabelas(){ |
| 644 | 644 | select ".implode(",",$incluirChaves).", tabelamedida{$c["id_medida_variavel"]}.{$c["colunaidgeo"]}::text as codigoreg |
| 645 | 645 | "; |
| 646 | 646 | if(count($dimRegioes[$c["codigo_tipo_regiao"]]["colunas"]) > 0){ |
| 647 | - $sql .= ",".implode(",",$dimRegioes[$c["codigo_tipo_regiao"]]["colunas"]); | |
| 647 | + $sql .= ",tabela{$r["codigo_tipo_regiao"]}".implode(",tabela{$r["codigo_tipo_regiao"]}",$dimRegioes[$c["codigo_tipo_regiao"]]["colunas"]); | |
| 648 | 648 | } |
| 649 | 649 | |
| 650 | 650 | $sql .= " | ... | ... |