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
1219
June 12, 2020 12:47AM
582
June 12, 2020 12:52AM
447
June 12, 2020 03:01AM
Re: Mysql 8 stored procedure
461
June 12, 2020 11:17AM
462
June 14, 2020 01:39AM
349
June 14, 2020 10:53AM
420
June 15, 2020 06:13AM
505
June 15, 2020 12:29PM
441
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.