Home » Database » SQL_Parser » Bug #4067
Dialect_Mysql.php needs tinyint in $types
Details
| Submitted | 2005-04-05 20:47 UTC |
|---|---|
| From | epte at ruffdogs dot com |
| Assigned | busterb |
| Status | Closed |
| Package | SQL_Parser |
| PHP Version | 4.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'),