summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjustdave%bugzilla.org <>2004-09-13 05:20:42 +0200
committerjustdave%bugzilla.org <>2004-09-13 05:20:42 +0200
commit180adb43d41ccc8862112cc7418226f03f5e2189 (patch)
tree96676e1cf6e7e05d08dc3f5f801259fec7e4b175
parentd42b46fc1513f7ba3216dbdda2914f1d19ace539 (diff)
downloadbugzilla-180adb43d41ccc8862112cc7418226f03f5e2189.tar.gz
bugzilla-180adb43d41ccc8862112cc7418226f03f5e2189.tar.xz
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
-rw-r--r--Bugzilla/DB.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/Bugzilla/DB.pm b/Bugzilla/DB.pm
index 445e29500..ca2ee29fa 100644
--- a/Bugzilla/DB.pm
+++ b/Bugzilla/DB.pm
@@ -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;