06.03.2016 3:45, Adriano dos Santos Fernandes wrote:
> I see two bugs with your implementation. Both of these commands should
> raise error:
>
> create or alter sequence s1;

   This command if perfectly ok from Language Reference POV: both START 
WITH/RESTART and 
INCREMENT clauses are marked as optional.

> create or alter sequence s1 restart start with 3;

   I'll fix that.

> I also did not understand why you changed set_generator_clause to have a
> action in the middle of the command, since that is not necessary hence
> not recommended.

   It was so long time ago that I can't remember why. Perhaps, there was 
problems with 
compiling if all actions were in one block. I'll try to rollback the change and 
see.

-- 
   WBR, SD.

------------------------------------------------------------------------------
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to