summaryrefslogtreecommitdiffstats
path: root/Bugzilla/DB/Schema
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2008-08-01 07:05:24 +0200
committermkanat%bugzilla.org <>2008-08-01 07:05:24 +0200
commit8cf4ef03913d7866655f40eab3dff80f1559ac5b (patch)
tree696584d433eab449a974626b055a422fbe0f12d8 /Bugzilla/DB/Schema
parent7f0ba708827dec5bb77222405009f1771e43655a (diff)
downloadbugzilla-8cf4ef03913d7866655f40eab3dff80f1559ac5b.tar.gz
bugzilla-8cf4ef03913d7866655f40eab3dff80f1559ac5b.tar.xz
Bug 448614: [Oracle] Logic error in _get_alter_type_sql
Patch By Xiaoou Wu <xiaoou.wu@oracle.com> r=mkanat, a=mkanat
Diffstat (limited to 'Bugzilla/DB/Schema')
-rw-r--r--Bugzilla/DB/Schema/Oracle.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/DB/Schema/Oracle.pm b/Bugzilla/DB/Schema/Oracle.pm
index 6b6fa5c57..05c2bbeb3 100644
--- a/Bugzilla/DB/Schema/Oracle.pm
+++ b/Bugzilla/DB/Schema/Oracle.pm
@@ -322,7 +322,7 @@ sub _get_alter_type_sql {
}
# If this column is no longer TEXT/VARCHAR, we need to drop the trigger
# that went along with it.
- if ( $old_def->{TYPE} !~ /varchar|text/i
+ if ( $old_def->{TYPE} =~ /varchar|text/i
&& $old_def->{NOTNULL}
&& $new_def->{TYPE} !~ /varchar|text/i )
{