conversion error at design time

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
comvision
Posts: 5
Joined: Sun 16 Mar 2008 22:48

conversion error at design time

Post by comvision » Thu 29 May 2008 07:20

We just updated from 5.2 to 5.5 and have an EConversion exception - cannot convert ")" to an integer - but only when running the app through the IDE. None of our test data has this character so we know it's not our code. Also, I reverted to 5.2 and the problem goes away.

The error occurs when calling Execute() on a TMyStoredProc.

At runtime...no issues.

Any ideas.

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

Post by Dimon » Thu 29 May 2008 09:19

This is specificity of executing stored procedure in the new MyDAC version.
You can hide this exception in the IDE using the Tools->Debugger Options...->Language Exceptions menu.

comvision
Posts: 5
Joined: Sun 16 Mar 2008 22:48

Post by comvision » Thu 29 May 2008 10:27

I know the exception can be hidden, but then it would hide other possible conversion issues - in other areas of my application.

Is it a bug, or is it a valid situation ? I don't see how it could be valid.

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

Post by Dimon » Tue 03 Jun 2008 07:20

This is a valid situation in the current MyDAC build. We will change this behaviour in the next MyDAC build.

Post Reply