cvs: pear /SQL_Parser Parser.php

From: Date: Wed, 06 Apr 2005 04:58:03 +0000
Subject: cvs: pear /SQL_Parser Parser.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-30968@lists.php.net to get a copy of this message
busterb Wed Apr 6 00:58:03 2005 EDT Modified files: /pear/SQL_Parser Parser.php Log: Understand 'auto_increment' for MySQL. http://cvs.php.net/diff.php/pear/SQL_Parser/Parser.php?r1=1.28&r2=1.29&ty=u Index: pear/SQL_Parser/Parser.php diff -u pear/SQL_Parser/Parser.php:1.28 pear/SQL_Parser/Parser.php:1.29 --- pear/SQL_Parser/Parser.php:1.28 Wed Apr 6 00:54:54 2005 +++ pear/SQL_Parser/Parser.php Wed Apr 6 00:58:02 2005 @@ -23,7 +23,7 @@ // | John Griffin <jgriffin316@netscape.net> | // +----------------------------------------------------------------------+ // -// $Id: Parser.php,v 1.28 2005/04/06 04:54:54 busterb Exp $ +// $Id: Parser.php,v 1.29 2005/04/06 04:58:02 busterb Exp $ // require_once 'PEAR.php'; @@ -311,6 +311,10 @@ case 'null': $haveValue = false; break; + case 'auto_increment': + $constraintOpts = array('type'=>'auto_increment', + 'value'=>true); + break; default: return $this->raiseError('Unexpected token ' .$this->lexer->tokText);

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