On 06.02.2011 13:52 CE(S)T, Samuel Adam wrote:
> For the original poster: To prevent problems like this, if it will always
> be a BLOB then add a constraint to your table:
>
> CHECK (typeof("Data") IS 'blob')
>
> Your INSERTs will fail if inserting TEXTual data then.
I don't want my INSERT to fail, I want SQLite to see that I'm inserting
binary data. There is only one way to insert data with PHP/PDO. I give
it binary data and it's supposed to do it right.
--
Yves Goergen "LonelyPixel" <[email protected]>
Visit my web laboratory at http://beta.unclassified.de
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users