Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Oops, I'm an idiot

  • Loading branch information...
commit 788889d308003f2ad51ce92f742875597d9fbfc0 1 parent 60c4fb5
@tmm1 tmm1 authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 ext/tracers/mysql.c
View
4 ext/tracers/mysql.c
@@ -17,8 +17,8 @@ struct memprof_mysql_stats {
size_t query_calls;
uint32_t query_time;
- size_t query_calls_by_type[sql_UNKNOWN];
- uint32_t query_time_by_type[sql_UNKNOWN];
+ size_t query_calls_by_type[sql_UNKNOWN+1];
+ uint32_t query_time_by_type[sql_UNKNOWN+1];
};
static struct tracer tracer;
Please sign in to comment.
Something went wrong with that request. Please try again.