Benchmark-database-introspection-2.4.patch
| system/libraries/Database_Mysql.php (working copy) | ||
|---|---|---|
| 159 | 159 |
{
|
| 160 | 160 |
$columns = array(); |
| 161 | 161 | |
| 162 |
foreach($this->query_execute('SHOW COLUMNS FROM '.$this->quote_table($table), $this->_connection)->as_array() as $row)
|
|
| 162 |
foreach($this->query('SHOW COLUMNS FROM '.$this->quote_table($table))->as_array() as $row)
|
|
| 163 | 163 |
{
|
| 164 | 164 |
$columns[] = $row; |
| 165 | 165 |
} |