Home >Database >Mysql Tutorial >mysql-How to deal with 0 affected rows after the MySQL stored procedure submits the transaction?

mysql-How to deal with 0 affected rows after the MySQL stored procedure submits the transaction?

WBOY
WBOYOriginal
2016-10-09 08:32:061445browse

Thing mysql stored procedure

My stored procedure is written as follows
START TRANSACTION;

Perform the insert data operation

COMMIT;
The result returned 0 row(s) affected
The actual data has been inserted
I expect to get the actual impact Number of lines

Reply content:

http://www.cnblogs.com/thingk/p/3911668.html

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn