Subject RE: [firebird-php] FireBird/ADODB
Author Alan McDonald
> > Firebird and Oracle both tend to need to same mods so as soon as
> > we sorted
> > that out with bitweaver then people were happy even to take on
> > board the field
> > name changes to eliminate reserved words.
> >
> > How far have you gone - do you need help getting the datadict
> > stuff working as
> > the xml ADOdb bit working for Firebird would be nice to put to bed.
> >
> > --
> > Lester Caine - G8HFL
>
> well, it's definitely not parsing correctly. I've managed to
> track thru some
> if the steps but I can;t quite work out where the datadict file is(not)
> being called correctly.
> Alan
>

BINGO!!!!
done it - just add this function
function _GetSize($ftype, $ty, $fsize, $fprec)
{
if (strlen($fsize) && $ty != 'X' && $ty != 'B' && $ty != 'I' &&
strpos($ftype,'(') === false) {
$ftype .= "(".$fsize;
if (strlen($fprec)) $ftype .= ",".$fprec;
$ftype .= ')';
}
return $ftype;
}

to your datadict-ibase.inc.php file and you will get all the tables, PKs and
indices created.

Now for the generators!
Alan