Added bind blob & text

This commit is contained in:
Maas-Maarten Zeeman
2022-05-22 16:54:21 +02:00
parent 20af1ea0bd
commit c5f33d31bd
4 changed files with 110 additions and 47 deletions

View File

@@ -23,12 +23,13 @@ close_test() ->
ok = esqlite3:close(C),
%% Check if functions still return sensible values.
% {error, closed} = esqlite3:set_update_hook(self(), C),
{error, closed} = esqlite3:set_update_hook(C, self()),
{error, closed} = esqlite3:changes(C),
{error, closed} = esqlite3:get_autocommit(C),
{error, closed} = esqlite3:last_insert_rowid(C),
?assertEqual({error, {misuse, invoked_incorrectly}}, esqlite3:exec(C, "create table test(one, two, three)")),
?assertEqual({error, {misuse, invoked_incorrectly}},
esqlite3:exec(C, "create table test(one, two, three)")),
ok.