MySql and Prepared

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
chkaufmann
Posts: 82
Joined: Sat 01 Jul 2006 11:42

MySql and Prepared

Post by chkaufmann » Wed 16 Dec 2009 20:14

Hi,

when I connect to certain MySQL servers, I get the error message "Prepare/UnPrepare is not supported by this MySQL server version." when I try to set Prepared := True.

It works fine when I don't set Prepared.

Shouldn't this be handled by UniDac, if a certain server doesn't support prepared statments?

And if not, is there an option / info in the connection, where I could get the info, if Prepared can be used or not?

cu Christian

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Thu 17 Dec 2009 09:02

You cannot get the infromation if Prepare can be used from UniDAC. We will change this behaviour in the next UniDAC build. So Prepare will be ignored if it is not supported.

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

Post by Dimon » Thu 17 Dec 2009 16:33

Please specify the exact MySQL server version you are using.

chkaufmann
Posts: 82
Joined: Sat 01 Jul 2006 11:42

Post by chkaufmann » Sat 26 Dec 2009 14:55

I get the error message on a MySql 4.0.12 on a Linux machine.

Post Reply