| 1206 | /***********************************************************************/ |
| 1207 | template <class TYPE> |
| 1208 | bool TYPVAL<TYPE>::FormatValue(PVAL vp, PCSZ fmt) |
| 1209 | { |
| 1210 | // This function is wrong and should never be called |
| 1211 | assert(false); |
| 1212 | char *buf = (char*)vp->GetTo_Val(); // Not big enough |
| 1213 | int n = snprintf(buf, vp->GetValLen() + 1, fmt, Tval); |
| 1214 | |
| 1215 | return (n > vp->GetValLen()); |
| 1216 | } // end of FormatValue |
| 1217 | |
| 1218 | /***********************************************************************/ |
| 1219 | /* TYPVAL SetFormat function (used to set SELECT output format). */ |
no test coverage detected