Re: [sqlite] Hard time with blobs

2008-07-25 Thread Igor Tandetnik
"Sherief N. Farouk" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > That will make this case legal. What's the general behavior though? > Is it not guaranteed to be consumed during the call to bind_blob? In > other words, without providing SQLITE_TRANSIENT, can I get into > trouble wi

Re: [sqlite] Hard time with blobs

2008-07-25 Thread Sherief N. Farouk
L PROTECTED] [mailto:sqlite-users- > [EMAIL PROTECTED] On Behalf Of Dan > Sent: Friday, July 25, 2008 3:22 AM > To: General Discussion of SQLite Database > Subject: Re: [sqlite] Hard time with blobs > > > On Jul 25, 2008, at 12:05 PM, Sherief N. Farouk wrote: > > > I'm

Re: [sqlite] Hard time with blobs

2008-07-25 Thread Dan
Of Dan >> Sent: Friday, July 25, 2008 12:51 AM >> To: General Discussion of SQLite Database >> Subject: Re: [sqlite] Hard time with blobs >> >> >> On Jul 25, 2008, at 10:35 AM, Sherief N. Farouk wrote: >> >>> I want to use blobs to store binary o

Re: [sqlite] Hard time with blobs

2008-07-24 Thread Sherief N. Farouk
bData; ? - Sherief > -Original Message- > From: [EMAIL PROTECTED] [mailto:sqlite-users- > [EMAIL PROTECTED] On Behalf Of Dan > Sent: Friday, July 25, 2008 12:51 AM > To: General Discussion of SQLite Database > Subject: Re: [sqlite] Hard time with blobs > > > On Ju

Re: [sqlite] Hard time with blobs

2008-07-24 Thread Dan
On Jul 25, 2008, at 10:35 AM, Sherief N. Farouk wrote: > I want to use blobs to store binary objects in the database, but > I'm having > a hard time understanding how they work. First of all, I don't see > a way to > set a blob's size, and sqlite3_blob_write doesn't increase the size > of t

[sqlite] Hard time with blobs

2008-07-24 Thread Sherief N. Farouk
I want to use blobs to store binary objects in the database, but I'm having a hard time understanding how they work. First of all, I don't see a way to set a blob's size, and sqlite3_blob_write doesn't increase the size of the blob, which is putting me in a weird catch-22 situation. What's the bes