Skip to content
Commit c15985c8 authored by Sergey Biryukov's avatar Sergey Biryukov
Browse files

Tests: Allow `wpdb::set_sql_mode()` tests to run on MySQL 8.0.11+.

MySQL 8.0.11 removed support for the `NO_AUTO_CREATE_USER` SQL mode, which was used in as an example of a mode compatible with WordPress.

`NO_AUTO_VALUE_ON_ZERO` is now used in the affected tests instead, which is supported on both MySQL 5.7.x and 8.0.x.

Props kaggdesign, jeremyfelt, afragen.
Fixes #44586. See #49344.
Built from https://develop.svn.wordpress.org/trunk@47183


git-svn-id: https://core.svn.wordpress.org/trunk@46983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
parent 4b45dbe8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment