2012/4/30 Andy Wingo <wi...@pobox.com>
>
> Would you mind sending a pull request on gitorious?  Preferably we could
> add a test case too.
>

 I apologize for my poor english; I'm willing to "send a pull request on
gitorious" but don't know what means that sentence.

Joonas had reported that Segmentation fault crash will be occur
in guile-sqlite3 when you use sqlite-bind with a string; I think he would
suspect it  as sqlite-finalize's problem.

I realized sqlite-bind treats sqlite-transient as a pointer and it would
occur same Segmentation fault when you with bytevector; only numerical
value will work well. That's because sqlite3_bind_blob
and sqlite3_bind_text of libsqlite3 expect it's last argument as a function
pointer or just uint64_t type of 0x00000000 or 0xffffffff; you can use C
function if sqlite-transient be it but you should use 0x00000000 or
0xffffffff if not so, and the meaning of SQLITE_TRANSIENT is it's a
0xffffffff.

Joonas, would you mind sending a pull request on gitorious?

Reply via email to