fix open create mode flags in fixed size field db
fix memory leak
fix db optimize
allow read database file by other process