PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Database » SQL_Parser » Bug #4067

Dialect_Mysql.php needs tinyint in $types

Details

Submitted2005-04-05 20:47 UTC
Fromepte at ruffdogs dot com
Assignedbusterb
StatusClosed
PackageSQL_Parser
PHP Version4.3.8
Roadmaps(Not assigned)

Comments

[2005-04-05 20:47 UTC] epte at ruffdogs dot com

Description:
------------
Added tinyint as MySQL type. Patch:

Index: Dialect_MySQL.php
===================================================================
--- Dialect_MySQL.php (revision 2682)
+++ Dialect_MySQL.php (working copy)
@@ -30,7 +30,7 @@

'operators'=>array('=','<>','<','<=','>','>=','like','clike','slike','not','is','in','between'),

-'types'=>array('character','char','varchar','nchar','bit','numeric','decimal','dec','integer','int','smallint','float','real','double','date','datetime', 'time','timestamp','interval','bool','boolean','set','enum','text'),
+'types'=>array('character','char','varchar','nchar','bit','numeric','decimal','dec','integer','int','smallint','float','real','double','date','datetime', 'time','timestamp','interval','bool','boolean','set','enum','text','tinyint'),

'conjunctions'=>array('by','as','on','into','from','where','with'),