Thanks.

-----Original Message-----
From: sqlite-users [mailto:[email protected]] On 
Behalf Of Richard Hipp
Sent: Thursday, May 17, 2018 12:52 PM
To: SQLite mailing list
Subject: Re: [sqlite] After update from 3.20 to 3.23 alter table throws error 
for boolean with default value FALSE

On 5/17/18, David Raymond <[email protected]> wrote:
> So what confuses me is that I would think that what comes after "DEFAULT"
> would have to be a string literal if it's not an identifier. So why does it
> let you put something in there without needing to put it in quotes?

There was a bug in an historical version of SQLite.  We have to
continue to support that buggy behavior.  Otherwise, if you try to
open a legacy database file with a newer version of SQLite it might
report the legacy database is "corrupt".
-- 
D. Richard Hipp
[email protected]
_______________________________________________
sqlite-users mailing list
[email protected]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
_______________________________________________
sqlite-users mailing list
[email protected]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to