A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mariadb.com/docs/connectors/mariadb-connector-c/api-functions/mysql_commit below:

mysql_commit | MariaDB Documentation

mysql_commit | MariaDB Documentation 14-day MaxScale Trial: Explore the latest version of our advanced database proxy! Start Trial CtrlK Download MariaDBContact Us Powered by GitBook On this page

Was this helpful?

Edit on GitHub Export as PDF
  1. Connector/C
  2. MariaDB Connector/C API Functions
mysql_commit Syntax
my_bool mysql_commit(MYSQL * mysql);
Description

Commits the current transaction for the specified database connection. Returns zero on success, nonzero if an error occurred.

Executing mysql_commit() will not affected the behaviour of autocommit. This means, any update or insert statements following mysql_commit() will be rolled back when the connection gets closed.

See also Previousmysql_close Nextmysql_data_seek

Last updated 2 months ago

Was this helpful?


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4