I am upgrading a Drupal 4.2 site from MySQL 3.23 to 4.0.16 (actually I am upgrading from OS X Server 10.2.8 to 10.3.2, which includes MySQL 4.0.16). PHP is 4.3.2.
Everything seems to work ok, except when things are counted. The number of times an item is read or the number of issues in a project all yield far to big numbers.
When I run the a query like:
SELECT mode, COUNT(*) FROM users GROUP BY mode;
manually against the database, the result is something like:
"mode","COUNT(*)"
"0","2233785415175766016"
"4","432345564227567616"
There are 37 rows in table 'users'. Clearly the count is wrong.
Is this a known problem? Any suggestion as to how to solve it?