Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Not A Problem
-
None
-
None
-
None
Description
Against some indeterminate version of MySQL, the seeding query:
SELECT command_id AS $(IDCOLUMN) FROM icinga_commands
... produces the following:
Error: Bad seed query; doesn't return $(IDCOLUMN) column. Try using quotes around $(IDCOLUMN) variable, e.g. "$(IDCOLUMN)".
So does:
SELECT command_id AS "$(IDCOLUMN)" FROM icinga_commands
The first level of diagnosis will be to determine what column names are in fact being returned. IDynamicResultRow has the following method:
public Iterator<String> getColumns();
... which we will need to use to get at the column names.