GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
If a query is made with an attribute field that does not exist in the data:
These do not:
[springmeyer] pushing to 2.1
csv plugin: ensure that the datasource throws if invalid attributes a…
…re queried to keep consistent with other datasource - refs #792
tests: ensure postgis plugin throws if invalid query is made - refs #792
tests: ensure shapefile plugin throws if invalid query is made - refs #…
hmm, looks like sqlite itself does not throw if columns referenced in a query do not exist (IF they are double or single quoted):
hmmmm.... http://www.sqlite.org/lang_keywords.html. Seems like this is a bug: "If a keyword in double quotes (ex: "key" or "glob") is used in a context where it cannot be resolved to an identifier but where a string literal is allowed, then the token is understood to be a string literal instead of an identifier."
sqlite: ensure non-existant columns requested in query prompt error b…
…y switching quoting character to brackets - closes #984 - refs #792
tests: test sqlite error behavior on non-existant fields - refs #984/#…
tests: ensure ogr plugin throws on non-existant field names (currentl…
…y fails) - refs #792
ogr plugin: throw if non-existant fields are queried - refs #792