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

mysql_kill | MariaDB Documentation

mysql_kill | MariaDB Documentation
  1. Connector/C
  2. MariaDB Connector/C API Functions
mysql_kill
int mysql_kill(MYSQL * mysql,
               unsigned long);

This function is used to ask the server to kill a MariaDB thread specified by the processid parameter. This value must be retrieved by SHOW PROCESSLIST. If trying to kill the own connection mysql_thread_id() should be used.

Returns 0 on success, otherwise nonzero.

To stop a running command without killing the connection, use KILL QUERY . The mysql_kill() function only kills a connection; it doesn't free any memory - this must be done explicitly by calling mysql_close().


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