Search Results
https://dev.mysql.com/doc/c-api/8.4/en/mysql-stmt-num-rows.html
The use of mysql_stmt_num_rows() depends on whether you used mysql_stmt_store_result() to buffer the entire result set in the statement handler. mysql_stmt_num_rows() is intended for use with statements that return a result set, such as SELECT. For ... uint64_t mysql_stmt_num_rows(MYSQL_STMT *stmt) Description Returns the number of rows in the result ...
https://dev.mysql.com/doc/c-api/8.4/en/null-mysql-store-result.html
You can always check whether the statement should have produced a nonempty result by calling mysql_field_count(). If mysql_field_count() returns zero, the result is empty and the last query was a statement that does not return values (for example, ... It is possible for mysql_store_result() to return NULL following a successful call to the server using mysql_real_query() or ...
https://dev.mysql.com/doc/extending-mysql/8.4/en/adding-native-function.html
If the native function will be referred to in statements that will be replicated to replicas, you must ensure that every replica also has the function available. To provide a name by which the function can be referred to in SQL statements, register ... To add a native MySQL function, use the procedure described here, which requires that you use a source ...
https://dev.mysql.com/doc/extending-mysql/8.4/en/plugin-api-characteristics.html
Each plugin has a name that it can be referred to in SQL statements, as well as other metadata such as an author and a description that provide other information. This information can be examined in the INFORMATION_SCHEMA.PLUGINS table or using the ... The server plugin API has these characteristics: All plugins have several things in ...
https://dev.mysql.com/doc/extending-mysql/8.4/en/writing-authentication-plugins-server-side.html
Suppose that you create an account using the following statement: CREATE USER 'my_user'@'localhost' IDENTIFIED WITH my_plugin AS 'my_auth_string'; When my_user connects from the local host, the server invokes my_plugin and passes 'my_auth_string' to ... Declare the server-side plugin with the usual general descriptor format that is used for all server plugin types (see Section 4.4.2.1, “Server Plugin Library and Plugin ...
https://dev.mysql.com/doc/extending-mysql/8.4/en/writing-daemon-plugins.html
For example, to register the plugin at runtime, use this statement, adjusting the .so suffix for your platform as necessary: INSTALL PLUGIN daemon_example SONAME 'libdaemon_example.so'; For additional information about plugin loading, see Installing ... A daemon plugin is a simple type of plugin used for code that should be run by the server but that does not communicate with ...
https://dev.mysql.com/doc/relnotes/connector-j/en/news-8-0-14.html
(Bug #28731795, Bug #92625) Updating a result set returned by a server-side prepared statement with SELECT ... (Bug #28101003, Bug #91065) When using server-side prepared statements and working with a table with multicolumn primary key, an ...
https://dev.mysql.com/doc/relnotes/connector-j/en/news-8-0-20.html
(WL #12248) A new method, getElapsedTime(), has been added to the implementation of the Statement interface in Connector/J, to expose the elapsed time for a query. (Bug #30570249, Bug #97714) Bugs Fixed When a custom Calendar was used in the setDate ... Version 8.0.20 is the latest General Availability release of the 8.0 series of MySQL ...
https://dev.mysql.com/doc/relnotes/connector-j/en/news-8-0-9.html
X DevAPI: Added the setSavepoint(), rollbackTo(), and releaseSavepoint() methods to the Session interface to support the SAVEPOINT, ROLLBACK TO SAVEPOINT, and RELEASE SAVEPOINT statements. (WL #11212) X DevAPI: A new patch() function has been added ... Version 8.0.9 Release Candidate is the first release candidate of the 8.0 branch of MySQL Connector/J, providing an insight into upcoming ...
https://dev.mysql.com/doc/relnotes/connector-j/en/news-8-4-0.html
(WL #16174) Bugs Fixed getParameterBindings() threw a NullPointerException when some parameters for the PreparedStatement were not bound. It was due to a wrong JOIN clause in the SQL statement for retrieving the imported primary keys, which has now ... Version 8.4.0 is a new GA release of MySQL ...