[fpc-pascal] Master Detail relationship in SQLdb

Michael Van Canneyt michael at freepascal.org
Sat Jul 14 12:55:56 CEST 2007



On Fri, 13 Jul 2007, Martin Schreiber wrote:

> On Friday 13 July 2007 17.08, Michael Van Canneyt wrote:
> > Maybe a stupid question, but:
> >
> > SQLDB has this already.
> > So, why don't you help fixing SQLDB instead, and use that in MSEgui ?
> > This way everyone benefits.
> >
> > This is a lot of silly code duplication for no good reason...
> >
> Ups, SQLDB has a lookupbuffer component like MSEgui and does not unprepare the 
> SQL statement on tdataset.refresh? Sorry I didn't know that.
> Are you sure that TSQLQuery implements internalrefresh?

No, I am not. This is the whole point: sqldb and msesqldb - which is a copy, 
after all - would better be merged and maintained as one. We would double 
the expertise.

> I spent about 150-200 hours to find, report and fix bugs in the FPC DB area 
> BTW. :-)

Which I appreciate: There are indeed 15 bugs in Mantis about this.
(spending on average 10-13 hours per bug is a lot)

But it doesn't explain why you decided to fork the code, when I see
no good reason for this:
- The user base for each set of components gets smaller.
- People don't know what to use.
- The maintainers are divided over too much code.
So, once more, I propose to 'merge' whatever you need so we can develop
a decent set of components, suitable for all. 

What do you think ?

Michael.



More information about the fpc-pascal mailing list