On Mon, 2006-02-06 at 09:04 +0100, Bram Kuijvenhoven wrote:
> Alexander Todorov wrote:
> > I am using SQLdb 1.0 / Lazarus 0.9.8 / FPC 2.0.1 on Windows XP with
> > Firebird 1.5 database.
> > When a statement like
> > INSERT INTO TEST (ID, DATAFIELD) VALUES (1, 'this :is a :test') is
> > executed i get an error.
> > The problem is that values after the colon ':' characters are parsed
> > as parameters. In my particular case FSQLQuery.Params.Count was 2.
>
> Joost, does the Firebird implementation use TParams.ParseSQL? I checked
> ('my') code in ParseSQL, and it should work. Perhaps TIBConnection does some
> manual scanning for : characters too?
Yes it does. But it didn't in the version he was using. The bug was
fixed in november with your code.
Joost.
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives