Alter computed field type does not work
---------------------------------------
Key: CORE-5093
URL: http://tracker.firebirdsql.org/browse/CORE-5093
Project: Firebird Core
Issue Type: Bug
Affects Versions: 3.0 RC1
Reporter: Adriano dos Santos Fernandes
Field changes from BIGINT to INTEGER even when specifying BIGINT in the ALTER
command:
SQL> create table t2 (n1 integer, n2 bigint computed by (1));
SQL> set sqlda_display on;
SQL> select * from t2;
INPUT message field count: 0
OUTPUT message field count: 2
01: sqltype: 496 LONG Nullable scale: 0 subtype: 0 len: 4
: name: N1 alias: N1
: table: T2 owner: SYSDBA
02: sqltype: 580 INT64 Nullable scale: 0 subtype: 0 len: 8
: name: N2 alias: N2
: table: T2 owner: SYSDBA
SQL>
SQL> commit;
SQL>
SQL> alter table t2 alter n2 type bigint computed by (2);
SQL>
SQL> select * from t2;
INPUT message field count: 0
OUTPUT message field count: 2
01: sqltype: 496 LONG Nullable scale: 0 subtype: 0 len: 4
: name: N1 alias: N1
: table: T2 owner: SYSDBA
02: sqltype: 496 LONG Nullable scale: 0 subtype: 0 len: 4
: name: N2 alias: N2
: table: T2 owner: SYSDBA
--
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
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel