Commit aa881ad5 authored by Olivier Bertrand's avatar Olivier Bertrand

- Fix a typo error: in AllocateValue(2) Tiny values were given the TYPE_SHORT type.

modified:
  storage/connect/value.cpp
parent 6c6d6fbf
...@@ -398,7 +398,7 @@ PVAL AllocateValue(PGLOBAL g, int type, int len, int prec, ...@@ -398,7 +398,7 @@ PVAL AllocateValue(PGLOBAL g, int type, int len, int prec,
valp = new(g) TYPVAL<double>(0.0, prec, TYPE_FLOAT); valp = new(g) TYPVAL<double>(0.0, prec, TYPE_FLOAT);
break; break;
case TYPE_TINY: case TYPE_TINY:
valp = new(g) TYPVAL<char>((char)0, TYPE_SHORT); valp = new(g) TYPVAL<char>((char)0, TYPE_TINY);
break; break;
default: default:
sprintf(g->Message, MSG(BAD_VALUE_TYPE), type); sprintf(g->Message, MSG(BAD_VALUE_TYPE), type);
......
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