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_autocommit below:

mysql_autocommit | MariaDB Documentation

mysql_autocommit | MariaDB Documentation
  1. Connector/C
  2. MariaDB Connector/C API Functions
mysql_autocommit
my_bool mysql_autocommit(MYSQL * mysql, my_bool auto_mode);

Toggles autocommit mode on or off for the current database connection. Autocommit mode will be set if mode=1 or unset if mode=0. Returns zero on success, or nonzero if an error occurred. Parameters

Autocommit mode only affects operations on transactional table types. To determine the current state of autocommit mode use the SQL command SELECT @@autocommit. Be aware: the mysql_rollback() function will not work if autocommit mode is switched on.

Turning off autocommit in sql

Last updated 2 months ago


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