public static String constructNonfatalError(int flags, ExecutableRecord newrec,
			ExecutableRecord orig) {
		String res;
		if ((flags & ExecutableRecord.METADATA_NAME) != 0) {
			res = newrec.getNameExec() + " already ingested with a different name: " +
				orig.getNameExec();
		}
		else if ((flags & ExecutableRecord.METADATA_PATH) != 0) {
			res = newrec.getNameExec() + " already ingested under a different path: " +
				orig.getPath();
		}
		else if ((flags & ExecutableRecord.METADATA_DATE) != 0) {
			res = newrec.getNameExec() + " already ingested with a different date: " +
				orig.getDate().toString();
		}
		else {
			res = newrec.getNameExec() + " already ingested with UNKNOWN difference in metadata";
		}
		return res;
	}
Send a query to the database.  The response is returned as a QueryResponseRecord.
If this is null, an error has occurred and an error message can be obtained from getLastError
@param query an object describing the query
@return the response object or null if there is an error
Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/query/FunctionDatabase.java