On Sun, Mar 09, 2008 at 01:41:24AM +, [EMAIL PROTECTED] wrote:
> The error is not occurring until later, the first time you
> try to access the database using the dbcomm object.
Yes, right - opening itself isn't any access yet.
--
pozdrawiam / regards
Zbigniew Baniewski <[EMAIL PROTECTED]> wrote:
> I'm afraid, I've discovered a bug: there's no possibility to "catch" the
> error "database is locked". Even, when one's trying something like:
>
> #v+
> if { [catch {sqlite3 dbcomm $fullPathToDatabaseFile} err] } {
> puts $err
> }
> #v-
>
>
I'm afraid, I've discovered a bug: there's no possibility to "catch" the
error "database is locked". Even, when one's trying something like:
#v+
if { [catch {sqlite3 dbcomm $fullPathToDatabaseFile} err] } {
puts $err
}
#v-
There'll be no $err output, because - as it seems - "catch" won't
Hi Folks
Thanks for your answers.
I already had the latest build, and i linked the lib correctly with my Linker.
I found the solution in the meantime. It was quite easy actually:
I only had to manually add the -ldl option to my linker and all worked fine.
Thanks anyway for your support :)
Looks like you need to include the shared library archive into your LIB
list.
Severin Müller wrote:
> Hi folks
>
> I tried to include sqlite3 in my current C Project.
>
> I downloaded the precompiled library sqlite-3.5.6.so and put it in my project.
> Then, i downloaded the sqlite source and
Clay Dowling <[EMAIL PROTECTED]> wrote:
> Severin Müller wrote:
> > I tried to include sqlite3 in my current C Project. =
>
> > =
>
> > I downloaded the precompiled library sqlite-3.5.6.so and put it in my pro=
> ject.
> > Then, i downloaded the sqlite source and added sqlite3.h to my project. =
Severin Müller wrote:
> I tried to include sqlite3 in my current C Project.
>
> I downloaded the precompiled library sqlite-3.5.6.so and put it in my project.
> Then, i downloaded the sqlite source and added sqlite3.h to my project.
>
> Now, when i try to compiler, i get the following error
Hi folks
I tried to include sqlite3 in my current C Project.
I downloaded the precompiled library sqlite-3.5.6.so and put it in my project.
Then, i downloaded the sqlite source and added sqlite3.h to my project.
Now, when i try to compiler, i get the following error message:
Hi James,
> / > sqlite3 test.db `select name from PerfTest1 where name =
> "key5000"'
>
> does work. I know this because if I query for "key500" I get back
> that row.
It may work, but it's still wrong ;-) You should use single quotes for
literals, which is correct SQL syntax. SQLite
9 matches
Mail list logo