Protected Member Functions | |
initTables () | |
initSequences () | |
MySQL does not support sequences. |
Definition at line 31 of file MySQLiDatabaseInfo.php.
MySQLiDatabaseInfo::initSequences | ( | ) | [protected] |
MySQL does not support sequences.
SQLException |
Reimplemented from DatabaseInfo.
Definition at line 57 of file MySQLiDatabaseInfo.php.
MySQLiDatabaseInfo::initTables | ( | ) | [protected] |
SQLException |
Reimplemented from DatabaseInfo.
Definition at line 36 of file MySQLiDatabaseInfo.php.
References $result.
00037 { 00038 include_once 'creole/drivers/mysqli/metadata/MySQLiTableInfo.php'; 00039 00040 $result = @mysqli_query($this->conn->getResource(), 'SHOW TABLES FROM ' . $this->dbname); 00041 00042 if (!$result) { 00043 throw new SQLException("Could not list tables", mysqli_error($this->conn->getResource())); 00044 } 00045 00046 while ($row = mysqli_fetch_row($result)) { 00047 $this->tables[strtoupper($row[0])] = new MySQLiTableInfo($this, $row[0]); 00048 } 00049 }