aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/database_update.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2011-06-13 19:49:52 +0200
committerAndreas Fischer <bantu@phpbb.com>2011-06-13 19:49:52 +0200
commit5223f7558b646628e0f040f7e25506eed8cbdfcf (patch)
tree0e6ff23aa7f9a41aabb2fe00e651aca314f4038a /phpBB/install/database_update.php
parent7cc45ee0d5606ddd9143a8a80b6974d027916a89 (diff)
parentc090e1c9e9fc2e435a4ae2f63923955d66dccd6d (diff)
downloadforums-5223f7558b646628e0f040f7e25506eed8cbdfcf.tar
forums-5223f7558b646628e0f040f7e25506eed8cbdfcf.tar.gz
forums-5223f7558b646628e0f040f7e25506eed8cbdfcf.tar.bz2
forums-5223f7558b646628e0f040f7e25506eed8cbdfcf.tar.xz
forums-5223f7558b646628e0f040f7e25506eed8cbdfcf.zip
Merge remote-tracking branch 'naderman/ticket/10214' into develop-olympus
* naderman/ticket/10214: [ticket/10214] Correct Oracle create table query syntax in db_tools
Diffstat (limited to 'phpBB/install/database_update.php')
-rw-r--r--phpBB/install/database_update.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php
index 75b8644105..504d9afd68 100644
--- a/phpBB/install/database_update.php
+++ b/phpBB/install/database_update.php
@@ -2484,7 +2484,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?
@@ -2502,7 +2502,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;