[sqlite] Question about the sqlite3_column_bytes

2012-09-15 Thread kjell.gunnarsson
Hi,

sqlite3_column_bytes should be used to get info about the length of the 
Blob-data when extracting data from a table that contains a BLOB column.
sqlite3_column_bytes returns an "int"  that can contain values in the interval 
-32768 to +32767.

But what happens if it is more bytes in the BLOB than the "int" datatype can 
represent (i.e. 100) ?.
Is there another function that should be used then ?.

Regards
Kjell Gunnarsson, Sungard




___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


[sqlite] Setting initial database size.

2012-09-01 Thread kjell.gunnarsson
Hi,

Does somebody know if it's possible to set an initial database size when the 
database is created ?.
(A large file doesn't have to be incremented in size when records are inserted).

Rgds
Kjell Gunnarsson



___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users