summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/mssql/mssql_driver.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-04-05 15:00:32 +0200
committerAndrey Andreev <narf@bofh.bg>2012-04-05 15:00:32 +0200
commita6fe36eb42e5d8df8336f8c711ff8a6e0ee509e7 (patch)
tree668b94c8a096184ab60bc87ddfab695050ecfd65 /system/database/drivers/mssql/mssql_driver.php
parent17ceeae7ddd5c4eba2b1d0b25a17706b3d873346 (diff)
Added a default _truncate() method to CI_DB_active_record
Diffstat (limited to 'system/database/drivers/mssql/mssql_driver.php')
-rw-r--r--system/database/drivers/mssql/mssql_driver.php17
1 files changed, 0 insertions, 17 deletions
diff --git a/system/database/drivers/mssql/mssql_driver.php b/system/database/drivers/mssql/mssql_driver.php
index 3604e80fb..b1d2716ba 100644
--- a/system/database/drivers/mssql/mssql_driver.php
+++ b/system/database/drivers/mssql/mssql_driver.php
@@ -466,23 +466,6 @@ class CI_DB_mssql_driver extends CI_DB {
// --------------------------------------------------------------------
/**
- * Truncate statement
- *
- * Generates a platform-specific truncate string from the supplied data
- * If the database does not support the truncate() command
- * This function maps to "DELETE FROM table"
- *
- * @param string the table name
- * @return string
- */
- protected function _truncate($table)
- {
- return "TRUNCATE ".$table;
- }
-
- // --------------------------------------------------------------------
-
- /**
* Delete statement
*
* Generates a platform-specific delete string from the supplied data