preinheimer / xhprof

XHGUI is a GUI for the XHProf PHP extension, using a database backend, and pretty graphs to make it easy to use and interpret.
Other
833 stars 185 forks source link

Update xhprof_runs.php #93

Closed FraGoTe closed 8 years ago

FraGoTe commented 8 years ago

pmu field is integer. #95

aik099 commented 8 years ago

Something doesn't work without this PR for you?

FraGoTe commented 8 years ago

when the minimum is 0 it tries to save '' in integers fields and that makes fail the insert.

aik099 commented 8 years ago

The INSERT of string into integer field only failed, when you're running MySQL in STRICT mode. But yes, you're right in attempting to fix that.

aik099 commented 8 years ago

@preinheimer , PR looks good and I guess can be merged.