cvs: pear /SQL_Parser Dialect_ANSI.php
| From: | Brent Cook | Date: | Thu, 22 Jan 2004 05:17:24 +0000 |
| Subject: | cvs: pear /SQL_Parser Dialect_ANSI.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-15866@lists.php.net to get a copy of this message | ||
busterb Thu Jan 22 00:17:24 2004 EDT
Modified files:
/pear/SQL_Parser Dialect_ANSI.php
Log:
make 'and' and 'or' operators
http://cvs.php.net/diff.php/pear/SQL_Parser/Dialect_ANSI.php?r1=1.3&r2=1.4&ty=u
Index: pear/SQL_Parser/Dialect_ANSI.php
diff -u pear/SQL_Parser/Dialect_ANSI.php:1.3 pear/SQL_Parser/Dialect_ANSI.php:1.4
--- pear/SQL_Parser/Dialect_ANSI.php:1.3 Sat Dec 20 21:48:38 2003
+++ pear/SQL_Parser/Dialect_ANSI.php Thu Jan 22 00:17:24 2004
@@ -20,7 +20,7 @@
// | Authors: Brent Cook <busterbcook@yahoo.com> |
// +----------------------------------------------------------------------+
//
-// $Id: Dialect_ANSI.php,v 1.3 2003/12/21 02:48:38 busterb Exp $
+// $Id: Dialect_ANSI.php,v 1.4 2004/01/22 05:17:24 busterb Exp $
//
// define tokens accepted by the SQL dialect.
@@ -28,7 +28,7 @@
'commands'=>array('alter','create','drop','select','delete','insert','update'),
-'operators'=>array('=','<>','<','<=','>','>=','like','clike','slike','not','is','in','between'),
+'operators'=>array('=','<>','<','<=','>','>=','like','clike','slike','not','is','in','between','and','or'),
'types'=>array('character','char','varchar','nchar','bit','numeric','decimal','dec','integer','int','smallint','float','real','double','date','time','timestamp','interval','bool','boolean','set','enum','text'),