fix for bug 3922: do not use autocommit=1 when reading database

This commit is contained in:
ligc 2013-12-03 13:14:23 +08:00
parent 61ef293909
commit 0b639cb5c2

View File

@ -616,7 +616,7 @@ sub getDBtable
{
# need to get info from DB
my $thistable = xCAT::Table->new($table, -create => 1, -autocommit => 0);
my $thistable = xCAT::Table->new($table, -create => 1);
if (!$thistable)
{
return undef;