summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* - MRR + Block IndexingOlivier Bertrand2014-03-2060-33489/+32618
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | modified: storage/connect/array.h storage/connect/catalog.h storage/connect/colblk.cpp storage/connect/colblk.h storage/connect/connect.cc storage/connect/connect.h storage/connect/domdoc.h storage/connect/filamap.cpp storage/connect/filamap.h storage/connect/filamdbf.h storage/connect/filamfix.cpp storage/connect/filamfix.h storage/connect/filamtxt.cpp storage/connect/filamtxt.h storage/connect/filamvct.cpp storage/connect/filamvct.h storage/connect/filamzip.cpp storage/connect/filamzip.h storage/connect/filter.cpp storage/connect/filter.h storage/connect/global.h storage/connect/ha_connect.cc storage/connect/ha_connect.h storage/connect/myconn.h storage/connect/plgcnx.h storage/connect/plgdbsem.h storage/connect/plgdbutl.cpp storage/connect/plugutil.c storage/connect/preparse.h storage/connect/reldef.cpp storage/connect/reldef.h storage/connect/tabcol.h storage/connect/tabdos.cpp storage/connect/tabdos.h storage/connect/tabfix.cpp storage/connect/tabfmt.cpp storage/connect/tabfmt.h storage/connect/table.cpp storage/connect/tabmysql.cpp storage/connect/tabmysql.h storage/connect/taboccur.h storage/connect/tabodbc.h storage/connect/tabsys.h storage/connect/tabtbl.h storage/connect/tabutil.h storage/connect/tabvct.cpp storage/connect/tabvct.h storage/connect/tabwmi.h storage/connect/tabxml.h storage/connect/user_connect.cc storage/connect/user_connect.h storage/connect/valblk.cpp storage/connect/valblk.h storage/connect/value.cpp storage/connect/value.h storage/connect/xindex.cpp storage/connect/xindex.h storage/connect/xobject.cpp storage/connect/xobject.h storage/connect/xtable.h
| * - NOTE: an experimental implementation of MRR was done but not keptOlivier Bertrand2014-03-1063-1441/+331
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in this version. Sure enough, it never caused any improvement in the execution speed and rather caused a small increase of execution time. This is probably because values are sorted by rowid in each range of CONNECT indexes. This could be reconsidered if a customer have a need for processing very big files. - Fix a bug in ha_connect::CheckCond. The negated form of BETWEEN and IS NULL operators was not recognized. modified: storage/connect/ha_connect.cc - Add long jump initialization in CntReadNext. This was causing a server crash when an error occured in a ReadColumn. modified: storage/connect/connect.cc - General cleanup of CONNECT source code eliminating all code not used by CONNECT, including the MRR test code (saved separately). modified: storage/connect/catalog.h storage/connect/colblk.cpp storage/connect/colblk.h storage/connect/connect.cc storage/connect/connect.h storage/connect/domdoc.h storage/connect/filamap.cpp storage/connect/filamap.h storage/connect/filamdbf.h storage/connect/filamfix.cpp storage/connect/filamfix.h storage/connect/filamtxt.cpp storage/connect/filamtxt.h storage/connect/filamvct.cpp storage/connect/filamvct.h storage/connect/filamzip.cpp storage/connect/filamzip.h storage/connect/global.h storage/connect/ha_connect.cc storage/connect/ha_connect.h storage/connect/myconn.h storage/connect/plgcnx.h storage/connect/plgdbsem.h storage/connect/plugutil.c storage/connect/preparse.h storage/connect/reldef.cpp storage/connect/reldef.h storage/connect/tabcol.h storage/connect/tabdos.cpp storage/connect/tabdos.h storage/connect/tabfix.cpp storage/connect/tabfmt.cpp storage/connect/tabfmt.h storage/connect/table.cpp storage/connect/tabmac.h storage/connect/tabmul.h storage/connect/tabmysql.cpp storage/connect/tabmysql.h storage/connect/taboccur.h storage/connect/tabodbc.cpp storage/connect/tabodbc.h storage/connect/tabsys.cpp storage/connect/tabsys.h storage/connect/tabtbl.cpp storage/connect/tabtbl.h storage/connect/tabutil.h storage/connect/tabvct.cpp storage/connect/tabvct.h storage/connect/tabwmi.cpp storage/connect/tabwmi.h storage/connect/tabxml.cpp storage/connect/tabxml.h storage/connect/user_connect.cc storage/connect/user_connect.h storage/connect/valblk.cpp storage/connect/valblk.h storage/connect/value.cpp storage/connect/value.h storage/connect/xindex.cpp storage/connect/xindex.h storage/connect/xobject.cpp storage/connect/xobject.h storage/connect/xtable.h
* | - Adding files needed for block indexingOlivier Bertrand2014-03-106-0/+4497
| | | | | | | | | | | | | | | | | | | | | | added: storage/connect/array.cpp storage/connect/array.h storage/connect/blkfil.cpp storage/connect/blkfil.h storage/connect/filter.cpp storage/connect/filter.h
* | - TemporaryOlivier Bertrand2014-03-1045-390/+3329
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | modified: storage/connect/catalog.h storage/connect/colblk.cpp storage/connect/colblk.h storage/connect/connect.cc storage/connect/filamap.cpp storage/connect/filamfix.cpp storage/connect/filamfix.h storage/connect/filamtxt.cpp storage/connect/filamvct.cpp storage/connect/filamzip.cpp storage/connect/filamzip.h storage/connect/ha_connect.cc storage/connect/ha_connect.h storage/connect/plgdbsem.h storage/connect/plgdbutl.cpp storage/connect/reldef.cpp storage/connect/reldef.h storage/connect/tabdos.cpp storage/connect/tabdos.h storage/connect/tabfix.cpp storage/connect/tabfix.h storage/connect/tabfmt.cpp storage/connect/tabfmt.h storage/connect/table.cpp storage/connect/tabmac.h storage/connect/tabmul.h storage/connect/tabmysql.cpp storage/connect/tabodbc.cpp storage/connect/tabsys.cpp storage/connect/tabsys.h storage/connect/tabtbl.cpp storage/connect/tabtbl.h storage/connect/tabvct.cpp storage/connect/tabvct.h storage/connect/tabwmi.cpp storage/connect/tabwmi.h storage/connect/tabxml.cpp storage/connect/tabxml.h storage/connect/valblk.cpp storage/connect/valblk.h storage/connect/value.cpp storage/connect/value.h storage/connect/xobject.cpp storage/connect/xobject.h storage/connect/xtable.h
* - Fix MDEV-5497. The city column length was wrong in the create table ↵Olivier Bertrand2014-03-052-136/+136
| | | | | | | | | statements. modified: storage/connect/mysql-test/connect/r/fix.result storage/connect/mysql-test/connect/t/fix.test
* - Fix bug MDEV-5734Olivier Bertrand2014-02-2712-178/+283
| | | | | | | | | | | | | | | | | | | | | modified: storage/connect/mysql-test/connect/r/pivot.result storage/connect/mysql-test/connect/t/pivot.test storage/connect/tabmysql.cpp storage/connect/tabpivot.cpp - Implement a first experimental support of MRR (compiled only if MRRBKA_SUPPORT is defined) modified: storage/connect/colblk.h storage/connect/connect.cc storage/connect/connect.h storage/connect/global.h storage/connect/ha_connect.cc storage/connect/ha_connect.h storage/connect/plugutil.c storage/connect/user_connect.cc
* - Make alter.test to work on both Windows and LinuxOlivier Bertrand2014-02-162-8/+8
| | | | | | | modified: storage/connect/mysql-test/connect/r/alter.result storage/connect/mysql-test/connect/t/alter.test
* # This is a minor change commitmentOlivier Bertrand2014-02-1612-536/+668
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Fix accidental crash when closing domdoc xml table modified: storage/connect/domdoc.cpp - Update table and index flags. Correct version number in maria_declare_plugin. modified: storage/connect/ha_connect.cc storage/connect/ha_connect.h storage/connect/mycat.cc storage/connect/mycat.h - Fix syntax error when getting columns of a non-select srcdef (discovery) modified: storage/connect/myconn.cpp - Update some tests and result according to new flag setting modified: storage/connect/mysql-test/connect/r/alter.result storage/connect/mysql-test/connect/r/dbf.result storage/connect/mysql-test/connect/t/dbf.test - Change some tracing tests to avoid too much test printed modified: storage/connect/plgdbutl.cpp storage/connect/tabutil.cpp storage/connect/value.cpp
* - Check field option changes on ALTER TABLE in check_if_supported_inplace_alter.Olivier Bertrand2014-02-075-39/+565
| | | | | | | | | | | | | If yes, the in-place algorithm cannot be used (inward tables) modified: storage/connect/ha_connect.cc storage/connect/ha_connect.h - add a test on ALTER TABLE added: storage/connect/mysql-test/connect/r/alter.result storage/connect/mysql-test/connect/t/alter.test
* Merge 10.0-connect -> 10.0Alexander Barkov2014-02-0633-356/+1031
|\
| * Merge 10.0->10.0-connectAlexander Barkov2014-02-05521-7086/+34989
| |\
| * | - Fix a few GCC errors an warningsOlivier Bertrand2014-02-032-5/+7
| | | | | | | | | | | | | | | | | | | | | modified: storage/connect/ha_connect.cc storage/connect/mycat.cc
| * | This is a major update of CONNECT that goes from version 1.1 to 1.2Olivier Bertrand2014-02-0333-356/+1029
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | =================================================================== - Implement a first support of the ALTER TABLE command. This fixes MDEV-5440 but does much more than only that. See the details of how ALTER is supported in the new documentation and also in MDEV-5440 comment. This is done principally by implementing for CONNECT the virtual function check_if_supported_inplace_alter. modified: storage/connect/connect.cc storage/connect/global.h storage/connect/ha_connect.cc storage/connect/ha_connect.h storage/connect/mysql-test/connect/r/bin.result storage/connect/mysql-test/connect/r/csv.result storage/connect/mysql-test/connect/r/dbf.result storage/connect/mysql-test/connect/r/dir.result storage/connect/mysql-test/connect/r/fix.result storage/connect/mysql-test/connect/r/index.result storage/connect/mysql-test/connect/r/ini.result storage/connect/mysql-test/connect/r/occur.result storage/connect/mysql-test/connect/r/pivot.result storage/connect/mysql-test/connect/r/vec.result storage/connect/mysql-test/connect/t/dbf.test storage/connect/plugutil.c storage/connect/user_connect.cc - Fixes the tabname/table_name issue for XML tables. Implement multiple files XML tables. modified: storage/connect/tabxml.cpp storage/connect/tabxml.h - Set to varchar(256) the fields of catalog tables stored as STRBLK's (had length 0 --> CHAR(1)) Add the GetCharString function to the VALBLK class modified: storage/connect/ha_connect.cc storage/connect/valblk.cpp storage/connect/valblk.h storage/connect/value.cpp - Translate CONNECT error messages to system_charset to avoid truncation on not ASCII characters. modified: storage/connect/ha_connect.cc - Update version number modified: storage/connect/ha_connect.cc storage/connect/mysql-test/connect/r/xml.result - Move the TDBASE::data_charset body from xtable.h to table.cpp. (dont' remember why) modified: storage/connect/table.cpp storage/connect/xtable.h - Other modifications are to enhance the support of OEM tables. In particular, they can now provide column definition in dicovery. modified: storage/connect/colblk.h storage/connect/global.h storage/connect/ha_connect.cc storage/connect/mycat.cc storage/connect/plgcnx.h storage/connect/plgdbsem.h storage/connect/xtable.h - Or to add or modify tracing. modified: storage/connect/filamtxt.cpp storage/connect/ha_connect.cc storage/connect/plgdbutl.cpp storage/connect/tabfix.cpp storage/connect/tabmysql.cpp
* | | revert bugfix for MDEV-5295 deb upgrade 5.5 to 10.0.6 does not workSergei Golubchik2014-02-052-16/+16
| | | | | | | | | | | | it didn't help, instead it only broke upgrades even more
* | | more solaris fixes. xtradb and spider.Sergei Golubchik2014-02-053-5/+8
| | |
* | | fix the test to be independent from the stack sizeSergei Golubchik2014-02-052-3/+2
| | |
* | | Fix of rpl_parallel.test cleanup.unknown2014-02-052-0/+4
| | |
* | | merge 10.0-base ->10.0unknown2014-02-05174-6717/+12183
|\ \ \
| * \ \ merge 5.5->10.0-baseunknown2014-02-054-1/+58
| |\ \ \
| | * | | unix_socket fails in some build environments when $USER variableElena Stepanova2014-02-051-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | appears to be unset, or when it contains 'root' even though the user does not have real root permissions
| | * | | Increment the version numberElena Stepanova2014-02-011-1/+1
| | | | |
| | * | | merge of MDEV-5369 (5.3->5.5)unknown2014-01-293-1/+45
| | |\ \ \
| | | * | | MDEV-5369: Wrong result (0 instead of NULL) on 2nd execution of PS with LEFT ↵unknown2014-01-283-1/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | JOIN, TEMPTABLE view Set of JOIN_TYPE_OUTER made only once to avoid interference with optimization joins which made only once per query.
| * | | | | Upgrading the bundled PCRE to 8.34Alexander Barkov2014-02-03169-6706/+12146
| | | | | |
* | | | | | From MySQL 5.6.13 change log: Elena Stepanova2014-02-051-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Unlike MyISAM, InnoDB does not support boolean full-text searches on nonindexed columns, but this restriction was not enforced, resulting in queries that returned incorrect results. (Bug #16434374)
* | | | | | Intentional change in loggingElena Stepanova2014-02-053-3/+3
| |_|_|_|/ |/| | | |
* | | | | Spider tests failed in buildbot due to the lack of memory.Elena Stepanova2014-02-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Turned off Performance Schema for Spider test suite
* | | | | MDEV-5591 Cannot build the package under Debian WheezyElena Stepanova2014-02-052-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rules performed unnecessary copying which made tests run with wrong global testdir
* | | | | harmless typo fixedSergei Golubchik2014-02-041-2/+1
| | | | |
* | | | | ha_xtradb.so fix for solaris, gcc 3.4.3Sergei Golubchik2014-02-043-12/+24
| | | | |
* | | | | don't link with libmysys twice (it's implied here)Sergei Golubchik2014-02-041-1/+1
| | | | |
* | | | | update result fileSergei Golubchik2014-02-041-1/+1
| | | | |
* | | | | mergeSergei Golubchik2014-02-04509-7043/+34725
|\ \ \ \ \
| * | | | | test fixesSergei Golubchik2014-02-033-4/+440
| | | | | |
| * | | | | WEIGHT_STRING fix: correct Item_func_weight_string::eq() methodSergei Golubchik2014-02-031-0/+9
| | | | | |
| * | | | | mysql 5.6 partitioning bugfix: doubly-reported errorSergei Golubchik2014-02-031-0/+3
| | | | | |
| * | | | | 10.0-base mergeSergei Golubchik2014-02-03280-761/+13376
| |\ \ \ \ \ | | |/ / / /
| | * | | | make sequence and sql_discovery suites default tooSergei Golubchik2014-02-012-0/+14
| | | | | |
| | * | | | 5.5 mergeSergei Golubchik2014-02-01304-940/+12471
| | |\ \ \ \ | | | |/ / /
| | | * | | 5.3 mergeSergei Golubchik2014-01-281-1/+1
| | | |\ \ \ | | | | |/ /
| | | | * | 5.2 mergeSergei Golubchik2014-01-281-1/+1
| | | | |\ \
| | | | | * \ 5.1 mergeSergei Golubchik2014-01-284-16/+6
| | | | | |\ \
| | | | | | * | fixed a client-side overflow in mysql cliSergei Golubchik2014-01-281-1/+1
| | | | | | | |
| | | * | | | | MDEV-5345 - Deadlock between mysql_change_user(), SHOW VARIABLES andSergey Vojtovich2014-01-284-79/+152
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | INSTALL PLUGIN There was mixed lock order between LOCK_plugin, LOCK_global_system_variables and LOCK_system_variables_hash. This patch ensures that write-lock on LOCK_system_variables_hash doesn't intersect with LOCK_plugin. Fixed by moving initialization/deinitialization of plugin options from plugin_add()/plugin_del() to plugin_initialize()/plugin_deinitalize(). So that plugin options are handled without protection of LOCK_plugin.
| | | * | | | | merge 5.3 -> 5.5Alexander Barkov2014-01-286-10/+17
| | | |\ \ \ \ \ | | | | |/ / / /
| | | | * | | | MDEV-5506 safe_mutex: Trying to lock unitialized mutex at safemalloc.cAlexander Barkov2014-01-288-14/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | on server shutdown after SELECT with CONVERT_TZ It's wrong to return my_empty_string from val_str(). Removing my_empty_string. Using make_empty_result() instead.
| | | * | | | | MDEV-5576 ALTER TABLE progress report > 100%Sergei Golubchik2014-01-271-0/+1
| | | | | | | |
| | | * | | | | MDEV-4787 Missing dependency to "patch" for the Debian/Ubuntu "mariadb-test" ↵Sergei Golubchik2014-01-272-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | package add patch as a "suggested" dependency to mariadb-test-5.5
| | | * | | | | MDEV-5405 RQG induced crash in mi_assign_to_key_cache in safe mutex unlockSergei Golubchik2014-01-273-10/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | if two threads were calling mi_assign_to_key_cache() for the same table, one could change share->key_cache while the other was having share->key_cache->op_lock locked. The other thread would crash then, trying to unlock share->key_cache->op_lock (because it would be a different mutex). fixed by caching the value of share->key_cache in a local variable. The thread can still call flush_key_blocks() for an unassigned keycache, but it's harmless.
| | | * | | | | mtr: check that tests clean up debug_sync. fix tests that didn't.Sergei Golubchik2014-01-2715-3/+17
| | | | | | | |