[sqlite] User-defined SQL functions

2016-02-23 Thread Dan Kennedy
On 02/23/2016 07:36 PM, E.Pasma wrote: > 22 feb 2016, Dan Kennedy: > >> On 02/23/2016 01:33 AM, E.Pasma wrote: >>> >>> I reproduced the memory leak and added a test in the sql script. >>> An alternative fix, instead of adding the missing break, is: >>> >>> case SQLITE_TEXT: >>> case SQL

[sqlite] User-defined SQL functions

2016-02-23 Thread E.Pasma
23 feb 2016, Dan Kennedy: > On 02/23/2016 07:36 PM, E.Pasma wrote: >> 22 feb 2016, Dan Kennedy: >> >>> On 02/23/2016 01:33 AM, E.Pasma wrote: I reproduced the memory leak and added a test in the sql script. An alternative fix, instead of adding the missing break, is:

[sqlite] sqlite native NuGet package maintainers?

2016-02-23 Thread Leeber Florian
Dear All, wrote a mail to Taylor Southwick, but just wanted to confirm he is the right guy for issues with the NuGet package of sqlite? Specifically the problem is the inclusion of the Debug build of an old MSVCRT which requires Visual Studio to be installed, in case you want to run your projec

[sqlite] User-defined SQL functions

2016-02-23 Thread E.Pasma
22 feb 2016, Dan Kennedy: > On 02/23/2016 01:33 AM, E.Pasma wrote: >> >> I reproduced the memory leak and added a test in the sql script. >> An alternative fix, instead of adding the missing break, is: >> >> case SQLITE_TEXT: >> case SQLITE_BLOB: >> pval->n=sqlite3_value_bytes(

[sqlite] User-defined SQL functions

2016-02-23 Thread Dan Kennedy
On 02/23/2016 01:33 AM, E.Pasma wrote: > > I reproduced the memory leak and added a test in the sql script. > An alternative fix, instead of adding the missing break, is: > >case SQLITE_TEXT: >case SQLITE_BLOB: > pval->n=sqlite3_value_bytes(arg); > if (!pval->n) {

[sqlite] MIN/MAX of column loses decltype

2016-02-23 Thread Simon Slavin
On 23 Feb 2016, at 12:45am, Keith Medcalf wrote: > Actually, you can. If you pass a real to datetime it will return the correct > result: Didn't know that. I can see from your post that it is documented, I just hadn't thought through the implications. Thanks. Simon.