mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update sphinx_make.py
This commit is contained in:
@@ -323,7 +323,7 @@ index {$DB_NAME}_{$TABLE_NAME}
|
||||
sql_find = "select * from {}.{} where `table`='{}'".format(db,self.delta,table)
|
||||
find_data = self.pdb.query(sql_find)
|
||||
if len(find_data) == 0:
|
||||
insert_sql = "insert into `{}`.`{}`(`table`,`max_id`) values ('{}',{}) ".format(db,self.delta,db,0)
|
||||
insert_sql = "insert into `{}`.`{}`(`table`,`max_id`) values ('{}',{}) ".format(db,self.delta,table,0)
|
||||
# print(insert_sql)
|
||||
self.pdb.execute(insert_sql)
|
||||
conf += self.makeSphinxDbSourceDelta(db,table)
|
||||
|
||||
Reference in New Issue
Block a user