| @@ 569-573 (lines=5) @@ | ||
| 566 | { |
|
| 567 | $this->expandQueue(); |
|
| 568 | foreach ($this->queue as &$ddl) { |
|
| 569 | if (is_array($ddl)) { |
|
| 570 | if (isset($ddl['createtable'])) { |
|
| 571 | $ddl = $this->renderTableCreate($ddl['createtable']); |
|
| 572 | } |
|
| 573 | } |
|
| 574 | $result = $this->execSql($ddl, $force); |
|
| 575 | if (!$result) { |
|
| 576 | $this->lastError = $this->db->error(); |
|
| @@ 884-888 (lines=5) @@ | ||
| 881 | protected function expandQueue() |
|
| 882 | { |
|
| 883 | foreach ($this->queue as &$ddl) { |
|
| 884 | if (is_array($ddl)) { |
|
| 885 | if (isset($ddl['createtable'])) { |
|
| 886 | $ddl = $this->renderTableCreate($ddl['createtable'], true); |
|
| 887 | } |
|
| 888 | } |
|
| 889 | } |
|
| 890 | } |
|
| 891 | ||