diff options
author | Micael Karlberg <[email protected]> | 2012-01-17 16:34:22 +0100 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2012-01-17 16:34:22 +0100 |
commit | 531d9e60f84192da2e163077d062f5ec8027a78c (patch) | |
tree | e6aa27199150bfcac01cae6ef55d533a551a3ce4 /lib/snmp/src/agent/snmp_generic_mnesia.erl | |
parent | f3675ad3cbb3915b450311b202bea2118fca3d37 (diff) | |
parent | 3ed3e64fb9a2b9227ce8d8c9f47f7f324d46690f (diff) | |
download | otp-531d9e60f84192da2e163077d062f5ec8027a78c.tar.gz otp-531d9e60f84192da2e163077d062f5ec8027a78c.tar.bz2 otp-531d9e60f84192da2e163077d062f5ec8027a78c.zip |
Merge branch 'bmk/snmp/snmp4215_integration/r14' into bmk/snmp/snmp4215_integration/r15
Conflicts:
lib/snmp/doc/src/notes.xml
lib/snmp/doc/src/notes_history.xml
lib/snmp/src/app/snmp.appup.src
lib/snmp/vsn.mk
Diffstat (limited to 'lib/snmp/src/agent/snmp_generic_mnesia.erl')
-rw-r--r-- | lib/snmp/src/agent/snmp_generic_mnesia.erl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/snmp/src/agent/snmp_generic_mnesia.erl b/lib/snmp/src/agent/snmp_generic_mnesia.erl index a73aad5b33..ce42af404b 100644 --- a/lib/snmp/src/agent/snmp_generic_mnesia.erl +++ b/lib/snmp/src/agent/snmp_generic_mnesia.erl @@ -121,7 +121,7 @@ table_func(set, RowIndex, Cols, Name) -> fun() -> snmp_generic:table_set_row( {Name, mnesia}, nofunc, - {snmp_generic_mnesia, table_try_make_consistent}, + fun table_try_make_consistent/2, RowIndex, Cols) end) of {atomic, Value} -> @@ -368,7 +368,8 @@ table_set_elements(Name, RowIndex, Cols) -> _ -> false end. table_set_elements(Name, RowIndex, Cols, ConsFunc) -> - #table_info{index_types = Indexes, first_own_index = FirstOwnIndex} = + #table_info{index_types = Indexes, + first_own_index = FirstOwnIndex} = snmp_generic:table_info(Name), AddCol = if FirstOwnIndex == 0 -> 2; |