[pLog-svn] data dictionary works wierd in 2.0
Mark Wu
markplace at gmail.com
Wed Jan 2 03:44:41 EST 2008
Hi Oscar:
I think I fixed all of them in 6134 and 6135.
So, just eable it and see anything wrong, then we can fix it.
Mark
> -----Original Message-----
> From: plog-svn-bounces at devel.lifetype.net
> [mailto:plog-svn-bounces at devel.lifetype.net] On Behalf Of
> Oscar Renalias
> Sent: Wednesday, January 02, 2008 4:35 PM
> To: LifeType Developer List
> Subject: Re: [pLog-svn] data dictionary works wierd in 2.0
>
> Hm, maybe there was something wrong with the code generating them.
> What happens if you enable that line?
>
> On Jan 2, 2008 10:07 AM, Mark Wu <mark.wu at markplace.net> wrote:
> >
> >
> > Hi Oscar:
> >
> > Do you remember why you remove "idxs" when we create table sql???
> >
> > It makes our new lifetype 2.0 wizard does not create any
> indexes when
> > we do fresh installation.
> >
> > Mark
> >
> > *** see the codes below.
> >
> > ==================
> >
> > function CreateTableSQL($tabname, $flds,
> $tableoptions=false)
> > {
> > if (!$tableoptions) $tableoptions = array();
> >
> > list($lines,$pkey) = $this->_GenFields($flds, true);
> >
> > $taboptions = $this->_Options($tableoptions);
> > $tabname = $this->TableName ($tabname);
> > $sql =
> $this->_TableSQL($tabname,$lines,$pkey,$taboptions);
> > $idxs = $this->_IndexesSQL($tabname,$flds);
> >
> > $tsql = $this->_Triggers($tabname,$taboptions);
> > foreach($tsql as $s) $sql[] = $s;
> > //foreach($idxs as $i) $sql[] = $i;
> >
> > return $sql;
> > }
> > _______________________________________________
> > pLog-svn mailing list
> > pLog-svn at devel.lifetype.net
> > http://limedaley.com/mailman/listinfo/plog-svn
> >
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://limedaley.com/mailman/listinfo/plog-svn
More information about the pLog-svn
mailing list