exception when Select Cast(field as X) as X w/ DefaultValues

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Justmade
Posts: 108
Joined: Sat 16 Aug 2008 03:51

exception when Select Cast(field as X) as X w/ DefaultValues

Post by Justmade » Tue 11 Jan 2011 14:53

Latest MyDAC
MySQL 4.0.24
Delphi 2010

MyQuery.Options.DefaultValue = True

Select Cast(StrField AS SIGNED) AS aaa From Table;

---------------------------
Error
---------------------------

Can't find file: '.\database\aaa.frm' (errno: 22).
---------------------------
OK Details >>
---------------------------

It is not a big issue as disabling DefaultValue can solve it.
Just report it for your reference.

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Wed 12 Jan 2011 13:32

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

Post Reply