Re: [Chicken-users] Inserting Binary Data with sql-de-lite

2015-06-24 Thread Andy Bennett
On Mon, 22 Jun 2015 16:36:52 -0500, Jim Ursetto wrote: Andy, What if you convert the string to a blob before passing it in? Yes! That fixes it. Thanks. My bad: I'd put read-string in to read the data from the port during prototyping and then forgotten about it. Thanks for the tips! --

[Chicken-users] Inserting Binary Data with sql-de-lite

2015-06-22 Thread Andy Bennett
Hi, I'm using a parameterized statement to insert binary data into sql-de-lite (0.6.6) on CHICKEN 4.10rc1. When I call sql-de-lite's exec procedure I get: - Error: (##sys#make-c-string) cannot represent string with NUL bytes as C string: ��\x00... ... Call history:

Re: [Chicken-users] Inserting Binary Data with sql-de-lite

2015-06-22 Thread Jim Ursetto
Andy, What if you convert the string to a blob before passing it in? Jim On Jun 22, 2015, at 12:16, Andy Bennett andy...@ashurst.eu.org wrote: Hi, I'm using a parameterized statement to insert binary data into sql-de-lite (0.6.6) on CHICKEN 4.10rc1. When I call sql-de-lite's exec