Commit 8ba79816 authored by jyang's avatar jyang

branches/5.1: Fix bug #48526 "Data type for float and

double is incorrectly reported in InnoDB table monitor".
Certain datatypes are not printed correctly in
dtype_print().

rb://204 Approved by Marko.
parent 409112e4
...@@ -252,6 +252,22 @@ dtype_print( ...@@ -252,6 +252,22 @@ dtype_print(
fputs("DATA_SYS", stderr); fputs("DATA_SYS", stderr);
break; break;
case DATA_FLOAT:
fputs("DATA_FLOAT", stderr);
break;
case DATA_DOUBLE:
fputs("DATA_DOUBLE", stderr);
break;
case DATA_DECIMAL:
fputs("DATA_DECIMAL", stderr);
break;
case DATA_VARMYSQL:
fputs("DATA_VARMYSQL", stderr);
break;
default: default:
fprintf(stderr, "type %lu", (ulong) mtype); fprintf(stderr, "type %lu", (ulong) mtype);
break; break;
......
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