Skip to content

Commit 75fdcbc

Browse files
committed
Fix transaction function of leo_mnesia from mnesia:transaction/1 to mnesia:sync_transaction/1
1 parent ae0dca5 commit 75fdcbc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/leo_mnesia.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export(FilePath, Table, ExportType) ->
112112
Rows = mnesia:table_info(Table, size),
113113

114114
%% output records
115-
mnesia:transaction(
115+
mnesia:sync_transaction(
116116
fun() ->
117117
case catch mnesia:first(Table) of
118118
'$end_of_table' ->

0 commit comments

Comments
 (0)