Page 1 of 1

Nullpointer AV when changing dataset's SQL design time

Posted: 05.07.2021, 12:25
by aehimself
I have an application with the standard setup... SQLConnection -> Dataset -> Datasource -> DBGrid. I wanted to add a field to the query and I was greeted with an AV.
The reason why it happens is I'm setting up the SQLConnection runtime, so design time it's empty and ZSQLStrings attempted to get the connections drivers tokenizer. But there's no driver.

I sent a patch for it on GitHub.

Re: Nullpointer AV when changing dataset's SQL design time

Posted: 05.07.2021, 15:38
by marsupilami
Hello aehimself,

I applied the patch. Thank you and best regards,

Jan