Commit 8cf4ef03 authored by mkanat%bugzilla.org's avatar mkanat%bugzilla.org

Bug 448614: [Oracle] Logic error in _get_alter_type_sql

Patch By Xiaoou Wu <xiaoou.wu@oracle.com> r=mkanat, a=mkanat
parent 7f0ba708
......@@ -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 )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment