avoid creating new index in retractall
This commit is contained in:
parent
5303f2f479
commit
5b4f355ee0
@ -489,6 +489,9 @@ retractall(V) :-
|
|||||||
'$do_error'(permission_error(modify,static_procedure,Na/Ar),retractall(T))
|
'$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) :-
|
'$retractall_lu'(T,M) :-
|
||||||
'$log_update_clause'(T,M,_,R),
|
'$log_update_clause'(T,M,_,R),
|
||||||
erase(R),
|
erase(R),
|
||||||
|
Reference in New Issue
Block a user