diff options
author | Olivier Bertrand <bertrandop@gmail.com> | 2013-02-27 16:42:59 +0100 |
---|---|---|
committer | Olivier Bertrand <bertrandop@gmail.com> | 2013-02-27 16:42:59 +0100 |
commit | fa4aa616a1844f512817427a892a7e26f30b68e2 (patch) | |
tree | a1862a3b623dcfcd97dd0f2bc0008f5d053c66c3 /storage/connect/tabxml.cpp | |
parent | f2b8155abb5b714e721932480af8fe6952a05877 (diff) | |
download | mariadb-git-fa4aa616a1844f512817427a892a7e26f30b68e2.tar.gz |
- Rewriting the VALUE classes as template classes
modified:
storage/connect/tabdos.cpp
storage/connect/tabdos.h
storage/connect/tabmysql.cpp
storage/connect/tabodbc.cpp
storage/connect/tabsys.cpp
storage/connect/tabxml.cpp
storage/connect/value.cpp
storage/connect/value.h
storage/connect/xobject.h
Diffstat (limited to 'storage/connect/tabxml.cpp')
-rw-r--r-- | storage/connect/tabxml.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/connect/tabxml.cpp b/storage/connect/tabxml.cpp index ea0d48dbddb..be1c4925268 100644 --- a/storage/connect/tabxml.cpp +++ b/storage/connect/tabxml.cpp @@ -1148,7 +1148,7 @@ bool XMLCOL::SetBuffer(PGLOBAL g, PVAL value, bool ok, bool check) } else if (Buf_Type == TYPE_FLOAT) // Float values must be written with the correct (column) precision // Note: maybe this should be forced by ShowValue instead of this ? - ((DFVAL *)value)->SetPrec(GetPrecision()); + value->SetPrec(GetPrecision()); Value = value; // Directly access the external value } else { |