[sqlite] sqlite give "database or disk full"

2015-02-07 Thread jitendar kumar
Hello sqlite Users, I am using sqlite on arm-board and getting a "database or disk full" error (SQLITE_FULL) while using the update command. 1. DB file location is set to some /opt/dbspace/*.db. ( 32 Gb space and 4 GB RAM) 2. Not used compile time option SQLITE_TEMP_STORE so, deafult value

Re: [sqlite] memcpy usage in SQLITE

2013-12-23 Thread jitendar kumar
before any memcpy is called. void * memcpy_safe( void *dest, const void *src, int length) { if ( dest !=0 && src != 0 ) return memcpy(dest , src , length ) else return dest } Thanks and Regards, Jitend

Re: [sqlite] memcpy usage in SQLITE

2013-12-22 Thread jitendar kumar
Dear Mr Richard, Thanks for the information. My concern is not only about the memcpy in sqlite3ExprAlloc(). Do any other memcpy() instance present in source code "safe" from condition where memcpy() having src=NULL and length !=0. Regards, Jite

[sqlite] memcpy usage in SQLITE

2013-12-21 Thread jitendar kumar
d to any memcpy in source code could ever have value src =NULL and length != 0 " ??? or " Is SQLITE safe from any scenario where memcpy can have values src = NULL and length != 0 " ??? Looking forward to your valuable suggestions . Tha

[sqlite] Query "select date(\"now\")" show EPOCH time on ARM- Coertex A15 board

2013-10-19 Thread jitendar kumar
put of EPOCH time. i guess the function gettimeofday() fails to add the time to the default EPOCH time. I have also tried to use clock_gettime() but gets the same output on board. Please provide your valuable suggestions to overcome this issue. Thanks in Advance. Reg