sql_search_id = "SELECT auto_increment FROM information_schema.TABLES WHERE TABLE_SCHEMA='%s' AND TABLE_NAME='%s'"%(db,table)
# 自增id wensid = tx.execute(sql_search_id) wensid = tx.fetchall()[0]["auto_increment"]
sql_search_id = "SELECT auto_increment FROM information_schema.TABLES WHERE TABLE_SCHEMA='%s' AND TABLE_NAME='%s'"%(db,table)
# 自增id wensid = tx.execute(sql_search_id) wensid = tx.fetchall()[0]["auto_increment"]