Replies: 2 comments 2 replies
-
You could try switching |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hello @frelling did you find a fix for this issue? I am using DBeaver version 24.3.3 and when i try to create a stored procedure and I put a semi colon after END it throws an error. But it works when I run it in another database client (Data Grip) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am developing a new MySQL procedure. The 'create procedure' statement for the current version of the sproc worked with no problems Friday. Today the DBeaver update to version 24.0.3 was available. After I installed the update the 'create procedure' statement fails. I had made some updates to the code but I reverted to Friday's version after I started getting errors from DBeaver.
At first it was complaining about a DELIMITER statement. I removed that and now it is complaining about an EXIT HANDLER for SQLEXCEPTION statement, specifically the v_error_message = MESSAGE_TEXT... line:
DECLARE EXIT HANDLER FOR SQLEXCEPTION
BEGIN
GET DIAGNOSTICS CONDITION 1
v_error_message = MESSAGE_TEXT, v_sqlstate = RETURNED_SQLSTATE, v_error_schema = SCHEMA_NAME, v_error_TABLE = TABLE_NAME, v_err_nbr = MYSQL_ERRNO;
SELECT v_error_message, v_sqlstate, v_error_schema, v_error_table, v_err_nbr;
SET v_updt_row_count = 1;
END;
I can run the create procedure statement in a mysql client on a Linux server with no issues.
Anyone else running into this or have any insights?
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions