mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
fix table creation in db_tools.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10231 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
131ba8c2ba
commit
b850fc4fbe
1 changed files with 6 additions and 0 deletions
|
@ -453,11 +453,17 @@ class phpbb_db_tools
|
||||||
|
|
||||||
case 'firebird':
|
case 'firebird':
|
||||||
case 'mssql':
|
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']);
|
$primary_key_stmts = $this->sql_create_primary_key($table_name, $table_data['PRIMARY_KEY']);
|
||||||
foreach ($primary_key_stmts as $pk_stmt)
|
foreach ($primary_key_stmts as $pk_stmt)
|
||||||
{
|
{
|
||||||
$statements[] = $pk_stmt;
|
$statements[] = $pk_stmt;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$this->return_statements = $old_return_statements;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'oracle':
|
case 'oracle':
|
||||||
|
|
Loading…
Add table
Reference in a new issue