1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

Merge branch 'develop-olympus' into develop

* develop-olympus:
  [ticket/10214] Correct Oracle create table query syntax in db_tools
This commit is contained in:
Andreas Fischer
2011-06-13 19:50:06 +02:00
2 changed files with 4 additions and 4 deletions

View File

@@ -2710,7 +2710,7 @@ class updater_db_tools
break;
case 'oracle':
$table_sql .= "\n);";
$table_sql .= "\n)";
$statements[] = $table_sql;
// do we need to add a sequence and a tigger for auto incrementing columns?
@@ -2728,7 +2728,7 @@ class updater_db_tools
$trigger .= "BEGIN\n";
$trigger .= "\tSELECT {$table_name}_seq.nextval\n";
$trigger .= "\tINTO :new.{$create_sequence}\n";
$trigger .= "\tFROM dual\n";
$trigger .= "\tFROM dual;\n";
$trigger .= "END;";
$statements[] = $trigger;