]> git.wh0rd.org Git - tt-rss.git/commitdiff
update: reenable first ref_id/id transaction
authorAndrew Dolgov <noreply@madoka.volgo-balt.ru>
Mon, 10 Aug 2015 09:29:27 +0000 (12:29 +0300)
committerAndrew Dolgov <noreply@madoka.volgo-balt.ru>
Mon, 10 Aug 2015 09:29:27 +0000 (12:29 +0300)
include/rssfuncs.php

index 6532fb270e6f385c9d3506a1cb29df6a667ba9d3..14e280f9fe49a266700bb2b7fb20f03632a711a8 100644 (file)
 
                                $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')");
                                        }
 
                                        if (find_article_filter($article_filters, "filter")) {
-                                               //db_query("COMMIT"); // close transaction in progress
+                                               db_query("COMMIT"); // close transaction in progress
                                                continue;
                                        }
 
                                        }
                                }
 
-                               //db_query("COMMIT");
+                               db_query("COMMIT");
 
                                _debug("assigning labels [other]...", $debug_enabled);