diff --git a/sqlor/mysqlor.py b/sqlor/mysqlor.py index a6a308d..3088771 100755 --- a/sqlor/mysqlor.py +++ b/sqlor/mysqlor.py @@ -1,5 +1,4 @@ # -*- coding:utf8 -*- -import pymysql from appPublic.argsConvert import ArgsConvert,ConditionConvert from .sor import SQLor @@ -52,8 +51,6 @@ class MySqlor(SQLor): def isMe(self,name): if name=='pymysql': return True - if name=='aiomysql': - return True return False def grammar(self): @@ -61,9 +58,6 @@ class MySqlor(SQLor): 'select':select_stmt, } - def _opendb(self): - self.conn = pymysql.connect(**self.dbdesc['kwargs']) - def placeHolder(self,varname,pos=None): if varname=='__mainsql__' : return '' diff --git a/sqlor/version.py b/sqlor/version.py index fedf635..fc9509b 100644 --- a/sqlor/version.py +++ b/sqlor/version.py @@ -1,4 +1,2 @@ # fixed sor.py C function bug. -__version__ = "0.1.2" -# use PyMySQL to replace mysql-connector -# __version__ = '0.1.1' +__version__ = "0.1.3"