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

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