Skip to content

Commit 63ef15d

Browse files
committed
Fix: unittests unable to run with MySQL 8.0.13
The mysqld module is unable to find the `mysql/share` folder due to MySQL 8.0.13 has removed the 'mysql_system_tables.sql'. This patch adds the file 'innodb_memcached_config.sql' to the check to verify the existence of the `share` folder.
1 parent d7e3f78 commit 63ef15d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/mysqld.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,8 @@ def _init_mysql_install(self):
238238
self._lc_messages_dir = os.path.abspath(
239239
os.path.join(root, os.pardir)
240240
)
241-
elif afile == 'mysql_system_tables.sql':
241+
elif afile == 'mysql_system_tables.sql' or \
242+
afile == 'innodb_memcached_config.sql':
242243
self._scriptdir = root
243244

244245
if not self._lc_messages_dir or not self._scriptdir:

0 commit comments

Comments
 (0)