Details
-
Type:
Task
-
Status: Open
-
Priority:
Major
-
Resolution: Unresolved
-
Fix Version/s: None
-
Component/s: Prepared Statements
-
Labels:None
Description
Example:
DELIMITER $$ CREATE PROCEDURE `test_dsql`() BEGIN PREPARE sql_fn FROM 'select 1; select 2'; EXECUTE sql_fn; DEALLOCATE PREPARE sql_fn; END$$ DELIMITER ;
Query: call test_dsql() Error Code: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'select 2' at line 1
Gliffy Diagrams
Attachments
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
It's explicitly documented in both MySQL manual and MariaDB KB.
https://mariadb.com/kb/en/mariadb/prepare-statement/
Should we treat it as a feature request?