summaryrefslogtreecommitdiff
path: root/include/mysql/plugin_ftparser.h.pp
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |\ \ \ | | |/ / | |/| / | | |/
| | * MDEV-4472 Audit-plugin. Server-related part of the task.Alexey Botchkov2013-09-091-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | file_logger became the service. Data like query_id now are sent to the audit plugin. Fix for MDEV-4770 ported from 10.0. Fix added for the read_maria_plugin_info(). Log rotation can be disabled with 'set rotations=0'.
* | | 10.0-monty mergeSergei Golubchik2013-07-211-0/+9
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | includes: * remove some remnants of "Bug#14521864: MYSQL 5.1 TO 5.5 BUGS PARTITIONING" * introduce LOCK_share, now LOCK_ha_data is strictly for engines * rea_create_table() always creates .par file (even in "frm-only" mode) * fix a 5.6 bug, temp file leak on dummy ALTER TABLE
| * | | SHA1 serviceSergei Golubchik2013-07-131-0/+7
| | | | | | | | | | | | | | | | (because mysql_ssl library is built with -fvisibility=hidden)
| * | | Temporary commit of 10.0-mergeMichael Widenius2013-03-261-0/+2
| | | |
* | | | Fixing the problem with my_bool_t defined two times.Alexander Barkov2013-06-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (it worked fine with the modern gcc, but failed on some other compilers). modified: include/my_global.h include/mysql/plugin.h include/mysql/plugin_audit.h.pp include/mysql/plugin_auth.h.pp include/mysql/plugin_ftparser.h.pp include/mysql/service_thd_timezone.h sql/item_func.cc sql/mysqld.cc sql/set_var.cc sql/sql_plugin.cc sql/sql_plugin.h sql/sql_show.cc sql/sys_vars.cc storage/perfschema/ha_perfschema.cc
* | | | Fixing ABI template, to take into account the latest change inAlexander Barkov2013-05-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the thd_time_zone_service. modified: include/mysql/plugin_auth.h.pp include/mysql/plugin_ftparser.h.pp
* | | | Adding the timezone plugin service, to convert betweenAlexander Barkov2013-05-241-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MYSQL_TIME and my_time_t and back. Using the new service instead of direct access to thd. added: include/mysql/service_thd_timezone.h libservices/thd_timezone_service.c modified: include/my_time.h include/mysql.h.pp include/mysql/plugin.h include/mysql/plugin_audit.h.pp include/mysql/plugin_auth.h.pp include/mysql/plugin_ftparser.h.pp include/mysql/services.h include/mysql_time.h include/service_versions.h libservices/CMakeLists.txt sql/sql_class.cc sql/sql_plugin_services.h storage/connect/value.cpp
* | | | 10.0-base mergeSergei Golubchik2013-04-151-8/+0
|\ \ \ \ | | |/ / | |/| |
| * | | remove the service for installing the closed-source mysql thread pool pluginSergei Golubchik2013-04-071-8/+0
| |/ /