diff options
| author | Meik Sievertsen <acydburn@phpbb.com> | 2009-10-24 14:28:59 +0000 |
|---|---|---|
| committer | Meik Sievertsen <acydburn@phpbb.com> | 2009-10-24 14:28:59 +0000 |
| commit | b850fc4fbe3cf0da5fa3c1a85c18cc9355f4b250 (patch) | |
| tree | 491af7bbb839404c53294a3e6a274c5be9c95658 /phpBB/includes/db/db_tools.php | |
| parent | 131ba8c2ba2c0f778ab3d140207e212c4fee1f9e (diff) | |
| download | forums-b850fc4fbe3cf0da5fa3c1a85c18cc9355f4b250.tar forums-b850fc4fbe3cf0da5fa3c1a85c18cc9355f4b250.tar.gz forums-b850fc4fbe3cf0da5fa3c1a85c18cc9355f4b250.tar.bz2 forums-b850fc4fbe3cf0da5fa3c1a85c18cc9355f4b250.tar.xz forums-b850fc4fbe3cf0da5fa3c1a85c18cc9355f4b250.zip | |
fix table creation in db_tools.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10231 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/db/db_tools.php')
| -rw-r--r-- | phpBB/includes/db/db_tools.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/phpBB/includes/db/db_tools.php b/phpBB/includes/db/db_tools.php index eabcfd818e..bc9f36b23a 100644 --- a/phpBB/includes/db/db_tools.php +++ b/phpBB/includes/db/db_tools.php @@ -453,11 +453,17 @@ class phpbb_db_tools case 'firebird': case 'mssql': + // We need the data here + $old_return_statements = $this->return_statements; + $this->return_statements = true; + $primary_key_stmts = $this->sql_create_primary_key($table_name, $table_data['PRIMARY_KEY']); foreach ($primary_key_stmts as $pk_stmt) { $statements[] = $pk_stmt; } + + $this->return_statements = $old_return_statements; break; case 'oracle': |
