Commit 44d7e6bd authored by mkanat%bugzilla.org's avatar mkanat%bugzilla.org

Bug 410134: [Oracle] Make Oracle case-insensitive for Bugzilla

Patch By Xiaoou Wu <xiaoou.wu@oracle.com> r=mkanat, a=mkanat
parent e621696b
......@@ -79,6 +79,9 @@ sub new {
$self->do("ALTER SESSION SET NLS_TIMESTAMP_FORMAT='YYYY-MM-DD HH24:MI:SS'");
$self->do("ALTER SESSION SET NLS_LENGTH_SEMANTICS='CHAR'")
if Bugzilla->params->{'utf8'};
# To allow case insensitive query.
$self->do("ALTER SESSION SET NLS_COMP='LINGUISTIC'");
$self->do("ALTER SESSION SET NLS_SORT='BINARY_AI'");
return $self;
}
......
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