Search Results
https://dev.mysql.com/doc/internals/en/heap-directory.html
All the MySQL table handlers (that is, the handlers that MySQL itself produces) have files with similar names and functions. Thus, this (heap) directory contains a lot of duplication of the myisam directory (for the MyISAM table handler). Such ...
https://dev.mysql.com/doc/internals/en/mysql-services-for-plugins.html
As of MySQL 5.5, plugins have access to server “services.” The services interface exposes server functionality that plugins can call. It complements the plugin API and has these characteristics: Services enable plugins to access code inside the ...The interface includes a versioning mechanism so that plugin versions can be checked at load time against service versions supported by the ...
https://dev.mysql.com/doc/internals/en/prepared-stored-statement-preparation.html
As mentioned above, THD is currently a required argument and the runtime context for every function in the server. This function will subsequently call st_select_lex_unit::prepare() and setup_fields() for the main LEX unit, create JOINs for every ...Therefore, in order to call the parser and allocate memory in the statement memory root we perform several save-restore steps with THD::mem_root and THD::free_list (the active arena of ...
https://dev.mysql.com/doc/internals/en/regex-directory.html
Henry Spencer's Regular Expression library for support of REGEXP function. MySQL calls it only in order to support two MySQL functions: REGEXP and RLIKE. One MySQL program which uses regex is \cmd-line-utils\libedit\search.c This program calls the ...This is the copyrighted product of Henry Spencer from the University of ...
https://dev.mysql.com/doc/internals/en/threads.html
InnoDB's internal os_thread_set_priority() function implements three priorities (Background, normal, and high) but only on windows. Threads in mysqld can run at four different priorities, defined in mysql_priv.h: #define INTERRUPT_PRIOR 10 #define ...
https://dev.mysql.com/doc/internals/en/transformation-scalar-in.html
If the subquery does not contain HAVING, SUM() function, or GROUP BY (example 2), then: item list will be replaced with 1. To rewrite a scalar IN subquery, the Item_in_subselect::single_value_transformer method is used. The scalar IN subquery will ...
https://dev.mysql.com/doc/internals/en/vio-directory.html
The VIO routines are wrappers for the various network I/O calls that happen with different protocols. The idea is that in the main modules one won't have to write separate bits of code for each protocol. Thus vio's purpose is somewhat like the ...
https://dev.mysql.com/doc/internals/en/x-protocol-notices-notices.html
:= 1, but can also be done via: stored procedures triggers connection setup @@character_set_server Note Part of this functionality is provided in the MySQL C/S Protocol via WL#4797 SESSION_SYSVAR_TRACKER and the initial handshake packet. Note The ...
https://dev.mysql.com/doc/ndbapi/en/mgm-types.html
They are also used by the MGM API functions ndb_mgm_set_clusterlog_loglevel() and ndb_mgm_listen_event(). This section provides information about the data types defined by the MGM API. The types described in this section are all defined in the file ...
https://dev.mysql.com/doc/ndbapi/en/ndb-nodejs-api-sessionfactory.html
openSession(Object mappings, Function(Object error, Session session) callback); Open a database session object. The function passed in is called when the close operation is complete. Resources required for sessions are allocated in advance; if those ...