diff options
author | Olivier Bertrand <bertrandop@gmail.com> | 2013-03-11 16:52:59 +0100 |
---|---|---|
committer | Olivier Bertrand <bertrandop@gmail.com> | 2013-03-11 16:52:59 +0100 |
commit | 17fb343a5cfa32c876e36989cb2b83ec3ab672e4 (patch) | |
tree | eecfe340fbcfddb9cd4353759e292ea852b8a73a /storage/connect/xobject.cpp | |
parent | ffc29ac31030c7a0bfec007440cb419b0f66dce9 (diff) | |
download | mariadb-git-17fb343a5cfa32c876e36989cb2b83ec3ab672e4.tar.gz |
- Add tiny integer as a supported type by CONNECT
modified:
storage/connect/global.h
storage/connect/ha_connect.cc
storage/connect/myutil.cpp
storage/connect/plgdbutl.cpp
storage/connect/tabdos.cpp
storage/connect/tabwmi.cpp
storage/connect/valblk.cpp
storage/connect/valblk.h
storage/connect/value.cpp
storage/connect/value.h
storage/connect/xobject.cpp
Diffstat (limited to 'storage/connect/xobject.cpp')
-rw-r--r-- | storage/connect/xobject.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/storage/connect/xobject.cpp b/storage/connect/xobject.cpp index 093fe8cb103..cd8af248005 100644 --- a/storage/connect/xobject.cpp +++ b/storage/connect/xobject.cpp @@ -153,6 +153,12 @@ bool CONSTANT::Rephrase(PGLOBAL g, PSZ work) case TYPE_FLOAT: sprintf(work + strlen(work), "%lf", Value->GetFloatValue()); break; + case TYPE_BIGINT: + sprintf(work + strlen(work), "%lld", Value->GetBigintValue()); + break; + case TYPE_TINY: + sprintf(work + strlen(work), "%d", Value->GetTinyValue()); + break; default: sprintf(g->Message, MSG(BAD_CONST_TYPE), Value->GetType()); return false; |