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

GTT: Integrate TRUNCATE operation as part of DROP TABLE for ON COMMIT PRESERVE ROWS tables

    XMLWordPrintable

Details

    Description

      As discussed in MDEV-37660 starting here, it is possible to do (in pseudo code):

      if table_is_gtt and table_is_about_to_be_dropped_by_DROP_command and table_has_data then
        truncate_table
        drop_table
      

      i.e. we can do the TRUNCATE action for the user without requiring them to do so.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Roel Roel Van de Paar
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.