Close to finishing the db

累坏了,肩膀老疼了
finish the db
FIX BUG: db_nextrec loop forever
w25.6-home
W26.7-home