Quantcast
Channel: MySQL Forums - InnoDB
Viewing all articles
Browse latest Browse all 1957

Getting MySQL Procedure Error Trace (no replies)

$
0
0
Hello,
I am currently using :
Server version: 5.5.17 MySQL Community Server (GPL)

I need to get error trace from stored procedures/functions, which give me atleast the procedure name that caused the error.
(more info like line no. etc as it is displayed in Oracle would be great
ORACLE
=======

Error report:
ORA-06502: PL/SQL: numeric or value error: character to number conversion error
ORA-06512: at "HR.TEST", line 6
ORA-06512: at line 2

MySQL
=====
ERROR 1146 (42S02): Table 'test_db.a' doesn't exist
)
As we can see, MySQL does not returns the line no. & procedure name that caused the exception/error.

It becomes difficult to debug where the error actually occured in case of nested procedure calls.

Is there a way in MySQL to get the error trace as displayed in Oracle above?


Regards,
Sachin Vyas.

Viewing all articles
Browse latest Browse all 1957

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>