You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bug - PyMySQLReplicationTestCase.isMariaDB() 정상 동작하지 않음
함수 설명
해당 함수를 통해서 test 때 연결되어진 DBMS가 mysql 인지 mariaDB 인지 구별할 수 있습니다
...
def isMariaDB(self):
if self.__is_mariaDB is None:
self.__is_mariaDB = "MariaDB" in self.execute("SELECT VERSION()").fetchone()
return self.__is_mariaDB
...
문제
fechone() 함수를 통해 실행시킨 결과 값은 tuple 형태로 전달 받고 있지만 현재 "MariaDB" in self.execute("SELECT VERSION()").fetchone() 구문은 string 타입의 데이터를 확인하고 있음에 따라 isMariaDB 함수는 항상 False를 반환하는 에러가 존재합니다
The text was updated successfully, but these errors were encountered:
bug - PyMySQLReplicationTestCase.isMariaDB() 정상 동작하지 않음
해당 함수를 통해서 test 때 연결되어진 DBMS가 mysql 인지 mariaDB 인지 구별할 수 있습니다
fechone() 함수를 통해 실행시킨 결과 값은 tuple 형태로 전달 받고 있지만 현재
"MariaDB" in self.execute("SELECT VERSION()").fetchone()
구문은 string 타입의 데이터를 확인하고 있음에 따라isMariaDB
함수는 항상 False를 반환하는 에러가 존재합니다The text was updated successfully, but these errors were encountered: