diff options
author | mkanat%bugzilla.org <> | 2008-08-01 05:05:24 +0000 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2008-08-01 05:05:24 +0000 |
commit | 8cf4ef03913d7866655f40eab3dff80f1559ac5b (patch) | |
tree | 696584d433eab449a974626b055a422fbe0f12d8 /Bugzilla | |
parent | 7f0ba708827dec5bb77222405009f1771e43655a (diff) | |
download | bugs-8cf4ef03913d7866655f40eab3dff80f1559ac5b.tar bugs-8cf4ef03913d7866655f40eab3dff80f1559ac5b.tar.gz bugs-8cf4ef03913d7866655f40eab3dff80f1559ac5b.tar.bz2 bugs-8cf4ef03913d7866655f40eab3dff80f1559ac5b.tar.xz bugs-8cf4ef03913d7866655f40eab3dff80f1559ac5b.zip |
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')
-rw-r--r-- | Bugzilla/DB/Schema/Oracle.pm | 2 |
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 ) { |