[
http://tracker.firebirdsql.org/browse/CORE-6243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adriano dos Santos Fernandes reopened CORE-6243:
------------------------------------------------
Assignee: Adriano dos Santos Fernandes
> Regression: v4 Beta 1 rejects POSITION element of v2.5 defined SQL2003 CREATE
> TRIGGER syntax
> --------------------------------------------------------------------------------------------
>
> Key: CORE-6243
> URL: http://tracker.firebirdsql.org/browse/CORE-6243
> Project: Firebird Core
> Issue Type: Bug
> Components: Engine
> Affects Versions: 4.0 Beta 1
> Environment: Linux Mint 19.3 64-bit
> Firebird binary installed from firebirdsql.org
> Reporter: Tony Whyman
> Assignee: Adriano dos Santos Fernandes
>
> In a simple test of the Firebird 4 engine, I dumped the example employee
> database (from a Firebird 3 source) and edited the first CREATE TRIGGER to:
> CREATE TRIGGER SET_CUST_NO
> ACTIVE BEFORE INSERT POSITION 0
> ON CUSTOMER
> AS
> BEGIN
> if (new.cust_no is null) then
> new.cust_no = gen_id(cust_no_gen, 1);
> END ^
> When feeding the SQL back in to create a new database using the Firebird 4
> isql, this caused the following error message:
> Statement failed, SQLSTATE = 42000
> Dynamic SQL Error
> -SQL error code = -104
> -Token unknown - line 2, column 22
> -POSITION
> I also fed exactly the same script back to a Firebird 3 Server/isql and the
> script completed with no errors.
--
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