Subject: | [patch] Small SQL optimisation |
Date: | Tue, 29 Jun 2010 14:28:53 +0200 |
To: | bug-POE-Component-MessageQueue [...] rt.cpan.org |
From: | Sébastien Aperghis-Tramoni <saper [...] cpan.org> |
Hello,
Attached is a patch that provide a small SQL optimisation, TRUNCATE
is know for being faster that DELETE to empty a table. However this
breaks the corresponding test:
t/05_storage_api.t ........... 24/106
# Failed test 'DBI: empty'
# at t/05_storage_api.t line 242.
# got: '197'
# expected: '0'
but I don't understand why.
--
Sébastien Aperghis-Tramoni
Close the world, txEn eht nepO.
Message body is not shown because sender requested not to inline it.