From 6925722fc0c517a25deecd4f1caf6bbac3d5e45f Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Sat, 18 Oct 2014 19:29:20 +0200 Subject: [PATCH] [entropy.db] do not drop needed, improve backward compat. --- lib/entropy/db/sqlite.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/entropy/db/sqlite.py b/lib/entropy/db/sqlite.py index 8eb343050..cbb121a28 100644 --- a/lib/entropy/db/sqlite.py +++ b/lib/entropy/db/sqlite.py @@ -2475,7 +2475,7 @@ class EntropySQLiteRepository(EntropySQLRepository): ALTER TABLE needed_libs_temp RENAME TO needed_libs; DROP TABLE IF EXISTS neededreference; - DROP TABLE IF EXISTS needed; + DELETE FROM needed; COMMIT; """) self._clearLiveCache("_doesTableExist")