From: ivan Date: Wed, 21 Feb 2001 01:45:07 +0000 (+0000) Subject: DBI autocommit needs 0, not true string 'false', duh X-Git-Tag: freeside_1_3_0~33 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=bcf7e6f16db211da681f464ec3f78746f675f449 DBI autocommit needs 0, not true string 'false', duh --- diff --git a/FS/FS/UID.pm b/FS/FS/UID.pm index 5cb5572af..1902eef4b 100644 --- a/FS/FS/UID.pm +++ b/FS/FS/UID.pm @@ -79,8 +79,8 @@ sub adminsuidsetup { croak "Not running uid freeside!" unless checkeuid(); getsecrets; $dbh = DBI->connect($datasrc,$db_user,$db_pass, { - 'AutoCommit' => 'false', - 'ChopBlanks' => 'true', + 'AutoCommit' => 0, + 'ChopBlanks' => 1, } ) or die "DBI->connect error: $DBI::errstr\n"; swapuid(); #go to non-privledged user if running setuid freeside @@ -259,7 +259,7 @@ coderef into the hash %FS::UID::callback : =head1 VERSION -$Id: UID.pm,v 1.4 2001-02-03 14:03:49 ivan Exp $ +$Id: UID.pm,v 1.5 2001-02-21 01:45:07 ivan Exp $ =head1 BUGS