Eduardo Morras wrote:
> On Sat, 8 Mar 2014 14:09:17 -0500
> Richard Hipp wrote:
>> It isn't really running out of memory
>>
>> The implementation of char() allocates 4 bytes of output buffer for
>> each input character, which is sufficient to hold any valid unicode
>> codepoint. But with zero
On Sat, 8 Mar 2014 14:09:17 -0500
Richard Hipp wrote:
> It isn't really running out of memory
>
> The implementation of char() allocates 4 bytes of output buffer for
> each input character, which is sufficient to hold any valid unicode
> codepoint. But with zero input characters, that means
Hello,
would be nicer to test N rather than guarding + 1UL
size_t allocsize = 4 * N;
if (!allocsize) {
trigger(malformatted_sql_call_dumb_ass);
// bail
}
Best Regards.
On Sat, Mar 8, 2014 at 11:09 AM, Richard Hipp wrote:
> On Sat, Mar 8, 2014 at 1:25 PM, Zsbán Ambrus wrote:
>
> >
On 8-3-2014 19:48, Simon Slavin wrote:
On 8 Mar 2014, at 6:25pm, Zsbán Ambrus wrote:
In the sqlite3 console, the following very simple statement gives
"Error: out of memory":
SELECT char();
I think this is a bug.
162:~ simon$ sqlite3 ~/Desktop/test.sqlite
SQLite version 3.7.13 2012-07-17
On Sat, Mar 8, 2014 at 1:25 PM, Zsbán Ambrus wrote:
> In the sqlite3 console, the following very simple statement gives
> "Error: out of memory":
>
> SELECT char();
>
> I think this is a bug. This query should need very little memory, so
> it should not give such an error. I believe it should r
On 03/09/2014 01:25 AM, Zsbán Ambrus wrote:
In the sqlite3 console, the following very simple statement gives
"Error: out of memory":
SELECT char();
I think this is a bug.
It is. Thanks for the report. Now fixed here:
http://www.sqlite.org/src/info/ba39df9d4f
Dan.
This query should
On 3/8/14, Simon Slavin wrote:
> SQLite version 3.7.13 2012-07-17 17:46:21
The char function was added in 3.7.16.
> Could you please post your OS and the version of the SQLite shell tool
> you're using ?
I'm using Linux amd64, compiling with gcc 4.8.1. I've got the out of
memory result in both
On 8 Mar 2014, at 6:25pm, Zsbán Ambrus wrote:
> In the sqlite3 console, the following very simple statement gives
> "Error: out of memory":
>
> SELECT char();
>
> I think this is a bug.
162:~ simon$ sqlite3 ~/Desktop/test.sqlite
SQLite version 3.7.13 2012-07-17 17:46:21
Enter ".help" for inst
In the sqlite3 console, the following very simple statement gives
"Error: out of memory":
SELECT char();
I think this is a bug. This query should need very little memory, so
it should not give such an error. I believe it should return a single
row with a single value of an empty string.
I've r
9 matches
Mail list logo