private static void copyTempToNewAdapter(SymbolDatabaseAdapter tmpAdapter,
			SymbolDatabaseAdapter newAdapter, TaskMonitor monitor)
			throws IOException, CancelledException {

		RecordIterator iter = tmpAdapter.getSymbols();
		while (iter.hasNext()) {
			monitor.checkCancelled();
			newAdapter.updateSymbolRecord(iter.next());
			monitor.incrementProgress(1);
		}
	}
Gets a new SymbolDatabaseAdapter
@param dbHandle the database handle
@param openMode the open mode
@param addrMap the address map
@param monitor the progress monitor
@return a new SymbolDatabaseAdapter
@throws VersionException if the database table does not match the adapter
@throws CancelledException if the user cancels an upgrade
@throws IOException if a database io error occurs
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/symbol/SymbolDatabaseAdapter.java