Error with MySQL 4.0.18
Posted: Mon 16 Apr 2007 19:46
Hi,
I have some projects running on MySQL 4.0.18 and 4.0.24, and the following query produce an error : In func IsBreacketPresent delimited value not allowed (d:\project\delphi\mydac\source\myclasses.pas, line 947)
SELECT F.orgdok, F.orgdat, F.partner, F.gyarto,
F.lezarva, N.dokument, N.sorszam, N.bemegrsz,
N.bemegrd, N.cikksz, N.lebont
FROM munkafej F, munkalap N
WHERE F.dokument = N.dokument AND
N.bemegrsz = "20/0256-001"
GROUP BY F.orgdok
ORDER BY N.dokument
The prablem is "/" character in comparation string in WHERE ... N.bemegrsz = "20/0256-001" !
This error occures only with MyDAC 5, I have to return back to the MyDAC 4.0.24 to solve this problem. My projects is ported 100% to MyDAC 5 and whenewer I have to chage something in this project I have to deinstall MyDAC 5, install MyDAC 4 after finishing, again deninstall MyDAC 4 and install MyDAC 5 and so on ...
The interesting is theath with MySQL 5.0.037 and MyDAC 5 this error is
not present !!?? Everithing is seams to be OK !
I plane to upgrade thise databases to MySQL 5 buth I can't for a while
for several reasons, so pleas chech it and if posible correct it in next build.
Thanks for Your time.
I have some projects running on MySQL 4.0.18 and 4.0.24, and the following query produce an error : In func IsBreacketPresent delimited value not allowed (d:\project\delphi\mydac\source\myclasses.pas, line 947)
SELECT F.orgdok, F.orgdat, F.partner, F.gyarto,
F.lezarva, N.dokument, N.sorszam, N.bemegrsz,
N.bemegrd, N.cikksz, N.lebont
FROM munkafej F, munkalap N
WHERE F.dokument = N.dokument AND
N.bemegrsz = "20/0256-001"
GROUP BY F.orgdok
ORDER BY N.dokument
The prablem is "/" character in comparation string in WHERE ... N.bemegrsz = "20/0256-001" !
This error occures only with MyDAC 5, I have to return back to the MyDAC 4.0.24 to solve this problem. My projects is ported 100% to MyDAC 5 and whenewer I have to chage something in this project I have to deinstall MyDAC 5, install MyDAC 4 after finishing, again deninstall MyDAC 4 and install MyDAC 5 and so on ...
The interesting is theath with MySQL 5.0.037 and MyDAC 5 this error is
not present !!?? Everithing is seams to be OK !
I plane to upgrade thise databases to MySQL 5 buth I can't for a while
for several reasons, so pleas chech it and if posible correct it in next build.
Thanks for Your time.