Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0

Fix wrong column name in torrents_action

Cette révision appartient à :
tomleb 2017-05-31 21:19:55 -04:00
Parent ba683c3bcb
révision 418254af3f

Voir le fichier

@ -23,7 +23,7 @@ pgconn = psycopg2.connect(dbparams)
cur = pgconn.cursor()
# We MUST use NO QUERY CACHE because the values are insert on triggers and
# not through pgppool.
cur.execute("""/*NO QUERY CACHE*/ SELECT id, torrent_id, action FROM reindex_torrents""")
cur.execute("""/*NO QUERY CACHE*/ SELECT reindex_torrents_id, torrent_id, action FROM reindex_torrents""")
fetches = cur.fetchmany(CHUNK_SIZE)
while fetches: