Skip to content

Commit

Permalink
add missing schema field
Browse files Browse the repository at this point in the history
  • Loading branch information
tony2001 committed Apr 22, 2016
1 parent 0abe158 commit 166b2a6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/ha_pinba.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3292,6 +3292,12 @@ inline int ha_pinba::requests_fetch_row(unsigned char *buf, size_t index, size_t
(*field)->set_notnull();
(*field)->store(pinba_round((float)record.data.memory_footprint, 1000));
break;
case 13: /* schema */
if (record.data.schema_len) {
(*field)->set_notnull();
(*field)->store(record.data.schema, strlen(record.data.schema), &my_charset_bin);
}
break;
case 14: /* tags_cnt */
(*field)->set_notnull();
(*field)->store((long)record.data.tags_cnt);
Expand Down

0 comments on commit 166b2a6

Please sign in to comment.