[fpc-pascal] Re: SQLDB/Firebird unable to open table with more than 128 fields

2009-03-22 Thread Funky Beast
Joost van der Sluis wrote: > Op zondag 22-03-2009 om 18:40 uur [tijdzone +0800], schreef Funky Beast: >> Joost van der Sluis wrote: >>> Op zondag 22-03-2009 om 17:37 uur [tijdzone +0800], schreef Funky Beast: I found the culprit. In TIBConnection.PrepareStatement's variable section,

Re: [fpc-pascal] Re: SQLDB/Firebird unable to open table with more than 128 fields

2009-03-22 Thread Joost van der Sluis
Op zondag 22-03-2009 om 18:40 uur [tijdzone +0800], schreef Funky Beast: > Joost van der Sluis wrote: > > Op zondag 22-03-2009 om 17:37 uur [tijdzone +0800], schreef Funky Beast: > >> I found the culprit. > >> > >> In TIBConnection.PrepareStatement's variable section, x was declared > >> as a short

[fpc-pascal] Re: SQLDB/Firebird unable to open table with more than 128 fields

2009-03-22 Thread Funky Beast
Joost van der Sluis wrote: > Op zondag 22-03-2009 om 17:37 uur [tijdzone +0800], schreef Funky Beast: >> I found the culprit. >> >> In TIBConnection.PrepareStatement's variable section, x was declared >> as a shortint >> which would cause problem when its used for allocating memmory for the >> SQLV

Re: [fpc-pascal] Re: SQLDB/Firebird unable to open table with more than 128 fields

2009-03-22 Thread Joost van der Sluis
Op zondag 22-03-2009 om 17:37 uur [tijdzone +0800], schreef Funky Beast: > I found the culprit. > > In TIBConnection.PrepareStatement's variable section, x was declared > as a shortint > which would cause problem when its used for allocating memmory for the > SQLVAR elements, > when there are more

[fpc-pascal] Re: SQLDB/Firebird unable to open table with more than 128 fields

2009-03-22 Thread Funky Beast
Joost van der Sluis wrote: > Op vrijdag 20-03-2009 om 22:38 uur [tijdzone +0800], schreef Funky > Beast: > >> I've found a bug in sqldb/firebird. >> Its reported here, with sample project to reproduce: >> http://bugs.freepascal.org/view.php?id=13340 > > You are using one TSQLQuery object for all

[fpc-pascal] Re: SQLDB/Firebird unable to open table with more than 128 fields

2009-03-21 Thread Funky Beast
Graeme Geldenhuys wrote: > On Fri, Mar 20, 2009 at 5:27 PM, Funky Beast > wrote: >> Its Firebird 2.0.3, that bug only appears in sqldb/firebird combination. >> The same table that this combo can't open, opens successfully with >> fblib-0.85, flamerobin and fenixsql. > > Then in must be a SqlDB i

[fpc-pascal] Re: SQLDB/Firebird unable to open table with more than 128 fields

2009-03-21 Thread Funky Beast
Hi Joost, Joost van der Sluis wrote: > Op vrijdag 20-03-2009 om 22:38 uur [tijdzone +0800], schreef Funky > Beast: > >> I've found a bug in sqldb/firebird. >> Its reported here, with sample project to reproduce: >> http://bugs.freepascal.org/view.php?id=13340 > > You are using one TSQLQuery obje

Re: [fpc-pascal] Re: SQLDB/Firebird unable to open table with more than 128 fields

2009-03-21 Thread Graeme Geldenhuys
On Fri, Mar 20, 2009 at 5:27 PM, Funky Beast wrote: > Its Firebird 2.0.3, that bug only appears in sqldb/firebird combination. > The same table that this combo can't open, opens successfully with > fblib-0.85, flamerobin and fenixsql. Then in must be a SqlDB issue. By the way, if you are using F

[fpc-pascal] Re: SQLDB/Firebird unable to open table with more than 128 fields

2009-03-20 Thread Funky Beast
Graeme Geldenhuys wrote: > 2009/3/20 Funky Beast : >> I've found a bug in sqldb/firebird. >> Its reported here, with sample project to reproduce: >> http://bugs.freepascal.org/view.php?id=13340 > > > What version of Firebird? How many bytes does a single record require? > Maybe you reached the t