Fix prefixing raw tables

This commit is contained in:
Kelly Banman 2012-03-09 08:48:20 -08:00
parent 18f91414bb
commit 17f7389bc5
1 changed files with 5 additions and 0 deletions

View File

@ -35,6 +35,11 @@ public function __construct(Connection $connection)
*/ */
public function wrap_table($table) public function wrap_table($table)
{ {
if ($table instanceof Expression)
{
return $this->wrap($table);
}
$prefix = ''; $prefix = '';
// Tables may be prefixed with a string. This allows developers to // Tables may be prefixed with a string. This allows developers to