mysql_rollback
- Provided by: libmariadb-dev (Version: 1:10.11.14-0ubuntu0.24.04.1)
- Source: mariadb
- Report a bug
mysql_rollback - Rolls back the current transaction
#include <mysql.h>
my_bool mysql_rollback(MYSQL * mysql);
Rolls back the current transaction for the database. Returns zero on success, nonzero if an error occurred.