new bug with utf8

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
ben
Posts: 119
Joined: Wed 17 Nov 2004 19:48

new bug with utf8

Post by ben » Sat 06 May 2006 17:50

hello,

mydac latest version
mysql 4.1.18nt

MyConnection charset utf8
UseUnicode := true

Table in DB is utf8 as well as all fields.

this query:

INSERT INTO table
SET value1 = :value1, value2 = :value2

will be executed fine if I pass data to all values
but if we say

Query.ParamByName('value2').AsString := Edit2.Text

and Edit2.Text is empty (without data)
the Query.Execute produces AV.

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Wed 10 May 2006 07:31

Thank you for information. We have reproduced this problem and fixed it. This fix will be included in the next MyDAC build.

ben
Posts: 119
Joined: Wed 17 Nov 2004 19:48

Post by ben » Wed 17 May 2006 08:54

is this fixed with the new .13 version?

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Wed 17 May 2006 09:12

Yes, we have applied this fix to MyDAC 4.30.0.13.

Post Reply