Bug 253696: work around NAME_lc bug in ActiveState Perl on Win32

Patch by Byron Jones <bugzilla@glob.com.au>
r=jouni,bbaetz a=justdave
This commit is contained in:
justdave%bugzilla.org 2004-09-12 20:20:42 +00:00
Родитель 0d46e744e8
Коммит fbf187730e
1 изменённых файлов: 5 добавлений и 1 удалений

Просмотреть файл

@ -152,8 +152,12 @@ sub _connect {
Password => $db_pass,
ShowErrorStatement => 1,
HandleError => \&_handle_error,
FetchHashKeyName => 'NAME_lc',
TaintIn => 1,
FetchHashKeyName => 'NAME',
# Note: NAME_lc causes crash on ActiveState Perl
# 5.8.4 (see Bug 253696)
# XXX - This will likely cause problems in DB
# back ends that twiddle column case (Oracle?)
});
return $dbh;