Hi all,

I am facing a problem while trying to use Sqlite3 on linux 64 bits with
LabVIEW. 

I already posted this here
(http://stackoverflow.com/questions/26635506/sqlite-nomem-error-on-linux-64-
bits
<http://stackoverflow.com/questions/26635506/sqlite-nomem-error-on-linux-64-
bits#comment41900085_26635506> ) but received no help. 

 

Here is my problem :

I have successfully compiled the library for linux 64 bits (RHEL6) with
different versions of Sqlite3 sources.

Then I tried to call that library with 2 existing Sqlite3 wrappers for
LabVIEW (They already work fine for win32/64 linux32), using a simple
example.

This simple example does the following (and was tested OK on
win32/win64/linux32) :

-          Open connection

-          DROP TABLE IF EXISTS 

-          CREATE TABLE [MyTable] ([Id] INTEGER NOT NULL PRIMARY KEY
AUTOINCREMENT, [Temperature] FLOAT NOT NULL, [Sensor] TEXT NULL);

-          INSERT INTO MyTable (Sensor, Temperature) VALUES ("%s", "%0.2f");

-          ...

 

With version 3.8.7 (lastest) of sqlite3 :
I get a crash of LabVIEW when calling the sqlite3_step with the CREATE TABLE
statement 

 

With version 3.7.5 of sqlite3 :
I get a SQLITE_NOMEM out of memory error on the same function call

 

Note that it's the same with the DROP TABLE statement when opening a file
already containing a database

 

I get the same behavior with the 2 LabVIEW wrappers and checked them, so I
don't suspect the LabVIEW code 

 

Any suggestions ? Thanks for your help


Regards,

Christophe

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to