Thank you for the explanation Roger. My apologies to Mark for hijacking
the thread.

Cheers,
Dave.


-----Original Message-----
From: Roger Binns [mailto:[email protected]] 
Sent: Sunday, September 05, 2010 12:07 PM
To: General Discussion of SQLite Database
Subject: Re: [sqlite] 64 bit soft heap limit feature request

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 09/05/2010 12:15 AM, Dave Toll wrote:
> I do not
> understand why there is an assert towards the end of
> sqlite3_initialize() that fails on a 32-bit platform if SQLITE_DEBUG
is
> defined (code taken from SQLite 3.6.23.1):
[...]
> Am I missing something here? I define SQLITE_INT64_TYPE as long in
order
> to compile.

The integers that SQLite can store are up to 64 bit signed.  For example
'long long' on 32 bit platforms is typically 64 bit.  The section of
code you quoted looks at floating point values (double precision in C)
which also should be 64 bit.  It verifies that the 64 bit floating point
values and 64 bit integers are indeed 64 bit.  Then it verifies a way of
representing the floating point 'not a number' concept.  This all has
nothing to do with the prior messages in the thread :-)

Roger
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkyDCUEACgkQmOOfHg372QStfwCdEf3SuNqaoRmcNA9yg9dysnIo
BfsAoKn7OJscUIJspyVZxJYPlIJ+mRZV
=4lXy
-----END PGP SIGNATURE-----

_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to