ZDbcMySQLStatement and Unicode parameters
Posted: 16.01.2010, 17:41
Hi,
in the current SVN repository is still an issue when using parameterized queries. When a parameter is being detected as stUnicodeString, then the PrepareSQLParam does not detect that (the case statement doesn't handle stUnicodeString).
I've attached the patch. Maybe we want to handle compiler versioning to this, since I've only tested on Delphi 2010.
On a side note, we might wanna check other database drivers as well, making sure all types are being handled.
in the current SVN repository is still an issue when using parameterized queries. When a parameter is being detected as stUnicodeString, then the PrepareSQLParam does not detect that (the case statement doesn't handle stUnicodeString).
I've attached the patch. Maybe we want to handle compiler versioning to this, since I've only tested on Delphi 2010.
On a side note, we might wanna check other database drivers as well, making sure all types are being handled.