mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-29 05:54:21 +01:00
Merge 'perf: fix logic error in is_simple_count()' from Jussi Saurio
```
Execute `SELECT count() FROM users`/limbo_execute_select_count
time: [15.635 µs 15.676 µs 15.730 µs]
change: [-96.011% -95.991% -95.972%] (p = 0.00 < 0.05)
Performance has improved.
```
Performance has improved.
Closes #2313
Closes #2314
This commit is contained in:
@@ -464,7 +464,7 @@ impl SelectPlan {
|
||||
QueryDestination::CoroutineYield { .. }
|
||||
)
|
||||
|| self.table_references.joined_tables().len() != 1
|
||||
|| self.table_references.outer_query_refs().is_empty()
|
||||
|| !self.table_references.outer_query_refs().is_empty()
|
||||
|| self.result_columns.len() != 1
|
||||
|| self.group_by.is_some()
|
||||
|| self.contains_constant_false_condition
|
||||
|
||||
Reference in New Issue
Block a user