[dan@linux mariadb-server-10.3]$ git bisect good mariadb-10.3.23
|
[dan@linux mariadb-server-10.3]$ git bisect bad mariadb-10.3.24
|
Bisecting: 224 revisions left to test after this (roughly 8 steps)
|
[838a1046b247e0c70089d3b5cf609c0a40fa3e4b] MDEV-20377: Fix cmake -DPLUGIN_PERFSCHEMA=NO
|
(segv)
|
[dan@linux mariadb-server-10.3]$ git bisect skip
|
Bisecting: 224 revisions left to test after this (roughly 8 steps)
|
[97f7d4a9b4da77cb79699a0ea873e4a0e628e8a3] MDEV-22726: Add check that one can't change general or slow log to a transactional engine
|
|
+------------------------------+
|
| POW((1/(1+(0.0275/12))), 59) |
|
+------------------------------+
|
| 0.8736690781345217 |
|
+------------------------------+
|
good
|
[dan@linux mariadb-server-10.3]$ git bisect good
|
Bisecting: 124 revisions left to test after this (roughly 7 steps)
|
[ef7cb0a0b5108b74c23bf6190f7df2cbfe2996a6] Merge branch '10.1' into 10.2
|
+------------------------------+
|
| POW((1/(1+(0.0275/12))), 59) |
|
+------------------------------+
|
| 0.8729680736160053 |
|
+------------------------------+
|
bad
|
[dan@linux mariadb-server-10.3]$ git bisect bad
|
Bisecting: 62 revisions left to test after this (roughly 6 steps)
|
warning: unable to rmdir 'libmariadb': Directory not empty
|
warning: unable to rmdir 'storage/rocksdb/rocksdb': Directory not empty
|
[4860fe244bd1f4a6f3b803648d651e49e7b92a2c] XtraDB 5.6.49-89.0
|
|
+------------------------------+
|
| POW((1/(1+(0.0275/12))), 59) |
|
+------------------------------+
|
| 0.8729680736160053 |
|
+------------------------------+
|
bad
|
[dan@linux mariadb-server-10.3]$ git bisect bad
|
Bisecting: 31 revisions left to test after this (roughly 5 steps)
|
[142f85142ad5a5ad5bfea057e13916e9b6609520] Update the InnoDB version number to 5.6.49
|
+------------------------------+
|
| POW((1/(1+(0.0275/12))), 59) |
|
+------------------------------+
|
| 0.8736690781345217 |
|
+------------------------------+
|
good
|
[dan@linux mariadb-server-10.3]$ git bisect good
|
Bisecting: 15 revisions left to test after this (roughly 4 steps)
|
[4b97f14a3d692721a089afe8050a00fcfc230816] mysql_install_db: help lists --defaults-file twice
|
+------------------------------+
|
| POW((1/(1+(0.0275/12))), 59) |
|
+------------------------------+
|
| 0.8729680736160053 |
|
+------------------------------+
|
bad
|
[dan@linux mariadb-server-10.3]$ git bisect bad
|
Bisecting: 7 revisions left to test after this (roughly 3 steps)
|
[98e2c17e9e20898bc8c1e58c57e0666502ec447e] Cleanup: Remove fil_check_adress_in_tablespace()
|
|
+------------------------------+
|
| POW((1/(1+(0.0275/12))), 59) |
|
+------------------------------+
|
| 0.8736690781345217 |
|
+------------------------------+
|
good
|
[dan@linux mariadb-server-10.3]$ git bisect good
|
Bisecting: 3 revisions left to test after this (roughly 2 steps)
|
[52ccedd6dd50e8e5cd8ca9b1be84bc5e87c20950] MDEV-23268 SIGSEGV on srv_monitor_event if InnoDB is read-only
|
+------------------------------+
|
| POW((1/(1+(0.0275/12))), 59) |
|
+------------------------------+
|
| 0.8729680736160053 |
|
+------------------------------+
|
bad
|
Bisecting: 1 revision left to test after this (roughly 1 step)
|
[62d73df6b270cc94ba577e96d3bf325170f306fe] MDEV-19232: Floating point precision / value comparison problem
|
+------------------------------+
|
| POW((1/(1+(0.0275/12))), 59) |
|
+------------------------------+
|
| 0.8729680736160053 |
|
+------------------------------+
|
bad
|
[dan@linux mariadb-server-10.3]$ git bisect bad
|
Bisecting: 0 revisions left to test after this (roughly 0 steps)
|
[57ec42bc321dee796ce8e711a4499cd665513009] MDEV-23190 InnoDB data file extension is not crash-safe
|
+------------------------------+
|
| POW((1/(1+(0.0275/12))), 59) |
|
+------------------------------+
|
| 0.8736690781345217 |
|
+------------------------------+
|
good
|
[dan@linux mariadb-server-10.3]$ git bisect good
|
62d73df6b270cc94ba577e96d3bf325170f306fe is the first bad commit
|
commit 62d73df6b270cc94ba577e96d3bf325170f306fe
|
Author: Varun Gupta <varun.gupta@mariadb.com>
|
Date: Wed Jul 22 14:44:25 2020 +0530
|
|
MDEV-19232: Floating point precision / value comparison problem
|
|
The issue occurs when the subquery_cache is enabled.
|
When there is a cache miss the division was leading to a value with scale 9.
|
In the case of cache hit the value returned was of scale 9 and due to the different
|
values for the scales the where condition evaluated to FALSE, hence the output
|
was incomplete.
|
|
To fix this problem we need to round up the decimal to the limit mentioned in
|
Item::decimals. This would make sure the values are compared with the same
|
scale.
|
|
mysql-test/r/func_group.result | 4 ++--
|
mysql-test/r/parser_precedence.result | 2 +-
|
mysql-test/r/subselect4.result | 24 ++++++++++++++++++++
|
mysql-test/r/type_newdecimal.result | 5 -----
|
mysql-test/r/type_ranges.result | 6 ++---
|
.../sys_vars/r/div_precision_increment_func.result | 16 ++++++-------
|
mysql-test/suite/vcol/r/not_supported.result | 2 +-
|
mysql-test/t/subselect4.test | 26 ++++++++++++++++++++++
|
sql/item_func.cc | 2 ++
|
.../mysql-test/tokudb/r/type_newdecimal.result | 5 -----
|
.../tokudb/mysql-test/tokudb/r/type_ranges.result | 6 ++---
|
11 files changed, 68 insertions(+), 30 deletions(-)
|
|
[dan@linux mariadb-server-10.3]$ git checkout origin/10.1
|
Previous HEAD position was 57ec42bc321 MDEV-23190 InnoDB data file extension is not crash-safe
|
HEAD is now at 873cc1e77a7 MDEV-21839: Handle crazy offset to SHOW BINLOG EVENTS
|
|
[dan@linux mariadb-server-10.3]$ git revert 62d73df6b270cc94ba577e96d3bf325170f306fe
|
Auto-merging sql/item_func.cc
|
Auto-merging mysql-test/t/subselect4.test
|
CONFLICT (content): Merge conflict in mysql-test/t/subselect4.test
|
Auto-merging mysql-test/r/type_newdecimal.result
|
Auto-merging mysql-test/r/subselect4.result
|
CONFLICT (content): Merge conflict in mysql-test/r/subselect4.result
|
error: could not revert 62d73df6b27... MDEV-19232: Floating point precision / value comparison problem
|
hint: after resolving the conflicts, mark the corrected paths
|
hint: with 'git add <paths>' or 'git rm <paths>'
|
hint: and commit the result with 'git commit'
|
|
+------------------------------+
|
| POW((1/(1+(0.0275/12))), 59) |
|
+------------------------------+
|
| 0.8736690781345217 |
|
+------------------------------+
|
|
good
|