Commit 2df31d44 authored by Satya B's avatar Satya B

Applying InnoDB snapshot 5.1-ss6242, part 4. Fixes BUG#48526

1. BUG#48526 - Data type for float and double is incorrectly 
               reported in InnoDB table monitor

Detailed revision comments:

r6188 | jyang | 2009-11-18 07:14:23 +0200 (Wed, 18 Nov 2009) | 8 lines
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 3431bede
...@@ -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