MySQL Forums
Forum List  »  Stored Procedures

Re: Mysql 8 stored procedure
Posted by: Peter Brawley
Date: June 12, 2020 11:17AM

Quote

SELECT COLUMN_NAME FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_SCHEMA = 'teszt061122' AND TABLE_NAME = concat('bizonylat_torzs_2021');
...
How can I force MySql 8 to refresh INFORMATION_SCHEMA informations?

Any evidence i_s is making errors? What error message do you get from that i_s query? What other error messages are you seeing, and what sproc lines do they refer to?

Different errors at different times suggest other problems eg memory stress, buffer overflows &c.

BTW concat() isn't necessary, and found_rows() is deprecated in 8.0.

It's a big complex sproc, much that can go wrong ... why is the error handler disabled? It needs robust error handling, and wouldn't it be more more robust if coded to handle rollbacks and deadlocks?

Options: ReplyQuote


Subject
Views
Written By
Posted
469
June 12, 2020 12:47AM
194
June 12, 2020 12:52AM
106
June 12, 2020 03:01AM
Re: Mysql 8 stored procedure
129
June 12, 2020 11:17AM
105
June 14, 2020 01:39AM
85
June 14, 2020 10:53AM
89
June 15, 2020 06:13AM
109
June 15, 2020 12:29PM
130
June 15, 2020 12:46PM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.