Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-11388

AliSQL: [Feature] Issue#15 DDL FAST FAIL

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: 10.3.0
    • Component/s: OTHER
    • Labels:
      None

      Description

      Summary:
      --------
      The feature provides a way to set lock wait timeout for ddl statements.
       
      Usage:
      -----
      alter table t [wait [n]|no_wait] add f int,
      drop table [wait [n]|no_wait], etc.
       
      no_wait: the query not wait for locks, return immediately, and print
      "ERROR 1205 (HY000): Lock wait timeout exceeded; try restarting transaction;"
       
      wait [n]: n is the wait time in second, after wait n seconds for locks,
      return and print errors;
      

      https://github.com/alibaba/AliSQL/commit/958add0b101815d43dc19fca4e317d7049e6647e

        Attachments

          Activity

            People

            Assignee:
            svoj Sergey Vojtovich
            Reporter:
            svoj Sergey Vojtovich
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: