mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-10 02:34:20 +01:00
Small nits/clippy errors in vdbe
This commit is contained in:
@@ -1062,8 +1062,7 @@ impl Program {
|
||||
let rowid = {
|
||||
let mut index_cursor = state.get_cursor(index_cursor_id);
|
||||
let index_cursor = index_cursor.as_btree_mut();
|
||||
let rowid = index_cursor.rowid()?;
|
||||
rowid
|
||||
index_cursor.rowid()?
|
||||
};
|
||||
let mut table_cursor = state.get_cursor(table_cursor_id);
|
||||
let table_cursor = table_cursor.as_btree_mut();
|
||||
@@ -1804,8 +1803,7 @@ impl Program {
|
||||
unreachable!();
|
||||
};
|
||||
|
||||
if (matches!(func, AggFunc::Count) && matches!(col, OwnedValue::Null))
|
||||
== false
|
||||
if !(matches!(func, AggFunc::Count) && matches!(col, OwnedValue::Null))
|
||||
{
|
||||
*count += 1;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user