summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/sqlsrv/sqlsrv_driver.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2013-10-18 21:00:58 +0200
committerAndrey Andreev <narf@devilix.net>2013-10-18 21:00:58 +0200
commit0704ff23c246828118a61551d51387a1e3275a4b (patch)
tree24b260f146ac17c83f123ad3ad81f132bfbbf3ff /system/database/drivers/sqlsrv/sqlsrv_driver.php
parent533bf8f526be37954a2987e09df2be1c40ba49ba (diff)
parent3a2cceaa54fd4d55eda5fe07bb428350a08e2288 (diff)
Merge pull request #2689 from blowdoof/upstream_21
Bugfix 2.1 sqlsrv driver
Diffstat (limited to 'system/database/drivers/sqlsrv/sqlsrv_driver.php')
-rw-r--r--system/database/drivers/sqlsrv/sqlsrv_driver.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/drivers/sqlsrv/sqlsrv_driver.php b/system/database/drivers/sqlsrv/sqlsrv_driver.php
index 400fd31c6..e6f37778c 100644
--- a/system/database/drivers/sqlsrv/sqlsrv_driver.php
+++ b/system/database/drivers/sqlsrv/sqlsrv_driver.php
@@ -536,7 +536,7 @@ class CI_DB_sqlsrv_driver extends CI_DB {
*/
function _truncate($table)
{
- return "TRUNCATE ".$table;
+ return "TRUNCATE TABLE ".$table;
}
// --------------------------------------------------------------------