mysql and python error with columns -


i running mysql on python 3.3 , when bunch of requests come in @ same time updates rows of table value instead of where clause says part of code seems erroring is:

mdbe=mysql.connector.connect(user=user,password=password,database=database).cursor(buffered=true).execute us="hi" mdbe('update blas set setter="%s",blanks="%s",lastblank="%s" us="%s"'%(setter,blanker,a,us)),mconn.commit() 

that should make row us="hi" change makes rows change.


Comments

Popular posts from this blog

hibernate - How to load global settings frequently used in application in Java -

python 3.x - Mapping specific letters onto a list of words -

objective c - Ownership modifiers with manual reference counting -