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

Error message for corrupted zip files is confusing (CONNECT engine, ZIP type)

    XMLWordPrintable

Details

    Description

      Error message if zip file was corrupted or if zip file needs password is the same and not clear "Error 174 'unzOpen fn=1.csv rc=-103' from CONNECT"

      --------------
      CREATE TABLE `c2` (
      	`n1` varchar(255)  NOT NULL,
       	`n2` varchar(255)  NOT NULL
      ) ENGINE=CONNECT  `table_type`=CSV `file_name`='/home/alice/Downloads/1.zip' zipped=1 sep_char="|"
       
      select count(*) from c2
      ERROR 1296 (HY000) at line 17 in file: '1.csv': Got error 174 'unzOpen fn=1.csv rc=-103' from CONNECT
      

      Attachments

        Activity

          People

            bertrandop Olivier Bertrand
            alice Alice Sherepa
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.