Queries fail - no such column
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bacula (Ubuntu) |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
Binary package hint: bacula-
Apparently there is something wrong with quoting when bacula creates the SQL strings to query it's database.
Reproduce: connect to the director via "bconsole" (or gnome-console...), execute the QUERY command. Then choose one of the queries shown below. It seems the SQL is built incorrectly, for example:
... WHERE JobMedia.
STRING should be quoted with single ticmarks, like 'STRING'.
This is bacula-
Choose a query (1-15): 14
Enter MediaId: BAK002L3
Query failed: no such column: BAK002L3
SELECT DISTINCT Job.JobId,
Choose a query (1-15): 13
Enter JobId: valar_all
Query failed: no such column: valar_all
SELECT Path.Path,
Choose a query (1-15): 8
Enter JobId: valar_all
Query failed: no such column: valar_all
SELECT DISTINCT Job.JobId,
Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering is this still an issue for you? Thanks in advance.