From ce34b3d32a9ae04260f95d6ade4f2d0de43daa8a Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Sun, 29 Jun 2014 19:57:38 +0000 Subject: change 'DELETE' to 'TRUNCATE', because why not. --- diff --git a/backend/node/src/clipperz.js b/backend/node/src/clipperz.js index 5b4df0a..37b9cae 100644 --- a/backend/node/src/clipperz.js +++ b/backend/node/src/clipperz.js @@ -39,7 +39,7 @@ function clipperz_store(PG) { } ) }; rv.prototype.clear = function(cb) { PQ.Q( - "DELETE FROM clipperz.thesession", cb + "TRUNCATE clipperz.thesession", cb ) }; rv.prototype.__proto__ = express_store.prototype; return rv; -- cgit v0.9.0.2