{"action":"closed","issue":{"url":"https://api.github.com/repos/JuliaDB/ODBC.jl/issues/126","repository_url":"https://api.github.com/repos/JuliaDB/ODBC.jl","labels_url":"https://api.github.com/repos/JuliaDB/ODBC.jl/issues/126/labels{/name}","comments_url":"https://api.github.com/repos/JuliaDB/ODBC.jl/issues/126/comments","events_url":"https://api.github.com/repos/JuliaDB/ODBC.jl/issues/126/events","html_url":"https://github.com/JuliaDB/ODBC.jl/issues/126","id":155116026,"number":126,"title":"Error on Select queries with empty results. ","user":{"login":"awang94","id":7975667,"avatar_url":"https://avatars.githubusercontent.com/u/7975667?v=3","gravatar_id":"","url":"https://api.github.com/users/awang94","html_url":"https://github.com/awang94","followers_url":"https://api.github.com/users/awang94/followers","following_url":"https://api.github.com/users/awang94/following{/other_user}","gists_url":"https://api.github.com/users/awang94/gists{/gist_id}","starred_url":"https://api.github.com/users/awang94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awang94/subscriptions","organizations_url":"https://api.github.com/users/awang94/orgs","repos_url":"https://api.github.com/users/awang94/repos","events_url":"https://api.github.com/users/awang94/events{/privacy}","received_events_url":"https://api.github.com/users/awang94/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-16T20:36:22Z","updated_at":"2016-05-16T21:42:18Z","closed_at":"2016-05-16T21:42:18Z","body":"When making a SELECT query such as `ODBC.query(dsn, \"select * from my_db.persons WHERE my_db.persons.PersonID = 4\")` where I know there should be no results returned, I get the error message:\r\nLoadError: UndefRefError: access to undefined reference\r\nwhile loading In[160], in expression starting on line 1\r\n\r\n in stream! at C:\\Users\\name\\.julia\\v0.4\\ODBC\\src\\backend.jl:142\r\n in query at C:\\Users\\name\\.julia\\v0.4\\ODBC\\src\\backend.jl:261\r\n\r\nIs this the right behavior? I'm making these select queries to check for duplicate entries in the database, so in most cases the result table should be empty. Thanks!"}}