add field with default value to table with data has not intuitive behavior
--------------------------------------------------------------------------
Key: CORE-4525
URL: http://tracker.firebirdsql.org/browse/CORE-4525
Project: Firebird Core
Issue Type: Bug
Components: Engine
Affects Versions: 3.0 Beta 1
Reporter: Nick Dee
create table T (Id integer);
insert into T (Id) values (1);
insert into T (Id) values (2);
alter table T add field F1 integer default 1 not null;
select F1 from T
--
1
1
alter table T add field F2 integer default 1;
select F2 from T
--
null
null
snapshot 31273
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel