From 14ce0e25043dfa70d87985a1d4fa06c1d3d1c8b4 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 10 Aug 2015 12:29:27 +0300 Subject: [PATCH] update: reenable first ref_id/id transaction --- include/rssfuncs.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/rssfuncs.php b/include/rssfuncs.php index 6532fb27..14e280f9 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.2