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.
Nullpointer AV when changing dataset's SQL design time
Moderators: gto, cipto_kh, EgonHugeist, mdaems
Nullpointer AV when changing dataset's SQL design time
Delphi 12.2, Zeos 8 from latest GIT snapshot
Using:
- MySQL server 8.0.18; libmysql.dll 8.0.40 x64 5.7.19 x68, libmariadb.dll 3.3.11
- Oracle server 11.2.0, 12.1.0, 19.0.0; oci.dll 21.15
- MSSQL 2012, 2019; sybdb.dll FreeTDS_3102
- SQLite 3.47
Using:
- MySQL server 8.0.18; libmysql.dll 8.0.40 x64 5.7.19 x68, libmariadb.dll 3.3.11
- Oracle server 11.2.0, 12.1.0, 19.0.0; oci.dll 21.15
- MSSQL 2012, 2019; sybdb.dll FreeTDS_3102
- SQLite 3.47
-
- Platinum Boarder
- Posts: 1956
- Joined: 17.01.2011, 14:17
Re: Nullpointer AV when changing dataset's SQL design time
Hello aehimself,
I applied the patch. Thank you and best regards,
Jan
I applied the patch. Thank you and best regards,
Jan