Benchmark-database-introspection-2.4.patch

against 2.4 - Chris Bandy, 05/14/2009 08:23 am

Download (648 Bytes)

 
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
		}