Re: [lazarus] SQLdb bug

2006-02-06 Thread Joost van der Sluis
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 g

Re: [lazarus] SQLdb bug

2006-02-06 Thread Joost van der Sluis
> > I am using lates Lazarus version (0.9.11) and this insert statement run OK. > > You can try set "Dataset.ParseSQL := False;" before any Dataset.ExecSQL or > > Dataset.Open > > > Nevertheless it is a bug. Yep, it's bug 4374 and it was fixed in november last year. > There should be no parsin

Re: [lazarus] SQLdb bug

2006-02-06 Thread Bram Kuijvenhoven
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 parse

Re: [lazarus] SQLdb bug

2006-02-05 Thread Michael Van Canneyt
onstants in the SQL statement. Alexander Todorov, Can you please submit this in the FPC (not Lazarus) bugtracker, so it won't be forgotten ? Michael. > > - Original Message - From: "Alexander Todorov" > <[EMAIL PROTECTED]> > To: > Sent: Sunday, F

Re: [lazarus] SQLdb bug

2006-02-05 Thread Dan
February 05, 2006 8:23 PM Subject: [lazarus] SQLdb bug Good evening, 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 pr

[lazarus] SQLdb bug

2006-02-05 Thread Alexander Todorov
Good evening, 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 paramete