summaryrefslogtreecommitdiff
path: root/system/libraries/Database_Mysql.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2010-01-06 11:35:01 -0800
committerTim Almdal <tnalmdal@shaw.ca>2010-01-06 11:35:01 -0800
commita74fd27e5f238f91f39be14056692945eecedabc (patch)
tree6a4a3311536500b06178d5a8c620263b0130d3ea /system/libraries/Database_Mysql.php
parent7778d4c05075e67f096d3d5365e5ae35e1b0a737 (diff)
Updated Kohana to r4737
Diffstat (limited to 'system/libraries/Database_Mysql.php')
-rw-r--r--system/libraries/Database_Mysql.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/system/libraries/Database_Mysql.php b/system/libraries/Database_Mysql.php
index a5775037..a325cbcc 100644
--- a/system/libraries/Database_Mysql.php
+++ b/system/libraries/Database_Mysql.php
@@ -2,8 +2,6 @@
/**
* MySQL database connection.
*
- * $Id: Database_Mysql.php 4712 2009-12-10 21:47:09Z cbandy $
- *
* @package Kohana
* @author Kohana Team
* @copyright (c) 2008-2009 Kohana Team
@@ -216,7 +214,7 @@ class Database_Mysql_Core extends Database {
$prefix = strlen($this->table_prefix());
$tables = array();
- foreach ($this->query('SHOW TABLES FROM '.$this->escape($this->config['connection']['database']).' LIKE '.$this->quote($this->table_prefix().'%'))->as_array() as $row)
+ foreach ($this->query('SHOW TABLES LIKE '.$this->quote($this->table_prefix().'%'))->as_array() as $row)
{
// The value is the table name
$tables[] = substr(current($row), $prefix);