my_bool mysql_commit(MYSQL *mysql)
Commits the current transaction.
The action of this function is subject to the value of the
variable. In particular, if the value of
RELEASE (or 2), the server performs a release
after terminating a transaction and closes the client
from the client program to close the connection from the client
Zero for success. Nonzero if an error occurred.
Copyright © 1997, 2014, Oracle and/or its affiliates. All rights reserved. Legal Notices