refactor: refs #4502 zoneEstimatedDelivery
gitea/salix/pipeline/head Build queued... Details

This commit is contained in:
Guillermo Bonet 2023-11-17 07:44:43 +01:00
parent 3d1c69be56
commit 8da36569f7
1 changed files with 2 additions and 4 deletions

View File

@ -163,13 +163,11 @@ module.exports = Self => {
const stmts = [];
let stmt;
stmts.push('DROP TEMPORARY TABLE IF EXISTS tmp.filter');
stmts.push(`SET @_optimizer_search_depth = @@optimizer_search_depth`);
stmts.push(`SET SESSION optimizer_search_depth = 0`);
stmt = new ParameterizedSQL(`
CREATE TEMPORARY TABLE tmp.filter
CREATE OR REPLACE TEMPORARY TABLE tmp.filter
(PRIMARY KEY (id))
ENGINE = MEMORY
SELECT t.id,