aboutsummaryrefslogtreecommitdiff
path: root/iomt.c
diff options
context:
space:
mode:
authorFranklin Wei <me@fwei.tk>2018-07-11 13:22:41 -0400
committerFranklin Wei <me@fwei.tk>2018-07-11 13:22:41 -0400
commit7ef3b693e36ee5935fb769bdef81317f2fe2caff (patch)
tree98cfe96825662d2595bed0f0cacebe4ceec7fee0 /iomt.c
parent8aafb24ff873f9acea736a3574217256e2ebf5d9 (diff)
downloadcsaa-7ef3b693e36ee5935fb769bdef81317f2fe2caff.zip
csaa-7ef3b693e36ee5935fb769bdef81317f2fe2caff.tar.gz
csaa-7ef3b693e36ee5935fb769bdef81317f2fe2caff.tar.bz2
csaa-7ef3b693e36ee5935fb769bdef81317f2fe2caff.tar.xz
Add tests for IOMT search operations (disabled by default)
Uncomment the run_tests() call in main.c to run the tests.
Diffstat (limited to 'iomt.c')
-rw-r--r--iomt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iomt.c b/iomt.c
index 0406994..73e073a 100644
--- a/iomt.c
+++ b/iomt.c
@@ -358,7 +358,7 @@ struct iomt_node iomt_find_encloser(const struct iomt *tree, uint64_t idx, uint6
if(sqlite3_step(st) == SQLITE_ROW)
{
if(leafidx)
- *leafidx = sqlite3_column_int64(st, 0);
+ *leafidx = sqlite3_column_int64(st, 0);
struct iomt_node ret;
ret.idx = sqlite3_column_int64(st, 1);
ret.next_idx = sqlite3_column_int64(st, 2);