[DB] Merge code.
[DB] Merge code.