mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:37:35 +00:00
LibSQL: Clean up code style and remove unused includes
No functional changes.
This commit is contained in:
parent
8992ff5aeb
commit
a99c1297e0
14 changed files with 43 additions and 96 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue