Re: [sqlite] A Minor Issue Report: Extra const Keyword in PragmaName zName

2019-01-02 Thread Dominique Devienne
On Wed, Jan 2, 2019 at 1:47 PM Richard Damon wrote: > On 12/30/18 6:10 PM, Richard Green wrote: > const char *const zName; // Note extra space > > Then that is declaring that zName is an immutable pointer to a immutable > string/character, which is actually likely true, as the code shouldn't >

Re: [sqlite] A Minor Issue Report: Extra const Keyword in PragmaName zName

2019-01-02 Thread Richard Damon
On 12/30/18 6:10 PM, Richard Green wrote: > I believe the struct PragmaName (in pragma.h) has an extra 'const' > keyword for zName, in Version 3.26.0 (2018-12-01); probably has no > effect. > > Currently, > > /* Definitions of all built-in pragmas */ > typedef struct PragmaName { >   const char

[sqlite] A Minor Issue Report: Extra const Keyword in PragmaName zName

2019-01-02 Thread Richard Green
I believe the struct PragmaName (in pragma.h) has an extra 'const' keyword for zName, in Version 3.26.0 (2018-12-01); probably has no effect. Currently, /* Definitions of all built-in pragmas */ typedef struct PragmaName {   const char *constzName; /* Name of pragma */   u8 ePragTyp;