summaryrefslogtreecommitdiff
path: root/storage
Commit message (Collapse)AuthorAgeFilesLines
* Remove unnecessary debug output causing unnecessary warnings.Jan Lindström2014-09-102-11/+0
|
* MDEV-6701: InnoDB tests fail in 10.1Jan Lindström2014-09-084-10/+14
| | | | | Fixed test failures seen on defragment tests, innodb.innodb-wl5522-debug-zip and innodb.innodb_bug12902967.
* Fix incorrect merge.Jan Lindström2014-08-272-2/+0
|
* Fix small error on LZMA compression error printout.Jan Lindström2014-08-272-6/+2
|
* Fix compiler error when WITH_WSREP is not used.Jan Lindström2014-08-272-18/+16
|
* MDEV-6247: Merge 10.0-galera to 10.1.Jan Lindström2014-08-2761-82/+6079
|\ | | | | | | | | | | | | | | | | Merged lp:maria/maria-10.0-galera up to revision 3880. Added a new functions to handler API to forcefully abort_transaction, producing fake_trx_id, get_checkpoint and set_checkpoint for XA. These were added for future possiblity to add more storage engines that could use galera replication.
| * MDEV-6247: Merge 10.0-galera to 10.1.Jan Lindström2014-08-2658-94/+6091
| | | | | | | | | | | | | | | | | | Merged lp:maria/maria-10.0-galera up to revision 3879. Added a new functions to handler API to forcefully abort_transaction, producing fake_trx_id, get_checkpoint and set_checkpoint for XA. These were added for future possiblity to add more storage engines that could use galera replication.
* | MDEV-4262 - P_S discoverySergey Vojtovich2014-08-1996-4586/+888
| | | | | | | | | | | | | | | | | | Discover P_S tables automatically. Most of this patch is code clean-up: - removed tests and code responsible for P_S tables correctness verification - always return error from ha_perfschema::create() - install/upgrade scripts won't create P_S tables anymore
* | MDEV-6172: Monitor progress of ALTER TABLE ... ADD INDEX,Jan Lindström2014-08-182-0/+26
| | | | | | | | | | | | | | ALGORITHM=INPLACE for InnoDB Added thd_progress calls to row_merge_sort to give some hint how merge sort progresses.
* | MDEV-6567: Raw debug output in the error log.Jan Lindström2014-08-132-5/+11
| | | | | | | | Removed raw debug output when no error on OS operation has not happened.
* | Minor cleanups, fix compiler warningsMonty2014-08-096-10/+10
| |
* | MDEV-6548: Incorrect compression on LZMA.Jan Lindström2014-08-072-6/+12
| | | | | | | | | | Analysis: Provided incorrect parameter to output buffer size and incorrectly determined actual payload size after compression.
* | Fix Windows compiler error by disabling for now the nullptr classJan Lindström2014-08-072-6/+13
| | | | | | | | implementation.
* | MDEV-5834: Merge Kakao Defragmentation implementation to MariaDB 10.1Jan Lindström2014-08-0658-168/+4339
|/ | | | | | | | | | | | | | | | | | | | | | | Merge https://github.com/kakao/mariadb-10.0 that contains Facebook's implementation for defragmentation facebook/mysql-5.6@a2d3a74 facebook/mysql-5.6@def96c8 facebook/mysql-5.6@9c67c5d facebook/mysql-5.6@921a81b facebook/mysql-5.6@aa519bd facebook/mysql-5.6@fea7d13 facebook/mysql-5.6@09b29d3 facebook/mysql-5.6@9284abb facebook/mysql-5.6@dbd623d facebook/mysql-5.6@aed55dc facebook/mysql-5.6@aad5c82 This version does not add new SQL-syntax and new handler API function. Instead optimize table is mapped to defragment table if innodb_defragment=ON, by default the feature is off. Contains changes authored by Sunguck Lee (Kakao).
* MDEV-6512: InnoDB: Assertion failure in thread 4537024512 in fileJan Lindström2014-07-318-9/+174
| | | | | | | | | | | | buf0buf.cc line 2642. Analysis: innodb_compression_algorithm is a global variable and can change while we are building page compressed page. This could lead page corruption. Fix: Cache innodb_compression_algorithm on local variable before doing any compression or page formating to avoid concurrent change. Improved page verification on debug builds.
* Fix compiler error on Windows.Jan Lindström2014-07-291-6/+2
|
* Fix compiler error on Windows.Jan Lindström2014-07-251-3/+3
|
* Fiix random test failures on fil_decompress_page_2 function.Jan Lindström2014-07-2523-105/+261
| | | | | | | | | | | | | | Analysis: InnoDB writes also files that do not contain FIL-header. This could lead incorrect analysis on os_fil_read_func function when it tries to see is page page compressed based on FIL_PAGE_TYPE field on FIL-header. With bad luck uncompressed page that does not contain FIL-headed, the byte on FIL_PAGE_TYPE position could indicate that page is page comrpessed. Fix: Upper layer must indicate is file space page compressed or not. If this is not yet known, we need to read the FIL-header and find it out. Files that we know that are not page compressed we can always just provide FALSE.
* Merge branch '10.1' of github.com:MariaDB/server into 10.1Jan Lindström2014-07-231-0/+18
|\
| * MDEV-6456: Add progress indication for "Reading tablespace information from ↵Sergei Petrunia2014-07-221-0/+18
| | | | | | | | | | | | the .ibd files" # of processed files is printed every 15 sec.
* | Fix default value for innodb_compression_algorithm to 0 (uncompressed)Jan Lindström2014-07-232-2/+2
|/ | | | to avoid test failures.
* MDEV-6354: Implement a way to read MySQL 5.7.4-labs-tplc pageJan Lindström2014-07-2218-73/+833
| | | | | | compression format (Fusion-IO). Addeed LZMA and BZIP2 compression methods.
* deb hack: don't set CASSANDRA_DEB_FILES unless cassandra can be builtSergei Golubchik2014-06-291-1/+3
|
* MDEV-6376: InnoDB: Assertion failure in thread 139995225970432Jan Lindström2014-06-282-0/+31
| | | | | | | | | | | | | in file buf0mtflu.cc line 570. Analysis: Real timing bug, we should take the mutex before we try to send those shutdown messages, that would make sure that threads doing a unfinished flush (they have acquired this mutex) have time to do their work before we add shutdown messages to work queue. Currently, we just add those shutdown messages to work queue and code assumes that at flush, there is constant number of items to be processed and thus leading to assertion.
* MDEV-6392: Change innodb_have_lzo and innodb_have_lz4 as a staticJan Lindström2014-06-268-88/+36
| | | | variables and reduce the number of ifdef's
* Merge branch '10.1' of github.com:MariaDB/server into 10.1Jan Lindström2014-06-259-86/+79
|\ | | | | | | | | Conflicts: storage/xtradb/handler/ha_innodb.cc
| * MDEV-6248 GUI-friendly cmake options to enable/disable pluginsSergei Golubchik2014-06-234-48/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Introduce a set of PLUGIN_xxx cmake options with values NO, STATIC, DYNAMIC, AUTO, YES (abort if plugin is not compiled) * Deprecate redundant and ambiguous WITH_xxx, WITH_PLUGIN_xxx, WITH_xxx_STORAGE_ENGINE, WITHOUT_xxx, WITHOUT_PLUGIN_xxx, WITHOUT_xxx_STORAGE_ENGINE * Actually check whether a plugin is disabled (DISABLED keyword was always present, but it was ignored until now). * Support conditionally disabled plugins - keyword ONLY_IF * Use ONLY_IF for conditionally skipping plugins, instead of doing MYSQL_ADD_PLUGIN conditionally as before. Because if MYSQL_ADD_PLUGIN isn't done at all, PLUGIN_xxx=YES cannot work.
| * cmake GUI cleanupSergei Golubchik2014-06-233-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | mark path-related variables (AIO_LIBRARY, ODBC_LIBRARY, ODBC_INCLUDE_DIR, Thrift_LIBS, Thrift_INCLUDE_DIRS, CRYPTO_LIBRARY, OPENSSL_LIBRARIES, OPENSSL_ROOT_DIR, OPENSSL_INCLUDE_DIR) as advanced - paths are automatically discovered by cmake. mark few choice variables (ENABLED_LOCAL_INFILE, WITHOUT_SERVER, DISABLE_SHARED) as not advanced - they are user choices, not automatically configured values. remove unused BACKUP_TEST variable.
| * MDEV-6137 better help for SET/ENUM sysvarsSergei Golubchik2014-06-194-39/+29
| | | | | | | | | | | | | | | | Auto-generate the allowed list of values for enum/set/flagset options in --help output. But don't do that when the help text already has them. Also, remove lists of values from help strings of various options, where they were simply listed without any additional information.
* | MDEV-6361: innodb_compression_algorithm configuration variable canJan Lindström2014-06-2511-25/+400
|/ | | | | | | be set to unsupported value. MDEV-6350: Excessive unnecessary memory allocation at InnoDB/XtraDB startup if LZO is installed.
* Merge branch '10.0' into 10.1Sergei Golubchik2014-06-1362-824/+2036
|\ | | | | | | | | | | | | | | Conflicts: CMakeLists.txt VERSION Modified: .gitignore
| * promote server_audit and sequence plugins to stableSergei Golubchik2014-06-131-1/+1
| |
| * MDEV-6249 mark P_S STABLE and disable it by defaultSergei Golubchik2014-06-091-1/+1
| |
| * Merge spider fixes.Sergey Vojtovich2014-06-095-60/+61
| |\
| | * fix wrong result for Spider testKentoku SHIBA2014-06-101-49/+44
| | |
| | * fix for Spider build error by abort_loop on windowsKentoku SHIBA2014-06-103-10/+17
| | |
| * | 10.0-connectSergei Golubchik2014-06-0918-510/+539
| |\ \
| | * | - Eliminate virtual columns from CSV and FMT table fieldsOlivier Bertrand2014-05-306-36/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | modified: storage/connect/colblk.h storage/connect/reldef.h storage/connect/tabfmt.cpp - Fix length specification and writing (when using FIELD_FORMAT) of DECIMAL columns modified: storage/connect/ha_connect.cc storage/connect/tabdos.cpp - Add the D field_format option (specifying the decimal separator character) modified: storage/connect/tabdos.cpp storage/connect/tabdos.h storage/connect/tabfmt.cpp
| | * | - Fix a bug causing the tabname option to be ignored when the connectionOlivier Bertrand2014-05-272-7/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | string was not an URL but a server name. Also make the dbname option to be recignized in create (was only seached in option_list) modified: storage/connect/ha_connect.cc storage/connect/tabmysql.cpp
| | * | - Fix writing header of void CONNECT DBF tables on first insert. An errorOlivier Bertrand2014-05-1211-463/+465
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | occured when the table definition had a special column that was not skipped from the header. modified: storage/connect/filamdbf.cpp - Update some test cases to reflect a change of error message generated when trying to update or delete a read only table. modified: storage/connect/mysql-test/connect/r/csv.result storage/connect/mysql-test/connect/r/dbf.result storage/connect/mysql-test/connect/r/fix.result storage/connect/mysql-test/connect/r/ini.result storage/connect/mysql-test/connect/r/vec.result storage/connect/mysql-test/connect/t/csv.test storage/connect/mysql-test/connect/t/dbf.test storage/connect/mysql-test/connect/t/fix.test storage/connect/mysql-test/connect/t/ini.test storage/connect/mysql-test/connect/t/vec.test
| | * | - Fix wrong error "Invalid offset for CVS table" when a specialOlivier Bertrand2014-05-093-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | column is defined in a CSV table (MDEV-6187) modified: storage/connect/ha_connect.cc storage/connect/reldef.h storage/connect/tabfmt.cpp
| * | | MDEV-6320 - disable spider.spider_fixesSergei Golubchik2014-06-091-0/+1
| | | |
| * | | merge of MDEV-6047unknown2014-06-094-4/+4
| |\ \ \ | | |_|/ | |/| |
| | * | MDEV-6047: Make exists_to_in optimization ON by defaultunknown2014-06-094-4/+4
| | | |
| * | | merge Spider 3.2.4Kentoku SHIBA2014-06-0822-325/+1295
| | | |
| * | | MDEV-5976: TokuDB: Wrong query result using mrr=onSergey Petrunya2014-06-062-0/+194
| | | | | | | | | | | | | | | | | | | | | | | | - Key_value_records_iterator::get_next() should pass pointer to the key to handler->ha_index_next_same(). Because of a typo bug, pointer-to-pointer was passed instead in certain cases.
| * | | revert tokudb changes that caused crashesSergei Golubchik2014-06-064-15/+14
| | | |
| * | | 5.5.38 mergeSergei Golubchik2014-06-067-17/+19
| |\ \ \
| | * | | mark tokudb in 5.5 as MariaDB_PLUGIN_MATURITY_GAMMA, not ↵Sergei Golubchik2014-06-031-7/+7
| | | | | | | | | | | | | | | | | | | | MariaDB_PLUGIN_MATURITY_ALPHA.
| | * | | cmake: mark AIO_LIBRARY, EVENT_LIBRARY, GROFF, NROFF as advanced;Sergei Golubchik2014-06-031-0/+1
| | | | | | | | | | | | | | | | | | | | use -ggdb3 if supported