Zhu Jinhui пре 7 година
родитељ
комит
9edd8197b6
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/Driver/Base.php

+ 1 - 1
src/Driver/Base.php

@@ -346,7 +346,7 @@ class Base
 	{
 		list($database, $tableName) = array_pad(explode('.', $table), 2, '');
 		if($tableName) return "`{$database}`.`{$tableName}`";
-		return $table;
+		return '`'. $table . '`';
 	}
 
 	public function setLanguage()