author | Michael Krelin <hacker@klever.net> | 2014-06-29 19:57:38 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2014-06-29 20:48:23 (UTC) |
commit | ce34b3d32a9ae04260f95d6ade4f2d0de43daa8a (patch) (unidiff) | |
tree | e06c91d6da51a27043c75d6469805f818b8b71a0 | |
parent | d21898d430781387bc128f83e6f8aead1149a4e5 (diff) | |
download | clipperz-ce34b3d32a9ae04260f95d6ade4f2d0de43daa8a.zip clipperz-ce34b3d32a9ae04260f95d6ade4f2d0de43daa8a.tar.gz clipperz-ce34b3d32a9ae04260f95d6ade4f2d0de43daa8a.tar.bz2 |
change 'DELETE' to 'TRUNCATE', because why not.
-rw-r--r-- | backend/node/src/clipperz.js | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
@@ -41,3 +41,3 @@ function clipperz_store(PG) { | |||
41 | rv.prototype.clear = function(cb) { PQ.Q( | 41 | rv.prototype.clear = function(cb) { PQ.Q( |
42 | "DELETE FROM clipperz.thesession", cb | 42 | "TRUNCATE clipperz.thesession", cb |
43 | ) }; | 43 | ) }; |