bugfix
This commit is contained in:
parent
e14b9dfce5
commit
aac61c2bb3
@ -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 ''
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user