View Issue Details

IDProjectCategoryView StatusLast Update
0001505Database Comparer VCLGeneralpublic2019-04-18 19:44
Reportershirokov Assigned Tobarry  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionreopened 
Product Version7.0.0.1674 
Target Version7.0.0.1674Fixed in Version7.0.0.1677 
Summary0001505: Table Column Not Null is not changed to Null for Firebird 3.0
DescriptionThe comparer doesn't create a script for changing the table Column Not Null -> to Null for Firebird 3.0. The DBComparer.IBServerOptions.IBCompareOptions.AllowDataTypeConversion option doesn't take effect.
TagsNo tags attached.

Activities

shirokov

2019-04-08 14:45

administrator   ~0004055

Wrong script syntax:

The DBComparer produces the incorrect script:
ALTER TABLE ... ALTER ... SET NULL;
The valid script is:
ALTER TABLE ... ALTER ... DROP NOT NULL;

Firebird syntax says:
ALTER TABLE t1 ALTER c1 { DROP | SET } [NOT] NULL;
http://www.firebirdfaq.org/faq103/

barry

2019-04-08 19:50

administrator   ~0004056

fixed

Issue History

Date Modified Username Field Change
2019-04-01 22:29 shirokov New Issue
2019-04-01 22:29 shirokov Status new => assigned
2019-04-01 22:29 shirokov Assigned To => barry
2019-04-04 20:08 barry Status assigned => resolved
2019-04-04 20:08 barry Resolution open => fixed
2019-04-04 20:08 barry Fixed in Version => 7.0.0.1677
2019-04-08 14:45 shirokov Status resolved => feedback
2019-04-08 14:45 shirokov Resolution fixed => reopened
2019-04-08 14:45 shirokov Note Added: 0004055
2019-04-08 19:50 barry Note Added: 0004056
2019-04-08 19:50 barry Status feedback => resolved
2019-04-18 19:44 barry Status resolved => closed