mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-29 13:48:22 +08:00
mdbx-bench: rename log-file instead of remove it in case of error.
This commit is contained in:
parent
d1f04656ab
commit
03db768830
2
Makefile
2
Makefile
@ -125,7 +125,7 @@ bench-$(1).txt: $(3) $(IOARENA) Makefile
|
|||||||
LD_LIBRARY_PATH="./:$$$${LD_LIBRARY_PATH}" \
|
LD_LIBRARY_PATH="./:$$$${LD_LIBRARY_PATH}" \
|
||||||
$(IOARENA) -D $(1) -B get,iterate -m sync -r 4 -n $(2) \
|
$(IOARENA) -D $(1) -B get,iterate -m sync -r 4 -n $(2) \
|
||||||
| tee -a $$@ | grep throughput \
|
| tee -a $$@ | grep throughput \
|
||||||
|| rm -f $$@
|
|| mv -f $$@ $$@.error
|
||||||
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user