Do not init table cache if Cache provided by user

This commit is contained in:
Oliver Gorwits
2016-02-25 08:04:20 +00:00
parent 9685c3afa8
commit e97617ad60
2 changed files with 2 additions and 4 deletions

View File

@@ -5,6 +5,7 @@ version 3.32 ()
[BUG FIXES]
* Support undefined (noSuchIntance) values in Offline mode
* Do not init table cache if Cache provided by user
version 3.31 (2016-01-22)

View File

@@ -1240,11 +1240,8 @@ sub new {
return;
}
# Table function store
my $store = {};
# Save Args for later
$new_obj->{store} = $store;
$new_obj->{store} ||= {};
$new_obj->{sess} = $sess;
$new_obj->{args} = \%args;
$new_obj->{snmp_ver} = $args{Version} || 2;