Sergei Golubchik
8f9c64000e
MDEV-15336 Server crashes in handler::print_error / ha_partition::print_error upon query timeout
...
set m_last_part to something meaningful when opening partitions
2018-02-24 01:28:51 +01:00
Sergei Golubchik
2732fcc608
Merge branch 'bb-10.2-ext' into 10.3
2018-02-23 08:43:34 +01:00
Sergei Golubchik
b8af22af15
Merge branch '10.2' into bb-10.2-ext
2018-02-22 19:29:52 +01:00
Sergei Golubchik
e4a73acc63
Merge branch '10.1' into 10.2
2018-02-22 16:46:02 +01:00
Sergei Golubchik
a04e4f531a
Merge branch '10.0' into 10.1
2018-02-22 14:12:02 +01:00
Sergei Golubchik
b728641e86
Merge branch '5.5' into 10.0
2018-02-22 09:22:03 +01:00
Sergei Golubchik
2daa005800
Merge branch '10.1' into 10.2
2018-02-22 08:39:24 +01:00
Monty
f853b8ed26
partition_alter_myisam produces warning if no symlink support
2018-02-17 18:04:58 +02:00
Marko Mäkelä
b006d2ead4
Merge bb-10.2-ext into 10.3
2018-02-15 10:22:03 +02:00
Sergei Golubchik
03de234baf
MDEV-13982 Server crashes in in ha_partition::engine_name
...
use the correct handlerton when looking for TRANSACTIONAL=1 support
2018-02-14 19:12:23 +01:00
Alexander Barkov
da99e086f9
Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext
2018-02-12 10:03:28 +04:00
Sergei Golubchik
49bcc82686
Merge branch '10.1' into 10.2
2018-02-11 13:47:16 +01:00
Alexey Botchkov
b88542681b
MDEV-14611 ALTER TABLE EXCHANGE PARTITION does not work properly when used with DATA DIRECTORY.
...
When table is renamed, the InnoDB's dictionary cache didn't
change the ib_table->data_dir_path accordingly.
Now it's set to NULL.
2018-02-10 22:17:49 +04:00
Alexey Botchkov
b4a2baffa8
MDEV-11084 Select statement with partition selection against MyISAM table opens all partitions.
...
Now we don't open partitions if it was explicitly cpecified.
ha_partition::m_opened_partition bitmap added to track
partitions that were actually opened.
2018-01-29 11:01:14 +04:00
Marko Mäkelä
145ae15a33
Merge bb-10.2-ext into 10.3
2018-01-04 09:22:59 +02:00
Monty
c2c2173727
Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext
2018-01-03 02:59:32 +02:00
Monty
fbab79c9b8
Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext
...
Conflicts:
cmake/make_dist.cmake.in
mysql-test/r/func_json.result
mysql-test/r/ps.result
mysql-test/t/func_json.test
mysql-test/t/ps.test
sql/item_cmpfunc.h
2018-01-01 19:39:59 +02:00
Monty
b32b22baba
Disable warnings in partion_alter_myisam
...
Disabled warnings for directory option as this is depending on compilation
options.
2018-01-01 19:38:58 +02:00
Vicențiu Ciorbaru
9aeb5d01d6
Merge remote-tracking branch 'origin/10.1' into bb-10.2-vicentiu
2017-12-28 19:27:00 +02:00
Sergei Golubchik
5377242fff
MDEV-14026 ALTER TABLE ... DELAY_KEY_WRITE=1 creates table copy for partitioned MyISAM table with DATA DIRECTORY/INDEX DIRECTORY options
...
set data_file_name and index_file_name in HA_CREATE_INFO
before calling check_if_incompatible_data()
2017-12-25 15:18:21 +01:00
Vicențiu Ciorbaru
985d2d393c
Merge remote-tracking branch 'origin/10.1' into 10.2
2017-12-22 12:23:39 +02:00
Vicențiu Ciorbaru
e3d89652e5
Merge branch '10.0' into 10.1
2017-12-20 13:30:05 +02:00
Vicențiu Ciorbaru
042f763268
Merge remote-tracking branch '5.5' into 10.0
2017-12-20 12:51:57 +02:00
Marko Mäkelä
0436a0ff3c
Merge bb-10.2-ext into 10.3
2017-12-19 17:28:22 +02:00
Marko Mäkelä
028e91f380
Merge 10.2 into bb-10.2-ext
2017-12-19 17:12:14 +02:00
Marko Mäkelä
8d70097c21
Merge 10.1 to 10.2
...
Follow-up fix to MDEV-14008: Let Field_double::val_uint() silently
return 0 on error
2017-12-19 16:48:28 +02:00
Marko Mäkelä
09c5bbf471
Merge 10.0 into 10.1
2017-12-18 20:05:50 +02:00
Sergei Golubchik
03e91ce324
MDEV-14641 Incompatible key or row definition between the MariaDB .frm file and the information in the storage engine
...
make sure that mysql_create_frm_image() and fast_alter_partition_table()
use the same code to derive HA_OPTION_PACK_RECORD from
create_info->row_type.
2017-12-18 16:16:42 +01:00
Monty
d4a4185451
MDEV Assertion `partition_id == m_extra_cache_part_id' failed in ha_partition::late_extra_no_cache
...
The problem was that multi_range_read_info_const() called
multi_range_key_create_key() which changed m_part_spec.start_part,
while there was an activ table scan ongoing.
Fixed by copying and restoring m_part_spec around
multi_range_key_create_calls()
2017-12-12 15:10:53 +02:00
Monty
8eeb689e9f
Adding multi_range_read support to partitions
...
Other things:
- Cleanup of allocated bitmaps done in open(), which
simplifies init_partition_bitmaps()
- Add needed defines in ha_spider.cc to enable new spider code
- Fixed some DBUG_PRINT() to be consistent with normal code
- Removed end space
- The changes in test cases partition_innodb, partition_range,
partition_pruning etc are becasue partitions can now more exactly
calculate the number of rows in a range.
Contains spider patches:
014,015,023,033,035,037,040,042,044,045,049,050,051,053,059
2017-12-03 13:58:34 +02:00
Alexander Barkov
9b53e541f0
MDEV-13788 Server crash when issuing bad SQL partition syntax
2017-11-20 09:33:19 +04:00
Alexander Barkov
5d3ed9acdd
(Part#2) MDEV-13049 Querying INFORMATION_SCHEMA becomes slow in MariaDB 10.1
...
This is a 10.3 specific part of MDEV-13049.
It disables automatic sorting for
"SELECT .. FROM INFORMATION_SCHEMA.{SCHEMATA|TABLES}"
and adjusts the affected tests accordingly.
2017-10-31 13:00:20 +04:00
Alexander Barkov
835cbbcc7b
Merge remote-tracking branch 'origin/bb-10.2-ext' into 10.3
...
TODO: enable MDEV-13049 optimization for 10.3
2017-10-30 20:47:39 +04:00
Alexander Barkov
003cb2f424
Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext
2017-10-30 16:42:46 +04:00
Sergei Golubchik
e0a1c745ec
Merge branch '10.1' into 10.2
2017-10-24 14:53:18 +02:00
Sergei Golubchik
9d2e2d7533
Merge branch '10.0' into 10.1
2017-10-22 13:03:41 +02:00
Sergei Golubchik
da4503e956
Merge branch '5.5' into 10.0
2017-10-18 15:14:39 +02:00
Sergei Golubchik
b036b6b594
MDEV-13937 Aria engine: Internal Error 160 after partition handling
...
Partition wasn't setting HA_OPTION_PACK_RECORD on ALTER TABLE
if the row format was PAGE.
(so one bit in the null bitmap was reserved for a deleted bit -
see make_empty_rec - and all actual null bits were one off)
2017-10-17 07:37:39 +02:00
Marko Mäkelä
4a32e2395e
Merge bb-10.2-ext into 10.3
2017-09-25 22:05:56 +03:00
Sergei Golubchik
1320ad5b92
Merge branch '10.2' into bb-10.2-ext
2017-09-23 20:22:30 +02:00
Sergei Golubchik
f1ce69f3a9
Merge branch '10.1' into 10.2
...
But without f4f48e06215..f8a800bec81 - fixes for MDEV-12672
and related issues. 10.2 specific fix follows...
2017-09-22 02:27:00 +02:00
Sergei Golubchik
2e3a16e366
Merge branch '10.0' into 10.1
2017-09-21 22:02:21 +02:00
Marko Mäkelä
e3d44f5d62
Merge bb-10.2-ext into 10.3
2017-09-21 08:12:19 +03:00
Sergei Golubchik
b7434bacbd
include/master-slave.inc must always be included last
2017-09-20 18:17:50 +02:00
Marko Mäkelä
fc3b1a7d2f
Merge 10.2 into bb-10.2-ext
2017-09-20 17:47:49 +03:00
Vicențiu Ciorbaru
d66856c4f7
Update testcase post merge
2017-09-20 00:46:08 +03:00
Vicențiu Ciorbaru
22c322c649
Merge branch '10.1' into 10.2
2017-09-19 12:43:02 +03:00
Sergei Golubchik
a5ee77393f
MDEV-13157 Specifying DATA DIRECTORY in tables leads to failing EXCHANGE PARTITION
2017-09-18 10:40:26 +02:00
Sergei Golubchik
be3490f01f
cleanup parts.partition_exch_* tests
2017-09-18 10:40:26 +02:00
Alexander Barkov
442ac9229b
Merge remote-tracking branch 'origin/bb-10.2-ext' into 10.3
2017-08-15 17:54:46 +04:00