borra tabla temporal
gitea/salix/dev This commit looks good Details

This commit is contained in:
Javi Gallego 2019-10-10 12:14:21 +02:00
parent 9bfc87f1e2
commit 3e71338d94
1 changed files with 2 additions and 0 deletions

View File

@ -30,10 +30,12 @@ module.exports = Self => {
stmts.push(new ParameterizedSQL('CALL vn.subordinateGetList(?)', [myWorker.id])); stmts.push(new ParameterizedSQL('CALL vn.subordinateGetList(?)', [myWorker.id]));
stmts.push('SELECT * FROM tmp.subordinate'); stmts.push('SELECT * FROM tmp.subordinate');
stmts.push('DROP TEMPORARY TABLE tmp.subordinate');
let sql = ParameterizedSQL.join(stmts, ';'); let sql = ParameterizedSQL.join(stmts, ';');
let result = await conn.executeStmt(sql); let result = await conn.executeStmt(sql);
return result[1]; return result[1];
}; };
}; };