Search Results
https://dev.mysql.com/doc/internals/en/creating-tables.html
The *info parameter is a structure containing information on the CREATE TABLE statement used to create the table. Once a handler is instanced, the first operation that will likely be required is the creation of a table. Your storage engine must ...
https://dev.mysql.com/doc/internals/en/dbug-sleep.html
It says that the next statement can either succeed (0) or fail (ER_UNKNOWN_SYSTEM_VARIABLE). In cases where the normal server code does not have a block point at the critical place, one can insert an artificial synchronization point.
https://dev.mysql.com/doc/internals/en/debug-sync-facility.html
MySQL supports a Debug Sync Facility, which - in spite of the "debug" in its name - is completely independent from the DBUG facility (except that it uses DBUG to trace its operation, if DBUG is also configured in the server). The documentation here ...
https://dev.mysql.com/doc/internals/en/debug-sync-implementation.html
The SET DEBUG_SYNC statement adds a requested action to the array or overwrites an existing action for the same synchronization point. Pseudo code for a synchronization point: #define DEBUG_SYNC(thd, sync_point_name) if ...
https://dev.mysql.com/doc/internals/en/error-messages-storage-engine.html
To add error messages for table handlers, the following example may be helpful. Purpose: Implement the handler::get_error_message function as ha_federated::get_error_message to return the handler-specific error message. When you have returned the ...
https://dev.mysql.com/doc/internals/en/floating-point-types.html
This document was created when http://bugs.mysql.com/4457 (Different results in SQL-Statements for the same record) was fixed at the end of August 2004. The MySQL Reference Manual has a discussion of floating-point numbers in Section 11.2 Numeric ...
https://dev.mysql.com/doc/internals/en/formal-stuff.html
Section 26.1.1, “Coding Style” Section 26.1.2, “SQL Statement Example” Section 26.1.4, “Header of Scripts” .
https://dev.mysql.com/doc/internals/en/guided-tour-chunk.html
} Here's a snippet of code from a .c file in the sql directory, specifically from sql_update.cc, which as we mentioned earlier -- is invoked when there's an UPDATE statement to process. Now, having finished with our bird's eye view of the source ...
https://dev.mysql.com/doc/internals/en/header-example.html
########### suite/funcs_1/t/processlist_val_no_prot.test ############# # # # Testing of values within INFORMATION_SCHEMA.PROCESSLIST # # # # The prepared statement variant of this test is # # suite/funcs_1/t/processlist_val_ps.test. # # # # There ...
https://dev.mysql.com/doc/internals/en/implementing-info-method.html
The stats member is an instance of the ha_statistics class which is also defined in handler.h In addition to being used by the optimizer, many of the values set during a call to the info() method are also used for the SHOW TABLE STATUS statement.