Hi all,
I'm writing a SQLite adapter for a code generation tool. I'm a little
stumped on how you query SQLite to determine if a column is autoincremented.
I've tried
PRAGMA table_info('my_table');
which returns all the columns for the table including a flag to tell if the
column is
I have read that SQLite doesn't suport well multithreading...
I have the following problem and wonder if anyone could provide me some
guidance.
I have a GUI application using SQLite to store its data.
I have a 'Search' panel. Performing a search (scan of the database) in the
background.
And
Thanks for the response Igor.
I've added a few more introspection routines to my code to see what is going
on while these two threads are working and it seems the following is
happening:
Again, with two threads (A and B), each thread does the following:
BEGIN IMMEDIATE TRANSACTION;
(60,000
Thanks to both Christian Smith and John Stanton for your posts.
> On Wed, 19 Oct 2005, Christian Smith wrote:
> From the VDBE output you originally posted, you are doing a
> fair amount of
> work for each deleted row:
> - Index search to find the next row from EXAMINATIONS to delete
> -
Preston,
Thanks for the advice. I dumped the sql and attempted to recreate the
db and got this error:
>sqlite3 -init db.sql test.db
Loading resources from db.sql
INSERT INTO "category_meta_information" VALUES(NULL, NULL, NULL, NULL, NULL);
SQL error: category_meta_information.taxonomy_id may not
Hi,
>Sorry, I forgot to add: sqlite3_column_name(16). Currently I
>let MS .NET free memory from that as well.
You shouldn't do that. with sqlite 2 you had to free some memory when
calling sqlite_compile using sqlite_freemem. With sqlite3 that is no
longer needed, also not when calling
Sorry, I forgot to add: sqlite3_column_name(16). Currently I
let MS .NET free memory from that as well.
Thanks,
Rob
- Original Message -
From: "Rob Lohman" <[EMAIL PROTECTED]>
To:
Sent: Friday, October 21, 2005 7:05 PM
Subject: [sqlite] who is responsible
Hi everyone,
A couple of months ago I started writing a Microsoft .NET
(1.1 at the moment, but it will be 2.0) wrapper around SQLite.
I know a couple of those already exist, but for various
reasons these do not meet my requirements.
Everything is looking fine except for managing memory. I've
Michael J. Sviridov wrote:
I've got two thread's (with unique db handles), each thread does the
following:
BEGIN EXCLUSIVE TRANSACTION;
(60,000 INSERT OR REPLACE statements into the same table)
COMMIT TRANSACTION;
This works fine, as expected, one thread acquires the lock and the
other thread
Hi All
Using sqlite 3.2.7 in a multi-threaded C++ application:
I've got two thread's (with unique db handles), each thread does the
following:
BEGIN EXCLUSIVE TRANSACTION;
(60,000 INSERT OR REPLACE statements into the same table)
COMMIT TRANSACTION;
This works fine, as
Cory Nelson wrote:
>
> Indeed it should probably include sqlite3.h, but you are supposed to
> generate an import .lib for your compiler using the .def file. VC++ comes
> with lib.exe, I'm not sure how you do it with others.
>
>
I know that the GNU compilers have a similar utility - I just have
11 matches
Mail list logo