Oleksandr Byelkin
48b5777ebd
Merge branch '10.4' into 10.5
2020-08-04 17:24:15 +02:00
Oleksandr Byelkin
57325e4706
Merge branch '10.3' into 10.4
2020-08-03 14:44:06 +02:00
Oleksandr Byelkin
c32f71af7e
Merge branch '10.2' into 10.3
2020-08-03 13:41:29 +02:00
Oleksandr Byelkin
ef7cb0a0b5
Merge branch '10.1' into 10.2
2020-08-02 11:05:29 +02:00
Alexander Barkov
29851b677e
MDEV-23282 FLOAT(53,0) badly handles out-of-range values
...
truncate_double() did not take into account the max_value
limit in case when dec<NOT_FIXED_DEC.
2020-07-27 08:03:23 +04:00
Marko Mäkelä
1813d92d0c
Merge 10.4 into 10.5
2020-07-02 09:41:44 +03:00
Marko Mäkelä
f347b3e0e6
Merge 10.3 into 10.4
2020-07-02 07:39:33 +03:00
Marko Mäkelä
1df1a63924
Merge 10.2 into 10.3
2020-07-02 06:17:51 +03:00
Marko Mäkelä
ea2bc974dc
Merge 10.1 into 10.2
2020-07-01 12:03:55 +03:00
Daniel Black
37c88445e3
mtr: use env for perl
...
On FreeBSD, perl isn't in /usr/bin, its in /usr/local/bin or
elsewhere in the path.
Like storage/{maria/unittest/,}ma_test_* , we use /usr/bin/env to
find perl and run it.
2020-06-23 03:24:46 +02:00
Oleksandr Byelkin
4080e3acef
fixup of "Make error messages from DROP TABLE and DROP TABLE IF EXISTS consistent" results
2020-06-15 12:28:34 +02:00
Alexander Barkov
79cdd7e76b
MDEV-20305 Data loss on DOUBLE and DECIMAL conversion to INT
...
Bit operators (~ ^ | & << >>) and the function BIT_COUNT()
always called val_int() for their arguments.
It worked correctly only for INT type arguments.
In case of DECIMAL and DOUBLE arguments it did not work well:
the argument values were truncated to the maximum SIGNED BIGINT value
of 9223372036854775807.
Fixing the code as follows:
- If the argument if of an integer data type,
it works using val_int() as before.
- If the argument if of some other data type, it gets the argument value
using val_decimal(), to avoid truncation, and then converts the result
to ulonglong.
Using Item_handled_func to switch between the two approaches easier.
As an additional advantage, with Item_handled_func it will be easier
to implement overloading in the future, so data type plugings will be able
to define their own behavioir of bit operators and BIT_COUNT().
Moving the code from the former val_int() implementations
as methods to Longlong_null, to avoid code duplication in the
INT and DECIMAL branches.
2020-06-06 11:33:11 +04:00
Monty
bff79492c5
Added IF EXISTS to RENAME TABLE and ALTER TABLE
2020-03-24 20:47:41 +02:00
Vicențiu Ciorbaru
45bc7574fb
MDEV-18650: Options deprecated in previous versions - storage_engine
...
Remove usage of deprecated variable storage_engine. It was deprecated in 5.5 but
it never issued a deprecation warning. Make it issue a warning in 10.5.1.
Replaced with default_storage_engine.
2020-02-13 13:42:01 +02:00
Marko Mäkelä
826f9d4f7e
Merge 10.4 into 10.5
2019-05-23 10:32:21 +03:00
Robert Bindar
042f5165e3
MDEV-307 review minor edits, add yacc_ora support
2019-05-21 09:33:30 +03:00
Oleksandr Byelkin
c07325f932
Merge branch '10.3' into 10.4
2019-05-19 20:55:37 +02:00
Alexander Barkov
6434e495c1
A cleanup for MDEV-19468 Hybrid type expressions return wrong format for FLOAT
...
Fixing problems revealed by buildbot:
- Fixing compilation failure on Windows
- Recoding correct engines/iuds/r/insert_decimal.result
2019-05-15 15:22:06 +04:00
Monty
9965966a49
Fixed that storage/funcs tests works with Aria
...
Problem was that SHOW CREATE didn't remove PAGE_CHECKSUM=1
2019-05-11 13:52:31 +03:00
Sergei Golubchik
2cf30866d7
MDEV-14576 Include full name of object in message about incorrect value for column
...
update engines/ suites
followup for c4ab352b67
2018-12-21 13:31:18 +01:00
Marko Mäkelä
b5763ecd01
Merge 10.3 into 10.4
2018-12-18 11:33:53 +02:00
Marko Mäkelä
45531949ae
Merge 10.2 into 10.3
2018-12-18 09:15:41 +02:00
Varun Gupta
93c360e3a5
MDEV-15253: Default optimizer setting changes for MariaDB 10.4
...
use_stat_tables= PREFERABLY
optimizer_use_condition_selectivity= 4
2018-12-09 09:22:00 +05:30
Marko Mäkelä
fd58bb71e2
Merge 10.2 into 10.3
2018-11-19 18:45:53 +02:00
Oleksandr Byelkin
f74649b522
Merge branch '10.1' into 10.2
2018-11-15 19:21:40 +01:00
Oleksandr Byelkin
a77f80b79e
Merge branch '10.0' into 10.1
2018-11-15 17:20:26 +01:00
Oleksandr Byelkin
a84d87fde8
Merge branch '5.5' into 10.0
2018-11-15 13:57:35 +01:00
Alexander Barkov
1956695c69
MDEV-17724 Wrong result for BETWEEN 0 AND 18446744073709551615
...
The fix for "MDEV-17698 MEMORY engine performance regression"
previously fixed this problem.
- Adding the test for MDEV-17724
- Re-recording wrong results for tests:
* engines/iuds/r/insert_number
* engines/iuds/r/update_delete_number
which started to fail since MDEV-17698
2018-11-15 16:45:43 +04:00
Michael Widenius
39018f2a5a
Move mysql-test-run/extra/rpl_tests to suite/rpl/include
...
Renamed suite/rpl/include/rpl_sync.inc to rpl_sync_test.inc to
remove clash with include/rpl_sync.inc
2018-03-29 13:59:44 +03:00
Sergei Golubchik
b1818dccf7
Merge branch '10.2' into 10.3
2018-03-28 17:31:57 +02:00
Marko Mäkelä
3d7915f000
Merge 10.1 into 10.2
2018-03-21 22:58:52 +02:00
Sergei Golubchik
9584c6753e
MDEV-12874 UPDATE statements with the same source and target
...
update engine tests
2017-10-04 10:28:20 +02: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
Sergei Golubchik
b7434bacbd
include/master-slave.inc must always be included last
2017-09-20 18:17:50 +02:00
Elena Stepanova
442a6f61f5
Postfix for 74891ed257
- test result adjusted
2017-07-18 13:50:26 +03:00
Elena Stepanova
93e32d725c
Follow-up for MDEV-13089 (identifier quoting in partitioning)
...
Adjust results for tests in non-default suites
2017-07-09 20:38:57 +03:00
Nirbhay Choubey
8b2e642aa2
MDEV-7635: Update tests to adapt to the new default sql_mode
2017-02-10 06:30:42 -05:00
Vicențiu Ciorbaru
8e15768731
Merge branch '10.0' into 10.1
2017-01-16 03:18:14 +02:00
vicentiu
e9aed131ea
Merge remote-tracking branch 'origin/5.5' into 10.0
2017-01-06 17:09:59 +02:00
Elena Stepanova
9213ac8fd8
Follow-up for a411d7f4f6
- change in formatting of SHOW CREATE TABLE
2016-12-15 02:35:31 +02:00
Elena Stepanova
a1833ac5cc
Follow-up for 180065ebb0
- removal of redundant parentheses
2016-12-15 02:34:02 +02:00
Sergei Golubchik
0bef3bb8d0
cleanup: remove Item::intro_version
...
and partition_info::set_show_version_string - they were
already broken and impossible to maintain
2016-12-12 20:27:25 +01:00
Elena Stepanova
14e1f32894
Follow-up for 02d153c7b9
(str2decimal: don't return a negative zero)
2016-12-11 00:50:00 +02:00
Elena Stepanova
9208b87f18
Follow-up for big error-message cleanup (trailing dots were removed)
2016-10-13 16:54:59 +03:00
Alexander Barkov
0f8a1a314d
MDEV-10877 xxx_unicode_nopad_ci collations
2016-09-23 14:19:07 +04:00
Sergei Golubchik
f9bdc7c01a
Merge branch '10.2' into bb-10.2-jan
2016-09-19 09:47:08 +02:00
Jan Lindström
62ed88017c
Fix test failure on tc_partition_list_directory because
...
innodb-strict-mode by default is now ON, disabling it for
this test because test uses INDEX DICECTORY that is not
really supported by InnoDB.
2016-09-14 13:53:32 +03:00
Alexander Barkov
a032fd5c1c
MDEV-10758 engines/funcs.db_alter_collate_ascii and engines/funcs.db_alter_collate_utf8 fail with wrong results
2016-09-07 16:43:45 +04:00