Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:23
erlang
1170-mnesia-replace-size-1-by-XXX_size-1.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 1170-mnesia-replace-size-1-by-XXX_size-1.patch of Package erlang
From dc3fbb8e7dfa374bb08da8cc3b166c7d2db6e283 Mon Sep 17 00:00:00 2001 From: Kiko Fernandez-Reyes <kiko@erlang.org> Date: Tue, 17 Jan 2023 14:54:50 +0100 Subject: [PATCH] mnesia: replace size/1 by XXX_size/1 --- lib/mnesia/test/mnesia_consistency_test.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/mnesia/test/mnesia_consistency_test.erl b/lib/mnesia/test/mnesia_consistency_test.erl index 2be17e69c2..795dc1606d 100644 --- a/lib/mnesia/test/mnesia_consistency_test.erl +++ b/lib/mnesia/test/mnesia_consistency_test.erl @@ -585,8 +585,8 @@ consistency_after_transform_table(Type, Config) -> [k,a,n]) || Tab <- Tabs]), [?match([k,a,n], mnesia:table_info(Tab, attributes)) || Tab <- Tabs], - Filter = fun(Tab) -> mnesia:foldl(fun(A, Acc) when size(A) == 3 -> [A|Acc]; - (A, Acc) when size(A) == 4 -> Acc + Filter = fun(Tab) -> mnesia:foldl(fun(A, Acc) when tuple_size(A) == 3 -> [A|Acc]; + (A, Acc) when tuple_size(A) == 4 -> Acc end, [], Tab) end, -- 2.35.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor