Changing the column type in the sqlite representation will require a change
of major rep version for PBE. It will not be forwards compatible and will
only be backwards compatible if we keep the old code for loading from the
old rep and branch on rep in the 4.5 loader.
Pbe files should normally not migrate between systems, the xml export format
must always be used for exdport/import. But there will be issues during
upgrade and it is inevitable that there will be mixing of PBE files in
testing contexts. So the change of rep version has to be made explicit.
But the main question here is if all this is worth it just to get a tiny
bit more precision out of double? It should be possible to fix that
by doing local string processing an presenting a string with sufficient
length for double, to sqlite as a string.
Changing column format in PBE/sqlite would probably improve performance,
but that has *nothing* to do with precision, i.e. the prioritized
enhancement that started all this.
---
** [tickets:#843] IMM: replace sqlite3_column_text in immload**
**Status:** accepted
**Milestone:** 4.5.FC
**Created:** Wed Apr 09, 2014 02:07 PM UTC by Zoran Milinkovic
**Last Updated:** Wed Apr 09, 2014 02:32 PM UTC
**Owner:** Zoran Milinkovic
Today, sqlite3_column_text function is used for retrieving results of all data
types.
Retrieving results for double data type, floating-point precision is lost due
to string format of 15 digits in string result.
Depending on data type, sqlite3_column_text function should be replaced with
the corresponding sqlite3 function.
---
Sent from sourceforge.net because [email protected] is
subscribed to https://sourceforge.net/p/opensaf/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/opensaf/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets