summaryrefslogtreecommitdiff
path: root/include/mysql/plugin_ftparser.h.pp
Commit message (Collapse)AuthorAgeFilesLines
* MDEV-19275 SQL service for plugins.Alexey Botchkov2021-10-191-6/+2
| | | | host/user/db arguments of the mysql_real_connect_local() are removed.
* remove MYSQL_SERVER requirementSergei Golubchik2021-10-191-0/+24
|
* Added DDL_options_st *thd_ddl_options(const MYSQL_THD thd)Monty2021-06-141-0/+2
| | | | | | | | This is used by InnoDB to detect if CREATE...SELECT is used Other things: - Changed InnoDB to use thd_ddl_options() - Removed lock checking code for create...select (Approved by Marko)
* Adding -D__cplusplus into the ABI check command lineAlexander Barkov2019-07-111-69/+119
| | | | | | | | | | | | | This will allow to check ABI for C++ plugins defined in include/mysql/plugin.h e.g. like this: struct st_mysql_xxx { int interface_version; const class XXX *xxx; }; Discussed with Serg.
* MDEV-18582: Extend SHOW STATUS LIKE 'Innodb_%'Marko Mäkelä2019-07-041-1/+1
| | | | | | | | | | | | | | | | | | | Many InnoDB internal variables and counters were only exposed in an unstructured fashion via SHOW ENGINE INNODB STATUS. Expose more variables via SHOW STATUS. Many of these were exported in XtraDB. Also, introduce SHOW_SIZE_T and use the proper size for exporting the InnoDB variables. Remove some unnecessary indirection via export_vars, and bind some variables directly. dict_sys_t::rough_size(): Replaces dict_sys_get_size() and includes the hash table sizes. This is based on a contribution by Tony Liu from ServiceNow.
* Adiue thd_ha_data(), you've broke many heartsSergey Vojtovich2019-05-211-1/+0
| | | | Part of MDEV-19515 - Improve connect speed
* MDEV-5313 Improving audit API.Alexey Botchkov2019-01-181-2/+2
| | | | | json_locate_key() implemented. get rid of 'key_len' argument in functions.
* MDEV-5313 Improving audit api.Alexey Botchkov2019-01-171-10/+10
| | | | | JSON api implementations and tests pushed. sql_acl.cc fixed with the new function names.
* MDEV-5313 Improving audit api.Alexey Botchkov2018-12-121-0/+45
| | | | Service added to handle json.
* CleanupsMonty2017-12-081-1/+0
| | | | | | | | | | | | | | - Remove not used thd_rpl_is_parallel() - Remove not used mysql_notify_thread_having_shared_lock() - Remove not needed LOCK_thread_count from MYSQL_BIN_LOG::reset_logs() - LOCK_thread_count is not protecting against rollback, so this code and comment is not needed - Remove mutex_locks in slave.cc that are not needed. Added THD::assert_not_linked() to ensure that it was safe to remove - Fixed not repeatable test load_data_stmt_view - Updated binlog_killed to test removal of mutex (thanks to Andrei Elkin for test) - More code comments
* Merge bb-10.2-ext into 10.3Marko Mäkelä2017-10-041-10/+10
|\
| * Merge remote-tracking branch 'origin/10.2' into bb-10.2-extAlexander Barkov2017-10-021-13/+13
| |\
| | * MDEV-13384 Fix Windows warnings. thd_alloc functions now use size_t parametersVladislav Vaintroub2017-09-281-13/+13
| | | | | | | | | | | | Fixes some warnings in popular headers.
* | | Fix compilation warnings in pluginsSergei Golubchik2017-08-241-5/+4
|/ / | | | | | | | | | | * update cracklib_password_check to match the new prototype * cannot use __attribute__((format)) for my_snprintf, because we support format extensions that the compiler doesn't know about.
* | Merge tag 'mariadb-10.2.6' into bb-10.2-extAlexander Barkov2017-05-261-0/+37
|\ \ | |/
| * Merge 10.1 into 10.2Marko Mäkelä2017-05-061-0/+37
| |\ | | | | | | | | | | | | | | | Also, include fixes by Vladislav Vaintroub to the aws_key_management plugin. The AWS C++ SDK specifically depends on OPENSSL_LIBRARIES, not generic SSL_LIBRARIES (such as YaSSL).
| | * MDEV-11663 Create services for functionality used by pluginsVladislav Vaintroub2017-04-271-0/+37
| | | | | | | | | | | | | | | | | | Added service for - encryption (AES) - error reporting, e.g my_printf_error()
* | | Changing field::field_name and Item::name to LEX_CSTRINGMonty2017-04-231-5/+14
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Benefits of this patch: - Removed a lot of calls to strlen(), especially for field_string - Strings generated by parser are now const strings, less chance of accidently changing a string - Removed a lot of calls with LEX_STRING as parameter (changed to pointer) - More uniform code - Item::name_length was not kept up to date. Now fixed - Several bugs found and fixed (Access to null pointers, access of freed memory, wrong arguments to printf like functions) - Removed a lot of casts from (const char*) to (char*) Changes: - This caused some ABI changes - lex_string_set now uses LEX_CSTRING - Some fucntions are now taking const char* instead of char* - Create_field::change and after changed to LEX_CSTRING - handler::connect_string, comment and engine_name() changed to LEX_CSTRING - Checked printf() related calls to find bugs. Found and fixed several errors in old code. - A lot of changes from LEX_STRING to LEX_CSTRING, especially related to parsing and events. - Some changes from LEX_STRING and LEX_STRING & to LEX_CSTRING* - Some changes for char* to const char* - Added printf argument checking for my_snprintf() - Introduced null_clex_str, star_clex_string, temp_lex_str to simplify code - Added item_empty_name and item_used_name to be able to distingush between items that was given an empty name and items that was not given a name This is used in sql_yacc.yy to know when to give an item a name. - select table_name."*' is not anymore same as table_name.* - removed not used function Item::rename() - Added comparision of item->name_length before some calls to my_strcasecmp() to speed up comparison - Moved Item_sp_variable::make_field() from item.h to item.cc - Some minimal code changes to avoid copying to const char * - Fixed wrong error message in wsrep_mysql_parse() - Fixed wrong code in find_field_in_natural_join() where real_item() was set when it shouldn't - ER_ERROR_ON_RENAME was used with extra arguments. - Removed some (wrong) ER_OUTOFMEMORY, as alloc_root will already give the error. TODO: - Check possible unsafe casts in plugin/auth_examples/qa_auth_interface.c - Change code to not modify LEX_CSTRING for database name (as part of lower_case_table_names)
* | Merge branch '10.1' into 10.2Sergei Golubchik2017-03-301-180/+252
|\ \ | |/
| * cleanup: sort various lists of servicesSergei Golubchik2017-03-101-217/+217
| |
| * thd_rnd serviceSergei Golubchik2017-03-101-0/+6
| |
| * base64 serviceSergei Golubchik2017-03-101-0/+16
| |
| * my_sha2 serviceSergei Golubchik2017-03-101-0/+50
|/
* Fixed wrong counting of global Memory_usedMonty2016-04-281-1/+2
|
* New encryption API. Piece-wise encryption.Sergei Golubchik2015-09-041-12/+37
| | | | | | | | | | | | | Instead of encrypt(src, dst, key, iv) that encrypts all data in one go, now we have encrypt_init(key,iv), encrypt_update(src,dst), and encrypt_finish(dst). This also causes collateral changes in the internal my_crypt.cc encryption functions and in the encryption service. There are wrappers to provide the old all-at-once encryption functionality. But binlog events are often written piecewise, they'll need the new api.
* Merge tag 'mariadb-10.0.20' into 10.1Sergei Golubchik2015-06-271-19/+0
|\
| * Merge branch '5.5' into 10.0Sergei Golubchik2015-06-111-15/+0
| |\
| | * MDEV-8052 abi detection incorrect with clangSergei Golubchik2015-06-031-11/+0
| | | | | | | | | | | | don't include #include directives into .pp files
* | | Identical key derivation code in XtraDB/InnoDB/AriaSergei Golubchik2015-05-151-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | * Extract it into the "encryption_scheme" service. * Make these engines to use the service, remove duplicate code. * Change MY_AES_xxx error codes, to return them safely from encryption_scheme_encrypt/decrypt without conflicting with ENCRYPTION_SCHEME_KEY_INVALID error
* | | Add encryption key id to the API as a distinct conceptSergei Golubchik2015-04-091-4/+6
| | | | | | | | | | | | which is separate from the encryption key version
* | | renames to follow single consistent naming styleSergei Golubchik2015-04-091-8/+8
| | | | | | | | | | | | with namespace prefixes
* | | remove wrappers in encryption_keys.ccSergei Golubchik2015-04-091-15/+3
| | | | | | | | | | | | invoke plugin methods directly
* | | encryption plugin controls the encryptionSergei Golubchik2015-04-091-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | * no --encryption-algorithm option anymore * encrypt/decrypt methods in the encryption plugin * ecnrypt/decrypt methods in the encryption_km service * file_km plugin has --file-key-management-encryption-algorithm * debug_km always uses aes_cbc * example_km changes between aes_cbc and aes_ecb for different key versions
* | | optimize encryption apiSergei Golubchik2015-04-081-4/+2
| | | | | | | | | | | | | | | only one encryption key lookup in most cases instead of three (has_key, get_key_size, get_key).
* | | remove get_iv() from the key management plugin APISergei Golubchik2015-04-081-2/+0
| | | | | | | | | | | | now IVs are always handled internally
* | | MDEV-6819 st_mysql_show_var::value should be void* not char*Sergei Golubchik2015-03-071-2/+2
| | |
* | | encryption keys serviceSergei Golubchik2015-02-101-0/+13
| | |
* | | Improve performance for calculating memory allocationMonty2015-02-011-1/+5
| | | | | | | | | | | | Extend interface for 'show variables' with current scope
* | | MDEV-6712 THD specifics for pluginsSergei Golubchik2014-12-041-0/+12
| | | | | | | | | | | | thd_specifics service
* | | MD5 serviceSergei Golubchik2014-10-011-0/+15
| | |
* | | extend SHA1 service. cleanup of sha1 wrappersSergei Golubchik2014-10-011-0/+8
|/ /
* | MDEV-5914: Parallel replication deadlock due to InnoDB lock conflictsunknown2014-03-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Due to how gap locks work, two transactions could group commit together on the master, but get lock conflicts and then deadlock due to different thread scheduling order on slave. For now, remove these deadlocks by running the parallel slave in READ COMMITTED mode. And let InnoDB/XtraDB allow statement-based binlogging for the parallel slave in READ COMMITTED. We are also investigating a different solution long-term, which is based on relaxing the gap locks only between the transactions running in parallel for one slave, but not against possibly external transactions.
* | remove a deprecated API function from the plugin.hSergei Golubchik2013-12-221-2/+0
| |
* | MroongaSE: addint thd_autoinc and thd_error_context plugin servicesAlexander Barkov2013-12-121-1/+25
| |
* | Merge from 10.0-base to 10.0 the feature MDEV-4506: Parallel replication.unknown2013-11-011-0/+1
|\ \ | | | | | | | | | | | | | | | | | | The merge is still missing a few hunks related to temporary tables and InnoDB log file size. The associated code did not seem to exist in 10.0, so the merge of that needs more work. Until this is fixed, there are a number of test failures as a result.
| * \ Merge MDEV-4506: Parallel replication into 10.0-base.unknown2013-11-011-0/+1
| |\ \
| | * | MDEV-4506: Parallel replication: error handling.unknown2013-10-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add an error code to the wait_for_commit facility. Now, when a transaction fails, it can signal the error to any subsequent transaction that is waiting for it to commit. The waiting transactions then receive the error code back from wait_for_prior_commit() and can handle the error appropriately. Also fix one race that could cause crash if @@slave_parallel_threads were changed several times quickly in succession.
| | * | MDEV-4506: Parallel replication. Intermediate commit.unknown2013-06-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement facility for the commit in one thread to wait for the commit of another to complete first. The wait is done in a way that does not hinder that a waiter and a waitee can group commit together with a single fsync() in both binlog and InnoDB. The wait is done efficiently with respect to locking. The patch was originally made to support TaoBao parallel replication with in-order commit; now it will be adapted to also be used for parallel replication of group-committed transactions. A waiter THD registers itself with a prior waitee THD. The waiter will then complete its commit at the earliest in the same group commit of the waitee (when using binlog). The wait can also be done explicitly by the waitee.
* | | | 10.0-base merge.Sergei Golubchik2013-09-211-0/+22
|\ \ \ \ | |/ / / | | | | | | | | | | | | Partitioning/InnoDB changes are *not* merged (they'll come from 5.6) TokuDB does not compile (not updated to 10.0 SE API)
| * | | 5.5 merge and fixes for compiler/test errorsSergei Golubchik2013-09-181-0/+22
| |\ \ \ | | |/ / | |/| / | | |/