diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-06-25 17:11:39 +0200 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-06-25 17:11:39 +0200 |
commit | e61b19f90e23e6b7f51e910b488a37f6f8fb7c93 (patch) | |
tree | aa04795b1f5ef449fd89c3b8a2677cc3254e8481 /system/database/drivers/pdo/subdrivers/pdo_sqlsrv_driver.php | |
parent | 01800a3787c1e045a1c9a3f39411d18e6f49011b (diff) |
Add a default _truncate() method to PDO
Diffstat (limited to 'system/database/drivers/pdo/subdrivers/pdo_sqlsrv_driver.php')
-rw-r--r-- | system/database/drivers/pdo/subdrivers/pdo_sqlsrv_driver.php | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/system/database/drivers/pdo/subdrivers/pdo_sqlsrv_driver.php b/system/database/drivers/pdo/subdrivers/pdo_sqlsrv_driver.php index a1865b55f..dbf955c2c 100644 --- a/system/database/drivers/pdo/subdrivers/pdo_sqlsrv_driver.php +++ b/system/database/drivers/pdo/subdrivers/pdo_sqlsrv_driver.php @@ -230,24 +230,6 @@ class CI_DB_pdo_sqlsrv_driver extends CI_DB_pdo_driver { // -------------------------------------------------------------------- /** - * Truncate statement - * - * Generates a platform-specific truncate string from the supplied data - * - * If the database does not support the truncate() command, - * then this method maps to 'DELETE FROM table' - * - * @param string the table name - * @return string - */ - protected function _truncate($table) - { - return 'TRUNCATE TABLE '.$table; - } - - // -------------------------------------------------------------------- - - /** * Delete statement * * Generates a platform-specific delete string from the supplied data |