[MDEV-14404] Don't use LEX::check_exists in ALTER SEQUENCE Created: 2017-11-15  Updated: 2017-12-12  Resolved: 2017-11-15

Status: Closed
Project: MariaDB Server
Component/s: Parser, Sequences
Fix Version/s: 10.3.3

Type: Task Priority: Major
Reporter: Alexander Barkov Assignee: Alexander Barkov
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Blocks
blocks MDEV-8094 sql_yacc.yy: get rid of the rules "op... Open

 Description   

Change the ALTER SEQUENCE code not to use:

  • LEX::check_exists member, it will be removed soon by MDEV-8094.
  • opt_if_exists_table_element grammar in *.yy files

Instead:

  • We'll derive Sql_cmd_alter_sequence from DDL_options
  • Use opt_if_exists grammar

This is needed to simplify the patch for MDEV-8094.


Generated at Thu Feb 08 08:13:17 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.