summaryrefslogtreecommitdiff
path: root/plugin
Commit message (Collapse)AuthorAgeFilesLines
* Windows, compiling : use /permissive- switch to improve conformanceVladislav Vaintroub2018-02-074-5/+5
| | | | fix a couple "initialization skipped by goto" and other new errors.
* Windows, compiling : reenable warning C4996 (deprecated functions)Vladislav Vaintroub2018-02-071-0/+3
| | | | | | | | | | | But set _CRT_NONSTDC_NO_WARNINGS to silence silly warnings about ANSI C function being non-standard Remove now deprecated GetVersion()/GetVersionEx(),except single case where where it is really needed, in feedback plugin. Remove checks for Windows NT. Avoid old IPv4-only inet_aton, which generated the warning.
* Windows : reenable warning C4805 (unsafe mix of types in bool operations)Vladislav Vaintroub2018-02-071-2/+2
|
* Fix warningsVladislav Vaintroub2018-02-061-1/+1
|
* MDEV-15091 : Windows, 64bit: reenable and fix warning C4267 (conversion from ↵Vladislav Vaintroub2018-02-068-16/+16
| | | | | | | | | | | 'size_t' to 'type', possible loss of data) Handle string length as size_t, consistently (almost always:)) Change function prototypes to accept size_t, where in the past ulong or uint were used. change local/member variables to size_t when appropriate. This fix excludes rocksdb, spider,spider, sphinx and connect for now.
* Changed database, tablename and alias to be LEX_CSTRINGMonty2018-01-307-50/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | This was done in, among other things: - thd->db and thd->db_length - TABLE_LIST tablename, db, alias and schema_name - Audit plugin database name - lex->db - All db and table names in Alter_table_ctx - st_select_lex db Other things: - Changed a lot of functions to take const LEX_CSTRING* as argument for db, table_name and alias. See init_one_table() as an example. - Changed some function arguments from LEX_CSTRING to const LEX_CSTRING - Changed some lists from LEX_STRING to LEX_CSTRING - threads_mysql.result changed because process list_db wasn't always correctly updated - New append_identifier() function that takes LEX_CSTRING* as arguments - Added new element tmp_buff to Alter_table_ctx to separate temp name handling from temporary space - Ensure we store the length after my_casedn_str() of table/db names - Removed not used version of rename_table_in_stat_tables() - Changed Natural_join_column::table_name and db_name() to never return NULL (used for print) - thd->get_db() now returns db as a printable string (thd->db.str or "")
* Merge remote-tracking branch 'origin/bb-10.2-ext' into 10.3Alexander Barkov2018-01-297-23/+23
|\
| * Merge remote-tracking branch 'origin/10.2' into bb-10.2-extMonty2018-01-277-23/+23
| |\ | | | | | | | | | | | | Conflicts: sql/table.cc
| | * Fix and reenable Windows compiler warning C4800 (size_t conversion).Vladislav Vaintroub2018-01-267-23/+23
| | |
* | | make versioning plugin more clearly a test-only thingSergei Golubchik2018-01-092-4/+4
| | | | | | | | | | | | | | | rename to test_versioning set maturity to experimental
* | | System Versioning 1.0 pre7Aleksey Midenkov2017-12-219-2970/+0
|\ \ \ | | | | | | | | | | | | Merge branch '10.3' into trunk
| * | | Moved semisync from a plugin to normal serverMonty2017-12-189-2970/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Part of MDEV-13073 AliSQL Optimize performance of semisync Did the following renames to match other similar variables key_ss_mutex_LOCK_binlog_ > key_LOCK_bing key_ss_cond_COND_binlog_send_ -> key_COND_binlog_send COND_binlog_send_ -> COND_binlog_send LOCK_binlog_ -> LOCK_binlog debian/mariadb-server-10.2.install does not install semisync libs.
* | | | MDEV-14645: AS OF TIMESTAMP is misused as TRX_ID [fixes #396]Aleksey Midenkov2017-12-141-1/+1
| | | |
* | | | System Versioning 1.0 pre3Aleksey Midenkov2017-12-112-3/+8
|\ \ \ \ | |/ / / | | | | | | | | Merge branch '10.3' into trunk
| * | | Search for galera libraries also in /usr/lib64/galera-3Monty2017-12-081-2/+4
| | | | | | | | | | | | | | | | This is where Codership's offical rpm's puts them
| * | | Remove compiler warningsMonty2017-12-031-1/+4
| | | |
* | | | IB, SQL: removed VTQ, added TRT on SQL layer [closes #305]Aleksey Midenkov2017-11-151-41/+19
| | | |
* | | | System Versioning pre1.0Aleksey Midenkov2017-11-131-19/+22
|\ \ \ \ | |/ / / | | | | | | | | Merge branch '10.3' into trunk
| * | | Merge bb-10.2-ext into 10.3Marko Mäkelä2017-11-101-19/+22
| |\ \ \ | | |/ /
| | * | Merge remote-tracking branch 'origin/10.2' into bb-10.2-extMonty2017-11-091-19/+22
| | |\ \ | | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: mysql-test/r/cte_recursive.result mysql-test/r/derived_cond_pushdown.result mysql-test/t/cte_recursive.test mysql-test/t/derived_cond_pushdown.test sql/datadict.cc sql/handler.cc
| | | * Merge 10.1 into 10.2Marko Mäkelä2017-11-071-19/+22
| | | |\
| | | | * MDEV-13921 Audit log writes invalid SQL if single-line comments areAlexey Botchkov2017-11-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | present. thread_pool_server_audit.test fixed. plugin version updated.
| | | | * MDEV-13921 Audit log writes invalid SQL if single-line comments areAlexey Botchkov2017-11-031-18/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | present. Escape special characters (like \r \n \t) instead of replacing them with spaces.
* | | | | System Versioning pre0.12Aleksey Midenkov2017-11-072-0/+243
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | Merge remote-tracking branch 'origin/archive/2017-10-17' into 10.3
| * | | | Plugins: lost terminator in versioning plugin [fixes #248]Eugene Kosov2017-08-301-1/+2
| | | | |
| * | | | SQL: VTQ testing iface moved to plugin [closes #224]Aleksey Midenkov2017-07-071-23/+173
| | | | |
| * | | | SQL: vers_current_time refactoring [closes #117]Aleksey Midenkov2017-05-051-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * session sysvars; * moved value parsing to set variable phase; * renamed 'temporal_current_timestamp' to 'vers_current_time'.
| * | | | SQL, IB: Copy history via CREATE .. SELECT [closes #157, #152]Aleksey Midenkov2017-05-051-2/+2
| | | | |
| * | | | SQL: forced, hidden versioning [closes #32]Aleksey Midenkov2017-05-052-0/+86
| | | | |
* | | | | Merge remote-tracking branch 'origin/bb-10.2-ext' into 10.3Alexander Barkov2017-10-302-1/+7
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | TODO: enable MDEV-13049 optimization for 10.3
| * | | | Merge remote-tracking branch 'origin/10.2' into bb-10.2-extAlexander Barkov2017-10-301-0/+6
| |\ \ \ \ | | | |/ / | | |/| |
| | * | | Merge branch '10.1' into 10.2Sergei Golubchik2017-10-241-0/+6
| | |\ \ \ | | | | |/ | | | |/|
| | | * | Merge branch '10.0' into 10.1Sergei Golubchik2017-10-221-0/+6
| | | |\ \
| | | | * \ Merge branch '5.5' into 10.0Sergei Golubchik2017-10-181-0/+6
| | | | |\ \
| | | | | * | MDEV-13459 Warnings, when compiling with gcc-7.xSergei Golubchik2017-10-171-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | mostly caused by -Wimplicit-fallthrough
| | | | | * | MDEV-13137 MySQL 5.6.23 Crashes when SET GLOBAL server_audit_logging=OFF;Alexey Botchkov2017-09-191-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The MySQL 5.6 doesn't always send the MYSQL_AUDIT_GENERAL_LOG notification. So we have to suppress the log_current_query() in this case.
| | | | * | | MDEV-13137 MySQL 5.6.23 Crashes when SET GLOBAL server_audit_logging=OFF;Alexey Botchkov2017-09-191-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The MySQL 5.6 doesn't always send the MYSQL_AUDIT_GENERAL_LOG notification. So we have to suppress the log_current_query() in this case.
| * | | | | | Merge remote-tracking branch 'origin/10.2' into bb-10.2-extAlexander Barkov2017-10-181-1/+1
| |\ \ \ \ \ \ | | |/ / / / /
| | * | | | | Update AWS C++ SDK versionVladislav Vaintroub2017-10-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes some truncation warnings on Win64
* | | | | | | Merge bb-10.2-ext into 10.3Marko Mäkelä2017-10-0410-53/+50
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | Merge 10.2 into bb-10.2-extMarko Mäkelä2017-10-041-31/+28
| |\ \ \ \ \ \ | | |/ / / / /
| | * | | | | Replace a non-ASCII character in a commentMarko Mäkelä2017-10-041-1/+1
| | | | | | |
| | * | | | | Fix Windows warnings : fix server_audit not to use my_win_open and CoVladislav Vaintroub2017-10-031-31/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | functions. There is no reason to export IO this functionality from server, if it can be easily implemented with CRT. Note: for the sake of compatibility, we do not use _open() on Windows, but open file with CreateFile, with FILE_SHARE_DELETE flag, so it can be renamed or deleted when open. Also atomic append flag is used.
| * | | | | | Merge remote-tracking branch 'origin/10.2' into bb-10.2-extAlexander Barkov2017-10-0210-22/+22
| |\ \ \ \ \ \ | | |/ / / / /
| | * | | | | MDEV-13384 - misc Windows warnings fixedVladislav Vaintroub2017-09-2810-22/+22
| | | | | | |
| * | | | | | compiler warningSergei Golubchik2017-09-231-1/+1
| | | | | | |
* | | | | | | Merge bb-10.2-ext into 10.3Marko Mäkelä2017-09-211-2/+8
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | Merge 10.2 into bb-10.2-extMarko Mäkelä2017-09-201-2/+8
| |\ \ \ \ \ \ | | |/ / / / /
| | * | | | | Merge branch '10.1' into 10.2Vicențiu Ciorbaru2017-09-201-2/+8
| | |\ \ \ \ \ | | | |/ / / /
| | | * | | | MDEV-13137 MySQL 5.6.23 Crashes when SET GLOBAL server_audit_logging=OFF;Alexey Botchkov2017-09-191-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The MySQL 5.6 doesn't always send the MYSQL_AUDIT_GENERAL_LOG notification. So we have to suppress the log_current_query() in this case.