Re: [sqlite] problem with CLI readfile() of zero-length files.

2019-04-08 Thread Richard Hipp
On 4/8/19, Donald Griggs wrote: > On my system, it appears that, > beginning with 3.27.0, attempting to use the (quite useful!) readfile() > function on a *zero-length* file throws "Error: out of memory" > whereas with 3.26.0, the result was set to null. Fixed by check-in

[sqlite] problem with CLI readfile() of zero-length files.

2019-04-08 Thread Donald Griggs
On my system, it appears that, beginning with 3.27.0, attempting to use the (quite useful!) readfile() function on a *zero-length* file throws "Error: out of memory" whereas with 3.26.0, the result was set to null. (Attempting to read a *non-existent* file on either version properly results in