Values less than -2147483648 can not be spicified in the INCREMENT BY clause a
column defined as GENERATED AS IDENTITY
----------------------------------------------------------------------------------------------------------------------
Key: CORE-6365
URL: http://tracker.firebirdsql.org/browse/CORE-6365
Project: Firebird Core
Issue Type: Bug
Components: Engine
Affects Versions: 4.0 Beta 2
Reporter: Pavel Zotov
recreate table test0( id bigint generated by default as identity (start with
9223372036854775807 increment by -2147483647) );
recreate table test0( id bigint generated by default as identity (start with
9223372036854775807 increment by -2147483648) );
recreate table test0( id bigint generated by default as identity (start with
9223372036854775807 increment by -2147483649) );
Second and third statements fail with:
=======
Statement failed, SQLSTATE = 42000
Dynamic SQL Error
-SQL error code = -104
-Token unknown - line 1, column 113
-2147483648 (-21474836489)
=======
Checked on 4.0.0.2104
--
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