@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | */ |
28 | 28 | public function getTableNames($schema = '', $refresh = false) |
29 | 29 | { |
30 | - return parent::getTableNames($schema, $refresh); |
|
30 | + return parent::getTableNames($schema, $refresh); |
|
31 | 31 | } |
32 | 32 | |
33 | 33 | /** |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | */ |
36 | 36 | public function quoteSimpleTableName($name = '') |
37 | 37 | { |
38 | - return parent::quoteSimpleTableName($name); |
|
38 | + return parent::quoteSimpleTableName($name); |
|
39 | 39 | } |
40 | 40 | |
41 | 41 | /** |
@@ -50,11 +50,11 @@ discard block |
||
50 | 50 | * @inheritdoc |
51 | 51 | */ |
52 | 52 | public function findTableNames($schema = '') { |
53 | - $sql = 'SHOW TABLES'; |
|
54 | - if ($schema !== '') { |
|
55 | - $sql .= ' FROM ' . $this->quoteSimpleTableName($schema); |
|
56 | - } |
|
53 | + $sql = 'SHOW TABLES'; |
|
54 | + if ($schema !== '') { |
|
55 | + $sql .= ' FROM ' . $this->quoteSimpleTableName($schema); |
|
56 | + } |
|
57 | 57 | |
58 | - return $this->db->createCommand($sql)->queryColumn(); |
|
58 | + return $this->db->createCommand($sql)->queryColumn(); |
|
59 | 59 | } |
60 | 60 | } |
@@ -52,7 +52,7 @@ |
||
52 | 52 | public function findTableNames($schema = '') { |
53 | 53 | $sql = 'SHOW TABLES'; |
54 | 54 | if ($schema !== '') { |
55 | - $sql .= ' FROM ' . $this->quoteSimpleTableName($schema); |
|
55 | + $sql .= ' FROM '.$this->quoteSimpleTableName($schema); |
|
56 | 56 | } |
57 | 57 | |
58 | 58 | return $this->db->createCommand($sql)->queryColumn(); |