[MDEV-27454] SELECT INTO OUTFILE returns ER_SP_BAD_CURSOR_QUERY in cursor protocol Created: 2022-01-09  Updated: 2023-04-27

Status: Open
Project: MariaDB Server
Component/s: Prepared Statements, Server, Tests
Affects Version/s: 10.2, 10.3, 10.4, 10.5, 10.6, 10.7
Fix Version/s: 10.4, 10.5, 10.6

Type: Bug Priority: Minor
Reporter: Elena Stepanova Assignee: Oleksandr Byelkin
Resolution: Unresolved Votes: 0
Labels: upstream


 Description   

Run with --cursor-protocol

select 1 into outfile 't';

10.2 3fb3acf5

mysqltest: At line 1: query 'select 1 into outfile 't'' failed: 1322: Cursor statement must be a SELECT

Reproducible on all active 10.x, and also on MySQL 5.7, 8.0.


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