From: Sarah Hoffmann Date: Thu, 8 Aug 2024 09:11:04 +0000 (+0200) Subject: Merge remote-tracking branch 'upstream/master' X-Git-Tag: deploy~4 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/a28e158bddaed6c690c13df01bfd18a6dd647485 Merge remote-tracking branch 'upstream/master' --- a28e158bddaed6c690c13df01bfd18a6dd647485 diff --cc src/nominatim_db/tokenizer/icu_tokenizer.py index 70273b90,7cd96d59..4eee2c73 --- a/src/nominatim_db/tokenizer/icu_tokenizer.py +++ b/src/nominatim_db/tokenizer/icu_tokenizer.py @@@ -192,9 -190,8 +190,9 @@@ class ICUTokenizer(AbstractTokenizer) END) as info FROM word LEFT JOIN word_frequencies wf ON word.word_id = wf.id + ORDER BY word_id """) - cur.drop_table('word_frequencies') + drop_tables(conn, 'word_frequencies') with conn.cursor() as cur: cur.execute('SET max_parallel_workers_per_gather TO 0')