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
924
June 12, 2020 12:47AM
459
June 12, 2020 12:52AM
337
June 12, 2020 03:01AM
Re: Mysql 8 stored procedure
355
June 12, 2020 11:17AM
331
June 14, 2020 01:39AM
277
June 14, 2020 10:53AM
285
June 15, 2020 06:13AM
377
June 15, 2020 12:29PM
334
June 15, 2020 12:46PM


Sorry, you can't reply to this topic. It has been closed.

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.