Re: [sqlite] Getting Error SQLITE_NOTADB

2012-10-23 Thread Arbol One
, October 23, 2012 10:32 PM To: General Discussion of SQLite Database Subject: Re: [sqlite] Getting Error SQLITE_NOTADB hi michael thanks for the responnse bt still getting the same problem language-C++ RTOS-micro itron where-creating db in digital camera external sd card and afterwards usin this

Re: [sqlite] Getting Error SQLITE_NOTADB

2012-10-23 Thread kritesh tripathi
ist > Advanced Analytics Directorate > Advanced GEOINT Solutions Operating Unit > Northrop Grumman Information Systems > > ____________ > From: sqlite-users-boun...@sqlite.org [sqlite-users-boun...@sqlite.org] > on behalf of kritesh tripathi [tripathi

Re: [sqlite] Getting Error SQLITE_NOTADB

2012-10-23 Thread Black, Michael (IS)
sqlite-users-boun...@sqlite.org [sqlite-users-boun...@sqlite.org] on behalf of kritesh tripathi [tripathi.krit...@gmail.com] Sent: Tuesday, October 23, 2012 1:44 PM To: General Discussion of SQLite Database Subject: EXT :Re: [sqlite] Getting Error SQLITE_NOTADB hi michale there is no problem

Re: [sqlite] Getting Error SQLITE_NOTADB

2012-10-23 Thread kritesh tripathi
hi simon i am not using step 4 in my program...after step 1 to 3 ,db file create in external sd card . then i am trying to update the colum value of table using upadte command with where clause but its failing due to below if condition as i mentioned in the sqlite3_prepare-->lockBtree if(memcmp..

Re: [sqlite] Getting Error SQLITE_NOTADB

2012-10-23 Thread kritesh tripathi
hi michale there is no problem in creating and inserting the records in table ...but after tht i am trying to update the coloum value of table and using update command with where clause ..here every time sqlite_exec command failing and rc returns in sqlite3_prepare such as SQLITE_NOTADB CHEERS KR

Re: [sqlite] Getting Error SQLITE_NOTADB

2012-10-23 Thread Simon Slavin
On 23 Oct 2012, at 5:58pm, kritesh tripathi wrote: > 4- Confirm by opening the .db file in sqlite browser tht dtabase table > insert the records > 5- Again Open the the database > 6- Whenever Executing Sqlite_Exec to Update the colum value of database > table . > > .Getting the Errror in S

Re: [sqlite] Getting Error SQLITE_NOTADB

2012-10-23 Thread Black, Michael (IS)
I assume you have some program doing the sqlite_exec? Care to show us your code? I just ran a test doing what you describe with SQLite Database Browser Version 2.0b1 and the following program compiled against 3.7.13; After the 2nd run of this program there are 2 records in test.db which the