Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

visit_total_time set too low in database #3817

Closed
JohnDeery opened this Issue · 1 comment

2 participants

John Deery Matthieu Aubry
John Deery

While trying to import logs, I kept running across an error stating that the visit_total_time was out of range. Looking at the number trying to be inserted (65842) vs the column type (smallint, max of 65535), this is only 18.2 hours... crazy but some people might be on that long.

Changed the column to mediumint in my database to give a total of 16777215 (unsigned) seconds or 6.3 months
Keywords: out-of-bounds

Matthieu Aubry
Owner

In b420123: Fixes #3817 Capping visit_total_time

Thanks for the report!

PS: this visit is most likely a bot or browser with auto refresh

John Deery JohnDeery added this to the 1.12 - The Great 1.x Backlog milestone
Matthieu Aubry mattab was assigned by JohnDeery
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.