Skip to content

Commit bdd633a

Browse files
committed
add doc
1 parent a359ce4 commit bdd633a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

mysql_sniff.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -695,6 +695,9 @@ mysql_get_cap_val(uint16_t val, char *def) {
695695

696696
static inline char *
697697
mysql_get_ext_cap_val(uint16_t val, char *def) {
698+
if (val == 0) {
699+
return strdup("empty");
700+
}
698701
return val_flag_to_str(mysql_ext_caps_table, val, def);
699702
}
700703

0 commit comments

Comments
 (0)