Uploaded image for project: 'MariaDB ColumnStore'
  1. MariaDB ColumnStore
  2. MCOL-263

With suspendDatabaseWrite enabled, LDI return an incorrect msg

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 1.0.2
    • 1.0.5
    • DMLProc
    • None
    • 2016-21, 2016-22

    Description

      With suspendDatabaseWrite enabled:

      MariaDB [mytest]> load data infile "/tmp/t1.txt" into table t1 fields terminated by "|";
      ERROR 1017 (HY000): Can't find file: 't1' (errno: 2 "No such file or directory")

      It should return the same messages as DML:

      MariaDB [mytest]> insert into t1 values (1);
      ERROR 1815 (HY000): Internal error: CAL0002: Writing to the database is disabled.

      With suspendDatabaseWrite disabled:

      MariaDB [mytest]> load data infile "/tmp/t1.txt" into table t1 fields terminated by "|";
      Query OK, 4 rows affected, 1 warning (4.91 sec)
      Records: 4 Deleted: 0 Skipped: 0 Warnings: 1

      Attachments

        Issue Links

          Activity

            People

              dleeyh Daniel Lee (Inactive)
              dleeyh Daniel Lee (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

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