Re: [sqlite] Bounds Checker

2006-08-12 Thread Shawn Walker
Thanks! I will run that test on Monday and let you know what BoundsChecker finds. Thanks, Shawn [EMAIL PROTECTED] wrote: Shawn Walker <[EMAIL PROTECTED]> wrote: What regression testing did you use? I would like to run the same test with Bounds Checker and see what I see. va

Re: [sqlite] Bounds Checker

2006-08-12 Thread Shawn Walker
What regression testing did you use? I would like to run the same test with Bounds Checker and see what I see. Shawn [EMAIL PROTECTED] wrote: Shawn Walker <[EMAIL PROTECTED]> wrote: Has anybody run Bounds Checker on SQLite 3? valgrind (http://valgrind.org/) shows that SQLite3 is f

[sqlite] Bounds Checker

2006-08-11 Thread Shawn Walker
Has anybody run Bounds Checker on SQLite 3? I'm getting a lot of memory leaks, overruns, etc that is being reported by Bounds Checker. But, what is strange is that the warning message doesn't match up with the source for some reason. For example: Memory Leak Leaving Scope: Variable z refere

[sqlite] Compiling SQLite 3 on Windows

2006-08-11 Thread Shawn Walker
Do I need to compile SQLite 3 source code with "-DNDEBUG" for the no debug version? I see "NDEBUG" in the source, but wasn't sure. Thanks, Shawn

Re: [sqlite] How to get the size of the value

2005-07-28 Thread Shawn Walker
Dennis Cote wrote: Shawn Walker wrote: How do I determine the size of the value of the string/blob that is in the database? I would like to know how big the data so that I can determine how to handle the data if it's a large data so that I can put the data in a file instead of in m

[sqlite] How to get the size of the value

2005-07-28 Thread Shawn Walker
How do I determine the size of the value of the string/blob that is in the database? I would like to know how big the data so that I can determine how to handle the data if it's a large data so that I can put the data in a file instead of in memory. Thanks, Shawn

Re: [sqlite] Limit how much data to read

2005-07-25 Thread Shawn Walker
Where in the documentation that explains how to use the sqlite substr() function? Cory Nelson wrote: Try the substr() function On 7/25/05, Shawn Walker <[EMAIL PROTECTED]> wrote: Is there a way to tell sqlite to read up to X bytes? For example, there are some data that can be quite

[sqlite] Limit how much data to read

2005-07-25 Thread Shawn Walker
Is there a way to tell sqlite to read up to X bytes? For example, there are some data that can be quite large, but I don't need all of them, just a little bit of it to show the user some of the data and they can select that data to get the rest of the data from the DB.

Re: [sqlite] Reading strings and blobs

2005-07-22 Thread Shawn Walker
D. Richard Hipp wrote: On Fri, 2005-07-22 at 19:15 -0500, Shawn Walker wrote: Is there a way to have sqlite to call a callback function to read in strings and blobs? No. If your blobs are too big to fit in memory, perhaps you should consider storing them each in a separate file and then

[sqlite] Reading strings and blobs

2005-07-22 Thread Shawn Walker
Is there a way to have sqlite to call a callback function to read in strings and blobs? What I mean is that we have some very large data and rather not consume all those memory, so what I want to do is pass a user defined pointer that contains a pointer to a file handle (as an example) and tha

[sqlite] Recover from SQLITE_CORRUPT?

2005-07-13 Thread Shawn Walker
Is there any hope of recovering from a SQLITE_CORRUPT error code? Thanks, Shawn

[sqlite] How Disable Journaling on Windows

2004-10-12 Thread Shawn Walker
How do I disable Journalling in SQLite 3.0? I thought setting "PRAGMA temp_store=MEMORY;" would do that? Thanks, Shawn

[sqlite] Disable Journaling on Windows

2004-10-12 Thread Shawn Walker
How do I disable Journalling in SQLite 3.0? I thought setting "PRAGMA temp_store=MEMORY;" would do that? Thanks, Shawn