NYCPHP Meetup

NYPHP.org

[nycphp-talk] Re: MySQL timestamps' format changed

jon baer jonbaer at jonbaer.net
Tue Apr 6 22:57:57 EDT 2004


MySQL timestamps' format changed (was RE: [nycphp-talk] phpi looked into the export file (/libraries/export/sql.php) and it seems they have it right (~ line 413 on my copy):

 if ($type == 'tinyint' || $type == 'smallint' || $type == 'mediumint' || $type == 'int' ||
                $type == 'bigint'  || (PMA_MYSQL_INT_VERSION < 40100 && $type == 'timestamp')) {
     $field_num[$j] = TRUE;
} else {
     $field_num[$j] = FALSE;
}

its getting passed off as a literal value which should be quoted and not an int.  does that part exist in your copy?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20040406/3aea010c/attachment.html>


More information about the talk mailing list