From 07877caf40c8c46fe6f962b9cb1f0089e58001cc Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 10 Aug 2015 13:15:37 +0300 Subject: [PATCH] Revert "update: reenable first ref_id/id transaction" This reverts commit 14ce0e25043dfa70d87985a1d4fa06c1d3d1c8b4. --- include/rssfuncs.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/rssfuncs.php b/include/rssfuncs.php index 14e280f9..6532fb27 100644 --- a/include/rssfuncs.php +++ b/include/rssfuncs.php @@ -796,7 +796,7 @@ $entry_content = db_escape_string($entry_content, false); - db_query("BEGIN"); + //db_query("BEGIN"); $result = db_query("SELECT id FROM ttrss_entries WHERE (guid = '$entry_guid' OR guid = '$entry_guid_hashed')"); @@ -889,7 +889,7 @@ } if (find_article_filter($article_filters, "filter")) { - db_query("COMMIT"); // close transaction in progress + //db_query("COMMIT"); // close transaction in progress continue; } @@ -1020,7 +1020,7 @@ } } - db_query("COMMIT"); + //db_query("COMMIT"); _debug("assigning labels [other]...", $debug_enabled); -- 2.39.5