Permalink
Browse files

Oops, I'm an idiot

  • Loading branch information...
tmm1 committed Feb 2, 2011
1 parent 60c4fb5 commit 788889d308003f2ad51ce92f742875597d9fbfc0
Showing with 2 additions and 2 deletions.
  1. +2 −2 ext/tracers/mysql.c
View
@@ -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;

0 comments on commit 788889d

Please sign in to comment.