[MDEV-18394] DELIMITER not working in mysqld init-file Created: 2019-01-28 Updated: 2023-11-15 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Data Definition - Procedure |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major |
| Reporter: | Dibyajyoti Panda | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 1 |
| Labels: | compat57, compat80, upstream-fixed | ||
| Issue Links: |
|
||||||||
| Description |
|
mysqld.init
When I run
I get a syntax error but the same init file doesn't give any error while run as
Here is an exact issue of mysql https://bugs.mysql.com/bug.php?id=17843
|
| Comments |
| Comment by Alice Sherepa [ 2019-01-28 ] | |||||||||
|
KB says about init_file: "a file containing SQL statements that will be executed by the server on startup. Each statement should be on a new line, and end with a semicolon." | |||||||||
| Comment by Dibyajyoti Panda [ 2019-01-28 ] | |||||||||
|
So isn't it possible to execute an procedure inside init-file. Seems like mysql provides it here https://bugs.mysql.com/bug.php?id=17843. Can we take it as a feature request ? | |||||||||
| Comment by Alice Sherepa [ 2019-01-28 ] | |||||||||
|
The fix there suggests that the procedure already was defined in a database and in init-file there is only call for that procedure. The same works in mariadb, I just checked. | |||||||||
| Comment by Elena Stepanova [ 2019-01-28 ] | |||||||||
|
Converted it into a task (a.k.a feature request) | |||||||||
| Comment by Daniel Black [ 2023-11-15 ] | |||||||||
|
retested still here
|