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

CSV crashes on DELETE

    XMLWordPrintable

Details

    • Can result in hang or crash
    • When running a DELETE on a table which is using the CSV storage engine, the server can crash

    Description

      --source include/have_sequence.inc
      --source include/have_csv.inc
       
      create table t1 (id int not null, pad char(10) not null) engine=csv;
      insert t1 select seq,'AAAAAAAAAA' from seq_1_to_2048;
      select count(*) from t1;
      delete from t1 where id % 2 = 0;
      select 1;
      drop table t1;
      

      Attachments

        Activity

          People

            serg Sergei Golubchik
            serg Sergei Golubchik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 0d
                0d
                Remaining:
                Remaining Estimate - 0d
                0d
                Logged:
                Time Spent - 1h
                1h

                Git Integration

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