[DB] Merge code.