Re: [sqlite] sqlite on freertos/fatfs : SQLITE_NOTADB during create table

2018-08-01 Thread Bram Peeters
] sqlite on freertos/fatfs : SQLITE_NOTADB during create table On 07/28/2018 10:51 PM, Bram Peeters wrote: > Ah maybe that is also interesting to know: i put a breakpoint on the write > convenience wrapper in sqlite, it is never called. > So it is not that there is a problem with the write

Re: [sqlite] sqlite on freertos/fatfs : SQLITE_NOTADB during create table

2018-07-28 Thread Bram Peeters
...@mailinglists.sqlite.org] on behalf of Bram Peeters [bram.peet...@dekimo.com] Sent: Saturday, July 28, 2018 17:45 To: SQLite mailing list Subject: Re: [sqlite] sqlite on freertos/fatfs : SQLITE_NOTADB during create table >An empty file and a file filled with zeros are two different things The file is empty/has siz

Re: [sqlite] sqlite on freertos/fatfs : SQLITE_NOTADB during create table

2018-07-28 Thread Bram Peeters
.de] Sent: Saturday, July 28, 2018 15:07 To: sqlite-users@mailinglists.sqlite.org Subject: Re: [sqlite] sqlite on freertos/fatfs : SQLITE_NOTADB during create table Bram Peeters wrote: > He reads a page from the file in sqlite3PagerSharedLock, but the file is > still 0 so the page is all zeros.

[sqlite] sqlite on freertos/fatfs : SQLITE_NOTADB during create table

2018-07-28 Thread Bram Peeters
{ sqlite3_free(zErrMsg); LOGGER_LOG_FATAL(LOG_CLASS, "Could not execute select: %d", rc); l_nIntermediateResult = e_RETURNVALUE_Failure; } } if ( e_RETURNVALUE_Success == l_nIntermediateResult ) { sqlit