Bug 410134: [Oracle] Make Oracle case-insensitive for Bugzilla
Patch By Xiaoou Wu <xiaoou.wu@oracle.com> r=mkanat, a=mkanat git-svn-id: svn://10.0.0.236/trunk@242175 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user