Skip to content

Commit 45f823f

Browse files
Merge pull request #409 from cucuridas/bugfix-13
Fix test code - 'isMariaDB'
2 parents 7420cfd + 964a89f commit 45f823f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: pymysqlreplication/tests/base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def isMySQL80AndMore(self):
6767

6868
def isMariaDB(self):
6969
if self.__is_mariaDB is None:
70-
self.__is_mariaDB = "MariaDB" in self.execute("SELECT VERSION()").fetchone()
70+
self.__is_mariaDB = "MariaDB" in self.execute("SELECT VERSION()").fetchone()[0]
7171
return self.__is_mariaDB
7272

7373
@property

0 commit comments

Comments
 (0)