Re: [sqlite] core using sqlite 3.17.0 on solaris

2017-03-30 Thread Marcel Hofstetter
Am 30.03.2017 um 19:22 schrieb Richard Hipp: > On 3/30/17, Scott Robison wrote: >>> >> Also, isn't the new code potentially allocating a smaller buffer in >> zSpace? If sizeof(yyParser) is 15, the removed line would allocate a >> 15 element array of unsigned char objects

Re: [sqlite] core using sqlite 3.17.0 on solaris

2017-03-30 Thread Scott Robison
On Thu, Mar 30, 2017 at 11:22 AM, Richard Hipp wrote: > On 3/30/17, Scott Robison wrote: >>> >> Also, isn't the new code potentially allocating a smaller buffer in >> zSpace? If sizeof(yyParser) is 15, the removed line would allocate a >> 15 element

Re: [sqlite] core using sqlite 3.17.0 on solaris

2017-03-30 Thread Richard Hipp
On 3/30/17, Scott Robison wrote: >> > Also, isn't the new code potentially allocating a smaller buffer in > zSpace? If sizeof(yyParser) is 15, the removed line would allocate a > 15 element array of unsigned char objects for a total of 15 bytes. The > added line would

Re: [sqlite] core using sqlite 3.17.0 on solaris

2017-03-30 Thread Scott Robison
On Thu, Mar 30, 2017 at 10:44 AM, Clemens Ladisch wrote: > Richard Hipp wrote: >> #ifdef sqlite3Parser_ENGINEALWAYSONSTACK >> - unsigned char zSpace[sizeof(yyParser)]; /* Space for parser engine >> object */ >> + /* Space to hold the Lemon-generated Parser object */ >> +

Re: [sqlite] core using sqlite 3.17.0 on solaris

2017-03-30 Thread Richard Hipp
On 3/30/17, Clemens Ladisch wrote: > Richard Hipp wrote: >> #ifdef sqlite3Parser_ENGINEALWAYSONSTACK >> - unsigned char zSpace[sizeof(yyParser)]; /* Space for parser engine >> object */ >> + /* Space to hold the Lemon-generated Parser object */ >> + sqlite3_uint64

Re: [sqlite] core using sqlite 3.17.0 on solaris

2017-03-30 Thread Clemens Ladisch
Richard Hipp wrote: > #ifdef sqlite3Parser_ENGINEALWAYSONSTACK > - unsigned char zSpace[sizeof(yyParser)]; /* Space for parser engine object > */ > + /* Space to hold the Lemon-generated Parser object */ > + sqlite3_uint64 zSpace[sizeof(yyParser)/sizeof(sqlite_uint64)]; > #endif The

Re: [sqlite] core using sqlite 3.17.0 on solaris

2017-03-30 Thread Richard Hipp
On 3/29/17, Marcel Hofstetter wrote: > > compiled 3.17.0 now. running on solaris 11. > > simple select on existing table cores > Please apply the patch below and let me know whether or not it helps: */ int sqlite3RunParser(Parse *pParse, const char *zSql, char

[sqlite] core using sqlite 3.17.0 on solaris

2017-03-30 Thread Marcel Hofstetter
hi I used sqlite 3.11.1 in the past year. works well. compiled 3.17.0 now. running on solaris 11. uname -a SunOS g0069 5.11 11.3 sun4v sparc sun4v simple select on existing table cores # ./sqlite3 /var/opt/jomasoft/vdcf/db/infra.db SQLite version 3.17.0 2017-02-13 16:02:40 Enter ".help" for