Skip to content

Conversation

@asedeno
Copy link

@asedeno asedeno commented Jan 14, 2013

SQLITE text columns may contain embedded NUL bytes. Here's a test for making sure we can round-trip such text, and a patch to make the test pass.

lisp->sqlite: Ask babel (already a cffi dependency) for octet count
              rather than telling sqlite to use strlen.

sqlite->lisp: Rewrite #'SQLITE3-COLUMN-TEXT to do conversion with
              explicit count of # SQLITE3-COLUMN-BYTES.
@weatherman2095
Copy link

This should be merged.

I have rebased it onto master be2fcc1 and it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants