cvs: pear /DBA DBA_Relational.php

From: Date: Mon, 26 Aug 2002 18:08:59 +0000
Subject: cvs: pear /DBA DBA_Relational.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-5993@lists.php.net to get a copy of this message
busterb Mon Aug 26 14:08:59 2002 EDT Modified files: /pear/DBA DBA_Relational.php Log: changed name of _sequence table to _sequences Index: pear/DBA/DBA_Relational.php diff -u pear/DBA/DBA_Relational.php:1.42 pear/DBA/DBA_Relational.php:1.43 --- pear/DBA/DBA_Relational.php:1.42 Sat Aug 24 18:10:21 2002 +++ pear/DBA/DBA_Relational.php Mon Aug 26 14:08:58 2002 @@ -18,7 +18,7 @@ // | Foundation, Inc., 59 Temple Place, Suite 330,Boston,MA 02111-1307 USA| // +----------------------------------------------------------------------+ // -// $Id: DBA_Relational.php,v 1.42 2002/08/24 22:10:21 busterb Exp $ +// $Id: DBA_Relational.php,v 1.43 2002/08/26 18:08:58 busterb Exp $ require_once 'PEAR.php'; require_once 'DB/DBA/DBA_Table.php'; @@ -79,7 +79,7 @@ $this->_driver = $driver; - // create the _table table. this keeps track of the tables to be used + // create the _tables table. this keeps track of the tables to be used // in DBA_Relational as well as which driver to use for each. if (!$this->tableExists('_tables')) { $this->createTable('_tables', @@ -88,9 +88,9 @@ 'description'=>array(DBA_TYPE=>DBA_TEXT))); } - // create the _sequence table. this keeps track of named sequences - if (!$this->tableExists('_sequence')) { - $this->createTable('_sequence', + // create the _sequences table. this keeps track of named sequences + if (!$this->tableExists('_sequences')) { + $this->createTable('_sequences', array('name'=>array(DBA_TYPE=>DBA_VARCHAR,DBA_PRIMARYKEY=>true), 'value'=>array(DBA_TYPE=>DBA_INTEGER), 'increment'=>array(DBA_TYPE=>DBA_INTEGER)));

« previous php.pear.cvs (#5993) next »