aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/db
diff options
context:
space:
mode:
authorPatrick Webster <noxwizard@phpbb.com>2011-09-04 20:22:36 -0500
committerPatrick Webster <noxwizard@phpbb.com>2011-09-04 20:22:36 -0500
commitd938d5d3994e5febd6a7530e740e24b5727d38c4 (patch)
treecd9d55e17ee7c9338e5d598cb7104eec35264655 /phpBB/includes/db
parent8e5eacf6924866a66bd939292e787caea4b7a32e (diff)
downloadforums-d938d5d3994e5febd6a7530e740e24b5727d38c4.tar
forums-d938d5d3994e5febd6a7530e740e24b5727d38c4.tar.gz
forums-d938d5d3994e5febd6a7530e740e24b5727d38c4.tar.bz2
forums-d938d5d3994e5febd6a7530e740e24b5727d38c4.tar.xz
forums-d938d5d3994e5febd6a7530e740e24b5727d38c4.zip
[ticket/10351] Fix Oracle's sql_column_remove()
The correct syntax is DROP COLUMN. PHPBB3-10351
Diffstat (limited to 'phpBB/includes/db')
-rw-r--r--phpBB/includes/db/db_tools.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/db/db_tools.php b/phpBB/includes/db/db_tools.php
index 2cb0fcef68..265fe1bb25 100644
--- a/phpBB/includes/db/db_tools.php
+++ b/phpBB/includes/db/db_tools.php
@@ -1805,7 +1805,7 @@ class phpbb_db_tools
break;
case 'oracle':
- $statements[] = 'ALTER TABLE ' . $table_name . ' DROP ' . $column_name;
+ $statements[] = 'ALTER TABLE ' . $table_name . ' DROP COLUMN ' . $column_name;
break;
case 'postgres':