Search



Search Results
Displaying 661 to 670 of 921 total results
https://dev.mysql.com/doc/internals/en/index-read.html
Purpose Find a row based on a key and return. Synopsis virtual int index_read ( buf, key, keypart_map, find_flag); byte * buf ; const byte * key ; ulonglong keypart_map ; enum ha_rkey_function find_flag ; Description This is the index_read method.
https://dev.mysql.com/doc/internals/en/info.html
Usage This example is from the CSV storage engine: int ha_tina::info(uint flag) { DBUG_ENTER("ha_tina::info"); /* This is a lie, but you don't want the optimizer to see zero or 1 */ if (!records_is_known && stats.records < 2) stats.records= 2; ...
https://dev.mysql.com/doc/internals/en/mysql-specific-cmake-macros.html
Example usage: MYSQL_ADD_EXECUTABLE(mysqld ${MYSQLD_SOURCE} \ DESTINATION ${INSTALL_SBINDIR}) MYSQL_ADD_PLUGIN: Build MySQL Plugin MYSQL_ADD_PLUGIN(plugin_name source1...sourceN [STORAGE_ENGINE] [MANDATORY|DEFAULT] [STATIC_ONLY|MODULE_ONLY] ...
https://dev.mysql.com/doc/internals/en/open.html
Usage This example is from the CSV storage engine: int ha_tina::open(const char *name, int mode, uint test_if_locked) { DBUG_ENTER("ha_tina::open"); if (!(share= get_share(name, table))) DBUG_RETURN(1); thr_lock_data_init(&share->lock,&lock,NULL); ...Synopsis virtual int open ( name, mode, test_if_locked); const char * name ; int mode ; uint test_if_locked ; Description This is the open ...
https://dev.mysql.com/doc/internals/en/position.html
Purpose Provide the MySQL server with position/offset information for last-read row. Synopsis virtual void position ( record); const byte * record ; Description This is the position method. position() is called after each call to rnd_next() if the ...
https://dev.mysql.com/doc/internals/en/records-in-range.html
Usage Determine an approxamite count of the rows between the key values and return. Purpose For the given range how many records are estimated to be in this range. Synopsis virtual ha_rows records_in_range ( inx, min_key, max_key); uint inx ; ...
https://dev.mysql.com/doc/internals/en/rnd-init.html
Usage This example is from the CSV storage engine: int ha_tina::rnd_init(bool scan) { DBUG_ENTER("ha_tina::rnd_init"); current_position= next_position= 0; records= 0; chain_ptr= chain; DBUG_RETURN(0); } . Synopsis virtual int rnd_init (scan); bool ...
https://dev.mysql.com/doc/internals/en/rnd-next.html
Usage This example is from the ARCHIVE storage engine: int ha_archive::rnd_next(byte *buf) { int rc; DBUG_ENTER("ha_archive::rnd_next"); if (share->crashed) DBUG_RETURN(HA_ERR_CRASHED_ON_USAGE); if (!scan_rows) DBUG_RETURN(HA_ERR_END_OF_FILE); ...
https://dev.mysql.com/doc/internals/en/rnd-pos.html
Usage Locate row based on position value and return in buffer provided. Synopsis virtual int rnd_pos ( buf, pos); byte * buf ; byte * pos ; Description This is the rnd_pos method. This is like rnd_next, but you are given a position to use to ...
https://dev.mysql.com/doc/internals/en/start-stmt.html
Usage Make any preparations needed for a transaction start (if there is no current running transaction). Purpose Called at the beginning of a statement for transaction purposes. Synopsis virtual int start_stmt ( thd, lock_type); THD * thd ; ...
Displaying 661 to 670 of 921 total results