summaryrefslogtreecommitdiff
path: root/storage/connect/tabxml.cpp
diff options
context:
space:
mode:
authorOlivier Bertrand <bertrandop@gmail.com>2013-02-27 16:42:59 +0100
committerOlivier Bertrand <bertrandop@gmail.com>2013-02-27 16:42:59 +0100
commitfa4aa616a1844f512817427a892a7e26f30b68e2 (patch)
treea1862a3b623dcfcd97dd0f2bc0008f5d053c66c3 /storage/connect/tabxml.cpp
parentf2b8155abb5b714e721932480af8fe6952a05877 (diff)
downloadmariadb-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.cpp2
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 {