NO

Author Topic: sqlite 3.6.22 amalgamation  (Read 3515 times)

Alessio

  • Guest
sqlite 3.6.22 amalgamation
« on: February 16, 2010, 10:23:21 am »
Hi,
how to build a project with sqlite 3.6.22 amalgamation ?

I define _WIN32_WCE and SQLITE_OMIT_LOCALTIME, add structure tm
but it seems to lock when build.

(It compile fine with PellesC 5.0.0.1)

Thanks,
Alessio

« Last Edit: February 16, 2010, 11:06:36 am by Alessio »

vain

  • Guest
Re: sqlite 3.6.22 amalgamation
« Reply #1 on: May 07, 2010, 08:58:06 pm »
I got similar problem with 3.6.23.1 amalgamation, so I tried the separate source distribution.
It locks up in files fts3_write.c and pager.c from sqlite-source-3_6_23_1.zip. Compiling fts3_write.c it gives a warning:
Code: [Select]
fts3_write.c(1065): warning #2168: Operands of '=' have incompatible types 'int __cdecl function(const void *, const void *)' and 'int __stdcall function(const void *, const void *)'and proceeds to loop forever. Here's function sqlite3Fts3SegReaderPending(...):
Code: [Select]
1064:    if( nElem>1 ){
1065:      qsort(aElem, nElem, sizeof(Fts3HashElem *), fts3CompareElemByTerm);
1066:    }

With pager.c it runs straight to outer space without any warnings or errors  ;D
Task Manager invariably reported pocc.exe using 50-51% CPU and 2,188K memory.

addniim

  • Guest
Re: sqlite 3.6.22 amalgamation
« Reply #2 on: June 04, 2010, 05:53:50 am »
yeaaa  ;D