mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
- 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
This commit is contained in:
@@ -455,7 +455,7 @@ bool INICOL::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 {
|
||||
|
Reference in New Issue
Block a user