cvs: pear /DB_Table/DB Table.php

From: Date: Tue, 16 Nov 2004 16:37:20 +0000
Subject: cvs: pear /DB_Table/DB Table.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-26013@lists.php.net to get a copy of this message
pmjones Tue Nov 16 11:37:20 2004 EDT Modified files: /pear/DB_Table/DB Table.php Log: default sequence name is now only the table name, not "tablename_id". this means that PEAR DB will translate that into tablename_seq instead of tablename_id_seq. doing this becuase of the 30-char limit in Oracle, want to conserve string lengths as much as possible. http://cvs.php.net/diff.php/pear/DB_Table/DB/Table.php?r1=1.14&r2=1.15&ty=u Index: pear/DB_Table/DB/Table.php diff -u pear/DB_Table/DB/Table.php:1.14 pear/DB_Table/DB/Table.php:1.15 --- pear/DB_Table/DB/Table.php:1.14 Sun Nov 7 22:22:56 2004 +++ pear/DB_Table/DB/Table.php Tue Nov 16 11:37:18 2004 @@ -271,7 +271,7 @@ * and automated creation of QuickForm elemnts based on the column * definitions. * -* $Id: Table.php,v 1.14 2004/11/08 03:22:56 pmjones Exp $ +* $Id: Table.php,v 1.15 2004/11/16 16:37:18 pmjones Exp $ * * @author Paul M. Jones <pmjones@ciaweb.net> * @@ -1226,7 +1226,7 @@ function nextID($seq_name = null) { if (is_null($seq_name)) { - $seq_name = "{$this->table}_id"; + $seq_name = "{$this->table}"; } else { $seq_name = "{$this->table}_{$seq_name}"; }

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