Search Results
https://dev.mysql.com/doc/internals/en/dbug-sleep.html
Setting the possibly not existing variable can be protected by the --error 0, ER_UNKNOWN_SYSTEM_VARIABLE command. In cases where the normal server code does not have a block point at the critical place, one can insert an artificial synchronization ...
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/delete-table.html
Parameters name : Base name of table Return Values 0 if we successfully deleted at least one file from base_ext and didn't get any other errors than ENOENT # : Error Usage Most storage engines can omit implementing this method. Synopsis virtual int ...
https://dev.mysql.com/doc/internals/en/determining-logging-format.html
THD::decide_logging_format() also determines if the statement is impossible to log, in which case it generates an error and the statement is not executed. This prevents warnings in the case that the statement generates an error later so that it is ... For each statement, we must determine the logging format: row or ...
https://dev.mysql.com/doc/internals/en/info.html
Called in: filesort.cc ha_heap.cc item_sum.cc opt_sum.cc sql_delete.cc sql_delete.cc sql_derived.cc sql_select.cc sql_select.cc sql_select.cc sql_select.cc sql_select.cc sql_show.cc sql_show.cc sql_show.cc sql_show.cc sql_table.cc sql_union.cc ...
https://dev.mysql.com/doc/internals/en/libmysql-directory.html
The files here are for producing MySQL as a library (for example, a Windows DLL). The idea is that, instead of producing separate mysql (client) and mysqld (server) programs, one produces a library. Instead of sending messages, the client part ...
https://dev.mysql.com/doc/internals/en/negative-tests.html
If an error does not occur, that itself indicates a problem. DO NOT FORGET "NEGATIVE" TESTS where we expect to see fine error messages from the server. A "negative" test is a test for which you expect to see a failure. This section contains just a ...
https://dev.mysql.com/doc/internals/en/preface.html
Warranty Disclaimer The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing. We make no guarantee that it is fully up to date. We do hope ...
https://dev.mysql.com/doc/internals/en/prepared-stored-statement-execution.html
We'll need this query for general, binary, error and slow logs. Example: if (!(fld= new Item_field(from_field))) goto error; thd->change_item_tree(reference, fld); If a transformation is a non-destructive, it should not be registered, but performed ... In order to call mysql_execute_command (the function that executes a statement) for a prepared statement and not damage its parse tree, we backup and restore the active Query_arena of ...
https://dev.mysql.com/doc/internals/en/starting-transaction-from-external-lock-method.html
MySQL calls [custom-engine.html#custom-engine-api-reference-external_lock handler::external_lock()] for every table it is going to use at the beginning of every statement. Thus, if a table is touched for the first time, it implicitly starts a ...