Setting generator value twice in single transaction will set it to zero -----------------------------------------------------------------------
Key: CORE-4173 URL: http://tracker.firebirdsql.org/browse/CORE-4173 Project: Firebird Core Issue Type: Bug Components: Engine Affects Versions: 3.0 Alpha 1 Reporter: prenosil SQL> SET AUTODDL OFF; SQL> SET GENERATOR G TO 111; SQL> COMMIT; SQL> SELECT Gen_id(G,0) FROM RDB$DATABASE; GEN_ID ===================== 111 SQL> SET GENERATOR G TO 222; SQL> SELECT Gen_id(G,0) FROM RDB$DATABASE; GEN_ID ===================== 222 SQL> SET GENERATOR G TO 333; SQL> SELECT Gen_id(G,0) FROM RDB$DATABASE; GEN_ID ===================== 333 SQL> COMMIT; SQL> SELECT Gen_id(G,0) FROM RDB$DATABASE; GEN_ID ===================== 0 -- 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 ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel