diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 4a06c133d..71c2e47c8 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -49,7 +49,7 @@ jobs: - uses: actions/checkout@v3 - name: Clippy run: | - cargo clippy --workspace --all-features --all-targets --exclude limbo-wasm --exclude sqlite3-parser -- -A clippy::all -W clippy::correctness -W clippy::perf -W clippy::suspicious --deny=warnings + cargo clippy --workspace --all-features --all-targets --exclude limbo-wasm --exclude limbo_sqlite3_parser -- -A clippy::all -W clippy::correctness -W clippy::perf -W clippy::suspicious --deny=warnings - name: Clippy `limbo-wasm` crate `nodejs` feature run: | cargo clippy --package limbo-wasm --features nodejs --all-targets --no-deps -- -A clippy::all -W clippy::correctness -W clippy::perf -W clippy::suspicious --deny=warnings diff --git a/core/translate/select.rs b/core/translate/select.rs index 208e260d3..fa2946283 100644 --- a/core/translate/select.rs +++ b/core/translate/select.rs @@ -408,6 +408,7 @@ pub fn prepare_select_plan<'a>( let mut result_columns = Vec::with_capacity(len); for i in 0..len { result_columns.push(ResultSetColumn { + // these result_columns work as placeholders for the values, so the expr doesn't matter expr: ast::Expr::Literal(ast::Literal::Numeric(i.to_string())), alias: None, contains_aggregates: false,