From aaca5cb7a3df2cfb8e18e87dca43be6ab112747d Mon Sep 17 00:00:00 2001 From: Andrey Andreev Date: Mon, 31 Mar 2014 17:20:55 +0300 Subject: [ci skip] Fix #2972 --- system/database/DB_forge.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system') diff --git a/system/database/DB_forge.php b/system/database/DB_forge.php index 21ef40119..111546ecc 100644 --- a/system/database/DB_forge.php +++ b/system/database/DB_forge.php @@ -408,7 +408,7 @@ abstract class CI_DB_forge { } // _create_table will usually have the following format: "%s %s (%s\n)" - $sql = sprintf($this->_create_table.'%s;', + $sql = sprintf($this->_create_table.'%s', $sql, $this->db->escape_identifiers($table), $columns, -- cgit v1.2.3-24-g4f1b