[MDEV-13142] Error message for corrupted zip files is confusing (CONNECT engine, ZIP type) Created: 2017-06-21  Updated: 2017-06-25

Status: Open
Project: MariaDB Server
Component/s: Storage Engine - Connect
Affects Version/s: 10.2.7, 10.2
Fix Version/s: 10.2

Type: Bug Priority: Minor
Reporter: Alice Sherepa Assignee: Olivier Bertrand
Resolution: Unresolved Votes: 0
Labels: None


 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


Generated at Thu Feb 08 08:03:13 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.