diff options
Diffstat (limited to 'src/tcutil/tcutil.c')
-rw-r--r-- | src/tcutil/tcutil.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/tcutil/tcutil.c b/src/tcutil/tcutil.c index 748ed5c..377555a 100644 --- a/src/tcutil/tcutil.c +++ b/src/tcutil/tcutil.c @@ -275,7 +275,8 @@ static void tcvxstrprintf(TCXSTR *xstr, const char *format, va_list ap) { case 'e': case 'E': case 'f': case 'g': case 'G': if (lnum >= 1) { //tlen = snprintf(tbuf, sizeof(tbuf), cbuf, va_arg(ap, long double)); - tlen = tcftoa(va_arg(ap, long double), tbuf, sizeof (tbuf), 6); + //tlen = tcftoa(va_arg(ap, long double), tbuf, sizeof (tbuf), 6); + tlen = tcftoa(va_arg(ap, double), tbuf, sizeof (tbuf), 6); } else { //tlen = snprintf(tbuf, sizeof(tbuf), cbuf, va_arg(ap, double)); tlen = tcftoa(va_arg(ap, double), tbuf, sizeof (tbuf), 6); @@ -9793,6 +9794,8 @@ const char *tcerrmsg(int ecode) { case TCENOREC: return "no record found"; case TCETR: return "illegal transaction state"; case TCEMISC: return "miscellaneous error"; + case TCEICOMPRESS: return "unsupported database compression format"; + case TCEDATACOMPRESS: return "data compression error"; } return "unknown error"; } |