php - TimeStampDiff not working in MySql 5.0.3 -
hey there -- doing simple timestampdiff query , keep getting error query. tried exact same query on mysql 5.5 engine , worked fine..
select timestampdiff(second, current_timestamp(), current_timestamp()) time; this simple query test function out, return 0 on mysql 5.5, on 5.0 database fails run..
i've looked if function wasn't yet implemented, , seems in 5.0 introduced.. not sure why isn't working? i've checked documentation on function in 5.0 manual , seems same 5.5..
anyone know work around? in advance
it seems there bugs function, on old versions of mysql 5.0.x -- here's example : erratic behaviour of timestampdiff()
note mysql 5.0.3 old -- should update more recent version :
- you'll more support
- lots of bug fixes
- new features , enhancements
- and, probably, better performances
Comments
Post a Comment