Skip to content
This repository was archived by the owner on Sep 17, 2024. It is now read-only.

ISSUE-36: Avoid using SHOW DATABASES for alive check #37

Closed
wants to merge 1 commit into from

Conversation

erolatreston
Copy link

@erolatreston erolatreston commented Jul 25, 2018

MySQL 8.0 somehow starts a transaction when SHOW DATABASES is called.
Inadvertantly starting a transaction prevents disabling LOG_BIN
using SET SQL_LOG_BIN=0. Change the Server.is_alive() function
to use SELECT 1 FROM DUAL instead.

Fixes: #36

MySQL 8.0 somehow starts a transaction when SHOW DATABASES is called.
Inadvertantly starting a transaction prevents disabling LOG_BIN
using SET SQL_LOG_BIN=0. Change the Server.is_alive() function
to use SELECT 1 FROM DUAL instead.
@mysql-oca-bot
Copy link

Hi, thank you for your contribution. Please confirm this code is submitted under the terms of the OCA (Oracle's Contribution Agreement) you have previously signed by cutting and pasting the following text as a comment:
"I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it."
Thanks

@erolatreston
Copy link
Author

I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.

@mysql-oca-bot
Copy link

Hi, thank you for your contribution. Your code has been assigned to an internal queue. Please follow
bug http://bugs.mysql.com/bug.php?id=91792 for updates.
Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants