BUG in MyDAC 5.50 when execute a sequential empty query
Posted: Thu 05 Jun 2008 00:39
Hi CoreLab,
when i run the script:
some times the exception "Field "Dias_Loc" is not a expected Type" is raised..
a made a small project to reproduce it.
http://www.drdsistemas.com.br/util/myda ... 6-2008.zip
Please Fix it, is VERY important...
in MyDAC 5.20 work's fine.
More Information:
Delphi 7
MyDAC 5.50.0.34
MySQL server version: 5.0.37 Windows Version
MySQL client version: Direct
when i run the script:
Code: Select all
Select
A.Cd_Equipamento,
B.Ds_equipamento,
A.Dt_Locacao,
DATEDIFF( CURDATE(),Dt_Locacao) as Dias_Loc,
D.Ds_Grupo
from
Locacao A
inner join
Equipamentos B
on
A.Cd_equipamento = B.cd_equipamento
inner join
Clientes C
on
A.Cd_Cliente = C.Cd_Cliente
left join
produtos_grupos D
on
B.Cd_Grupo = D.Cd_grupo
where
DATEDIFF( CURDATE(),Dt_Locacao) > 90 and D.Ds_Grupo like :Find and
A.Cd_Cliente =:Cd_Cliente
Order by
Cd_equipamento
a made a small project to reproduce it.
http://www.drdsistemas.com.br/util/myda ... 6-2008.zip
Please Fix it, is VERY important...
in MyDAC 5.20 work's fine.
More Information:
Delphi 7
MyDAC 5.50.0.34
MySQL server version: 5.0.37 Windows Version
MySQL client version: Direct