Re: [sqlite] SQLite working with C++'s iostream

2010-10-03 Thread Pierre Krieger
> That's going to be problematic, because almost all of SQLite's usage > of underlying I/O is block-style, not stream-style, more akin to > accessing elements in a persistent byte array (with other practical > matters added on, of course) than to reading and writing streams. > You'd probably be bet

Re: [sqlite] SQLite working with C++'s iostream

2010-10-03 Thread Pierre Krieger
Thanks for answering > You claim that documentation is missing.  Specifically what was not > documented? Well I was referring to the online documentation (sqlite.org/c3ref/vfs.html and sqlite.org/c3ref/io_methods.html) which don't explain the effects, possible return codes, etc. of some of the f

[sqlite] SQLite working with C++'s iostream

2010-10-03 Thread Pierre KRIEGER
Hi, Two days ago I asked a question on stackoverflow.com about how to make SQLite interface with C++'s streams Here is the link: http://stackoverflow.com/questions/3839158/using-sqlite-with-stdiostream Since nobody answered, I made my own implementation (you can see its source code on the same p