MySQL Weekly

毎週月曜朝10時ころ更新、1週間のMySQL情報をまとめます

Update for last week (2020-03-30~ 2020-04-05)

MySQL Weeklyでは1週間ごとにMySQLのrelease-note, bug, official blog, organizationによるblog, 個人のblogをまとめ紹介しています。 更新は月曜 10時(AM)です。先週一週間のMySQL関連の更新を再確認するのにご活用ください。

また、このブログ記事はGitHub上で管理されていますMySQL-weekly repository。Issue, pull-request歓迎です。(完全に同期できているわけではありません)

Release note

(https://dev.mysql.com/doc/relnotes/mysql/8.0/en/)

  • Nothing

Bugs

基本的にMySQL Server, 5.7以上のbug fixのみまとめます

  1. serverity >= S5(Performance)でupdatedでdesc sort、結果の今週分
  2. Status == ClosedID#でdesc sort、結果の今週分を見る

Bug #94283 MySQL 8.0.15 is slower than MySQL 5.7.25

Bug #99118ARM CRC32 intrinsic call to accelerate table-checksum (not crc32c but crc32)

  • arm intrinsicなcrc32 最適化があるらしく、それで性能向上できるため、そのpatchつきreport
  • crc32とcrc32cについては以下のように説明されている
    • crc32 is traditional crc32 found in most of the zip utilities.
    • crc32c (crc32 Castagnoli) uses different polynomial and a new generation the platform can compute full 32 bit crc32c in 3 cycles.
  • MySQLではそれぞれ以下で使われているらしい
    • MySQL uses both of them. crc32 is used for calculating table and binlog checksum and crc32c for by InnoDB for page-checksum.

Bug #99119 different xor results with float in MySQL 5.7 and MySQL 8.0

  • xorでfloat型との演算結果がおかしい
  • select 0.001 xor 0;など
  • 8.0以降でfixed, 比較的大規模なリファクタリングの成果なので5.7以下では修正されない様子
  • 回避策として次のような方法が5.7以下でも有効select '0.001'<>0 xor 0<>0;

Bug #99120 Incorrect result for query that uses an AND operator on floats

  • floatとのAND演算がおかしい
  • 8.0以降でfixed
  • 上記と同じで5.7以前の回避策として次のようにかけるSELECT * FROM t0 WHERE 1<>0 AND 0.4<>0;

Bug #99122 A predicate that compares 0 with -0 yields an incorrect result

  • 0-0 の比較結果がおかしい
  • 8.0.21で直る (比較するデータのどちらかがfloat pointの型の状況で-0と比較すると結果がおかしい様子)

Bug #99131 Segfault on shutdown if started with --create-admin-listener-thread=1 option

  • --create-admin-listener-thread=1を設定して--admin-addressを設定しないでmysql-clientからSHUTDOWNするとsegmentation faultになる
  • 8.0.20でfixed

Bug #99166 MySQL manual does include LATERAL tables in syntax description for join

Organization blogs

Personal blogs


このブログ記事はGitHub上で管理されていますMySQL-weekly repository。Issue, pull-request歓迎です。(完全に同期できているわけではありません)