[MDEV-25303] Unify error message in case curl/cpprestsdk are not present Created: 2021-03-30  Updated: 2021-03-30

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

Type: Bug Priority: Major
Reporter: Anel Husakovic Assignee: Olivier Bertrand
Resolution: Unresolved Votes: 0
Labels: None

Issue Links:
Relates
relates to MDEV-25298 Connect REST - use cURL with/without ... Closed

 Description   

MariaDB [test]> create or replace table t9 engine=connect table_type=JSON file_name='users.json' http='http://jsonplaceholder.typicode.com' uri='users' option_list='curl=0';
ERROR 1105 (HY000): Cannot access to curl nor casablanca
 
MariaDB [test]> create or replace table t9 engine=connect table_type=JSON file_name='users.json' http='http://jsonplaceholder.typicode.com' uri='users' option_list='curl=1';
ERROR 1105 (HY000): curl failed, errno =22


Generated at Thu Feb 08 09:36:40 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.