From: Andrew Dolgov Date: Mon, 10 Aug 2015 09:29:27 +0000 (+0300) Subject: update: reenable first ref_id/id transaction X-Git-Tag: 16.3~182^2~3 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=14ce0e25043dfa70d87985a1d4fa06c1d3d1c8b4;p=tt-rss.git update: reenable first ref_id/id transaction --- 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);