Home > Database > Mysql Tutorial > body text

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

WBOY
Release: 2016-10-09 08:32:06
Original
1432 people have browsed it

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!