Re: [sqlite] sqlite3_db_release_memory(): Return value undocumented.

2012-01-16 Thread Simon Slavin

On 16 Jan 2012, at 11:05pm, Ralf Junker wrote:

> Reading the sources, sqlite3_db_release_memory() always returns
> SQLITE_OK. Will it stay this way or will it some day return another
> value like the amount of memory released?

It will stay like that.  Almost all the sqlite3 routines return a result code.  
If you want to know how much memory was released consult sqlite3_memory_used() 
before and after.

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


[sqlite] sqlite3_db_release_memory(): Return value undocumented.

2012-01-16 Thread Ralf Junker
Reading the sources, sqlite3_db_release_memory() always returns
SQLITE_OK. Will it stay this way or will it some day return another
value like the amount of memory released?

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