Commit 3ef3fa73 authored by unknown's avatar unknown

add debug print for bit field

parent 368521d0
...@@ -2244,6 +2244,11 @@ void ha_ndbcluster::print_results() ...@@ -2244,6 +2244,11 @@ void ha_ndbcluster::print_results()
fprintf(DBUG_FILE, "Var\t'%.*s'", field->pack_length(), value); fprintf(DBUG_FILE, "Var\t'%.*s'", field->pack_length(), value);
break; break;
} }
case NdbDictionary::Column::Bit: {
const char *value= (char *) field->ptr;
fprintf(DBUG_FILE, "Bit\t'%.*s'", field->pack_length(), value);
break;
}
case NdbDictionary::Column::Datetime: { case NdbDictionary::Column::Datetime: {
Uint64 value= (Uint64) *field->ptr; Uint64 value= (Uint64) *field->ptr;
fprintf(DBUG_FILE, "Datetime\t%llu", value); fprintf(DBUG_FILE, "Datetime\t%llu", value);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment