]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Only allow variables in LIMIT clauses if the LIMIT is within a LATERAL subquery
authordrh <>
Mon, 22 Jul 2024 16:59:35 +0000 (16:59 +0000)
committerdrh <>
Mon, 22 Jul 2024 16:59:35 +0000 (16:59 +0000)
commitce9ef1d43f0e46f004e70c348fe150e4b775503a
tree53cf1c8500b7e1de1ffea5e21c9bcf676dae6cad
parent9b554155d80798238f3c2d29c674f90f77b1685d
Only allow variables in LIMIT clauses if the LIMIT is within a LATERAL subquery
and the variable resolves to another FROM clause term to the left of the
subquery.  We cannot allow variables from outer contexts because the LIMIT
value is computed before the cursors in the outer context have been initialized.

FossilOrigin-Name: 0a2531c3a3750fd22360595274eb97fa66d17a90502180b7b11adc5b136da5ed
manifest
manifest.uuid
src/resolve.c