| 3983 | /* Used to determine if we should invoke print_as_hex for this field */ |
| 3984 | |
| 3985 | static bool |
| 3986 | is_binary_field(MYSQL_FIELD *field) |
| 3987 | { |
| 3988 | if ((field->charsetnr == 63) && |
| 3989 | (field->type == MYSQL_TYPE_BIT || |
| 3990 | field->type == MYSQL_TYPE_BLOB || |
| 3991 | field->type == MYSQL_TYPE_LONG_BLOB || |
| 3992 | field->type == MYSQL_TYPE_MEDIUM_BLOB || |
| 3993 | field->type == MYSQL_TYPE_TINY_BLOB || |
| 3994 | field->type == MYSQL_TYPE_VAR_STRING || |
| 3995 | field->type == MYSQL_TYPE_STRING || |
| 3996 | field->type == MYSQL_TYPE_VARCHAR || |
| 3997 | field->type == MYSQL_TYPE_GEOMETRY)) |
| 3998 | return 1; |
| 3999 | return 0; |
| 4000 | } |
| 4001 | |
| 4002 | |
| 4003 | /* Print binary value as hex literal (0x ...) */ |
no outgoing calls
no test coverage detected