Skip to content
This repository was archived by the owner on Jul 11, 2021. It is now read-only.

Commit 7a94ae6

Browse files
author
Simone Mosciatti
committed
add explaination comment
1 parent 1ed31c3 commit 7a94ae6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

redisql_lib/src/community_statement.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,9 @@ impl<'a> StatementTrait<'a> for Statement {
210210
)
211211
} {
212212
ffi::SQLITE_OK => Ok(SQLiteOK::OK),
213+
214+
// it means that a statement requires less than $index paramenter, it is fine to just
215+
// shortcut it to Ok.
213216
ffi::SQLITE_RANGE => Ok(SQLiteOK::OK),
214217
_ => Err(self.get_last_error()),
215218
}

0 commit comments

Comments
 (0)