Re: [sqlite] TCL Test failures on ARM

2013-03-14 Thread Bk
Hi, can any one tel me how can i fix this issue ? Thank you Brijesh -- View this message in context: http://sqlite.1065341.n5.nabble.com/TCL-Test-failures-on-ARM-tp67612p67727.html Sent from the SQLite mailing list archive at Nabble.com. ___

Re: [sqlite] TCL Test failures on ARM

2013-03-17 Thread Bk
can some one point out what went wrong here ? -- View this message in context: http://sqlite.1065341.n5.nabble.com/TCL-Test-failures-on-ARM-tp67612p67741.html Sent from the SQLite mailing list archive at Nabble.com. ___ sqlite-users mailing list

Re: [sqlite] TCL Test failures on ARM

2013-03-28 Thread Bk
Hi, The osFtruncate is not returning non zero value. i have put breakpoint at ts_ftruncate abd robust_ftruncate (gdb) break robust_ftruncate Breakpoint 2 at 0x636ec: file sqlite3.c, line 23439. (gdb) continue Continuing. Breakpoint 2, robust_ftruncate (h=7, sz=0) at sqlite3.c:23439 23439

Re: [sqlite] TCL Test failures on ARM

2013-03-28 Thread Bk
Hi, The osFtruncate is not returning zero value. i have put breakpoint at ts_ftruncate abd robust_ftruncate (gdb) break robust_ftruncate Breakpoint 2 at 0x636ec: file sqlite3.c, line 23439. (gdb) continue Continuing. Breakpoint 2, robust_ftruncate (h=7, sz=0) at sqlite3.c:23439 23439

Re: [sqlite] TCL Test failures on ARM

2013-03-29 Thread Bk
The perror("ftruncate") is printing ftruncate: : File too large . i have a 2GB card in the embedded device with 50% mem free. Below is the output window shows when the test executed. sysfault-2.setup... Ok ftruncate: : File too large ftruncate: : File too large ftruncate: : File too large

Re: [sqlite] TCL Test failures on ARM

2013-04-01 Thread Bk
I have updated make file with "TCC = armv7l-timesys-linux-gnueabi-gcc -g -DSQLITE_OS_UNIX=1 -DSQLITE_DISABLE_LFS=1 -I. -I${TOP}/src -I${TOP}/ext/rtree" The test still fails with DSQLITE_DISABLE_LFS=1 with same error sysfault-2.setup... Ok ftruncate: : File too large ftruncate: : File too

Re: [sqlite] TCL Test failures on ARM

2013-04-02 Thread Bk
Hi, i have noticed that the tests pass if built with below command TCC = armv7l-timesys-linux-gnueabi-gcc -D_FILE_OFFSET_BITS=64 -DSQLITE_OS_UNIX=1 -I. -I${TOP}/src -I${TOP}/ext/rtree Where i have added "-D_FILE_OFFSET_BITS=64" . 1) i am using Linux 32bit on the embedded device, is it

Re: [sqlite] TCL Test failures on ARM

2013-04-03 Thread Bk
Hi, Thank you all for the reply. i am still wondering why setting DSQLITE_DISABLE_LFS=1 had no effect on the code when we have a clear #ifndef ? , 1) if my application does not need LFS , how do i really make it here (system uses : Linux nitrogen6x 3.0.15-ts-armv7l) ? i was getting

[sqlite] Variable-length records

2013-04-18 Thread Bk
can some one tell me which of the tcl test script tests below two points of SQLite ? 1) Variable-length records 2) Internal or temporary databases: load the data into an in-memory SQLite database and use queries with joins and ORDER BY clauses to extract the data in the form and order needed

Re: [sqlite] Variable-length records

2013-04-19 Thread Bk
Thank You -- View this message in context: http://sqlite.1065341.n5.nabble.com/Variable-length-records-tp68277p68300.html Sent from the SQLite mailing list archive at Nabble.com. ___ sqlite-users mailing list sqlite-users@sqlite.org