avoid creating new index in retractall

This commit is contained in:
Vítor Santos Costa 2013-06-07 09:26:50 -05:00
parent 5303f2f479
commit 5b4f355ee0

View File

@ -489,6 +489,9 @@ retractall(V) :-
'$do_error'(permission_error(modify,static_procedure,Na/Ar),retractall(T))
).
'$retractall_lu'(T,M) :-
'$free_arguments'(T), !,
( '$purge_clauses'(T,M), fail ; true ).
'$retractall_lu'(T,M) :-
'$log_update_clause'(T,M,_,R),
erase(R),