Commit 180adb43 authored by justdave%bugzilla.org's avatar justdave%bugzilla.org

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
parent d42b46fc
...@@ -152,8 +152,12 @@ sub _connect { ...@@ -152,8 +152,12 @@ sub _connect {
Password => $db_pass, Password => $db_pass,
ShowErrorStatement => 1, ShowErrorStatement => 1,
HandleError => \&_handle_error, HandleError => \&_handle_error,
FetchHashKeyName => 'NAME_lc',
TaintIn => 1, 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; return $dbh;
......
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