Commit c5b56e98 authored by 吴升宇's avatar 吴升宇

add check

parent e8cdc8f7
......@@ -38,8 +38,8 @@ def main():
delay_table_num = 0
for table in zhengxing_table_list:
sql = "select count(*) from %s" % table
pg_sql = "select count(*) from zhengxing.%s" % table
sql = "select max(id) from %s" % table
pg_sql = "select max(id) from zhengxing.%s" % table
try:
my_cursor.execute(sql)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment