Comments - Two days in, and I still can't find the cause of this 1064 error.
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.
Thanks, Brian. I appreciate your taking the time to report those problems.
I'm still having trouble, but I don't want to post my code with those fixes (and further changes) for others to do the work for me. Instead, I now post a boiled-down case that shows the 1064 error in a simple case, where I haven't been able to see what the error is. Specifically, if I simply add begin/end to the procedure body then it switches to giving the error. It's probably something simple, but I just don't see it. Thanks again.
The sample code you provided works fine (see below). What client are you using? If you try create the procedure from the command line mysql client and it works, then the problem likely sits with the other client.
Thanks for checking this and for responding.
I'm using the HeidiSQL 9.3.0.4984 that came as part of the MariaDB 10.0.28 download.
I have not used the comand line, and would sooner do what I need to with a non-procedure succession of stand-alone queries (and some intermediary tables) in HeidiSQL (or some comparable client) than use the command line. In my limited DB experience, I've used only Oracle SQL Developer and TOAD for Oracle. Do you have any recommendations for free or low-cost HeidiSQL alternatives for MariaDB? I'll google about that, but value first-person recommendations.
Thanks again!
You can take a look at some alternatives at Graphical and Enhanced Clients. If this is a HeidiSQL issue, please report it as a bug - it seems a strangely trivial issue, so perhaps there's something else being missed that others can pick up when they try recreate it.