summaryrefslogtreecommitdiff
path: root/unittest/sql
Commit message (Collapse)AuthorAgeFilesLines
* Enusure that my_global.h is included firstMichael Widenius2017-08-241-0/+1
| | | | | | | | | | - Added sql/mariadb.h file that should be included first by files in sql directory, if sql_plugin.h is not used (sql_plugin.h adds SHOW variables that must be done before my_global.h is included) - Removed a lot of include my_global.h from include files - Removed include's of some files that my_global.h automatically includes - Removed duplicated include's of my_sys.h - Replaced include my_config.h with my_global.h
* Simplify IO_CACHE by removing current_pos and end_pos as self-referencesVicențiu Ciorbaru2017-06-281-1/+1
| | | | | | | | | | | | These self references were previously used to avoid having to check the IO_CACHE's type. However, a benchmark shows that on x86 5930k stock, the type comparison is marginally faster than the double pointer dereference. For 40 billion my_b_tell calls, the difference is .1 seconds in favor of performing the type check. (Basically there is no measurable difference) To prevent bugs from copying the structure using the equals(=) operator, and having to do the bookkeeping manually, remove these "convenience" variables.
* Merge branch '10.1' into 10.2Sergei Golubchik2017-03-302-2/+2
|\
| * Correct FSF addressiangilfillan2017-03-102-2/+2
| |
* | fix some quoting in error messagesSergei Golubchik2016-09-161-23/+23
| | | | | | | | add_identifier change comes from 5.7, everything else is a follow-up
* | Fixed compiler warnings and test failures found by buildbotMonty2016-06-241-1/+1
| | | | | | | | Fixed ccfilter to detect errors where the column is included in the error message
* | Added new range of MariaDB error messages, starting from 3000Monty2016-04-051-7/+8
|/ | | | | | | | | This is done by splitting variables.errmsg and locale.errmsg to variables.errmsg_extra and locale.errmsg_extra The ER() macros in unireg.h now looks more complex than before, but this isn't critical as most usage of them are with constants and the compiler will remove most of the test code.
* MDEV-9044 Binlog corruption in GaleraSergei Golubchik2015-12-181-5/+47
| | | | unit test for the IO_CACHE bug
* make encrypt-binlog and encrypt-tmp-files to fail if no encryptionSergei Golubchik2015-09-091-2/+6
| | | | | | --encrypt-binlog and --encrypt-tmp-files used to mean "encrypt XXX if encryption is available, otherwise don't encrypt", now they mean "encrypt or fail with an error".
* New encryption API. Piece-wise encryption.Sergei Golubchik2015-09-041-9/+24
| | | | | | | | | | | | | 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.
* unittest: encrypted temporary IO_CACHESergei Golubchik2015-06-272-1/+152
|
* 5.5.40+ mergeSergei Golubchik2014-10-091-1/+2
|\
* \ 5.5 mergeSergei Golubchik2014-05-092-0/+194
|\ \ | |/
| * fix broken -DWITHOUT_SERVER build: move sql-dependent unit test from mysys/ ↵Sergei Golubchik2014-05-052-0/+192
| | | | to sql/
* 10.0-base -> 10.0-montySergei Golubchik2012-10-191-3/+4
|
* MWL#182: Explain running statementsSergey Petrunya2012-07-171-9/+9
| | | | | - Address feedback from the second code review.
* MWL#182: Explain running statementsSergey Petrunya2012-07-051-1/+26
| | | | | - Make SHOW EXPLAIN command be KILLable with KILL QUERY.
* - More "local" code in show_explain.testSergey Petrunya2012-06-301-0/+1
| | | | | | - Better comments - Make unittest compile on Windows
* sql_select.cc: work compiler warningsSergey Petrunya2012-06-281-7/+7
| | | | my_apc-t.cc: make it compile on Windows.
* MWL#182: Explain running statements: address review feedbackSergey Petrunya2012-06-282-0/+204
- Move standalone tests to a unittest. - Added comments.