LibSQL: Clean up code style and remove unused includes

No functional changes.
This commit is contained in:
Jelle Raaijmakers 2023-04-19 19:03:00 +02:00 committed by Tim Flynn
commit a99c1297e0
Notes: sideshowbarker 2024-07-17 07:25:39 +09:00
14 changed files with 43 additions and 96 deletions

View file

@ -208,9 +208,8 @@ void insert_into_and_scan_btree(int num_keys)
SQL::Tuple prev;
for (auto iter = btree->begin(); !iter.is_end(); iter++, count++) {
auto key = (*iter);
if (prev.size()) {
if (prev.size())
EXPECT(prev < key);
}
auto key_value = key[0].to_int<i32>();
for (auto ix = 0; ix < num_keys; ix++) {
if (keys[ix] == key_value) {