I'm hanving a problem compiling the oracle backend with VS2005.
The issue is that strtoull is not available. I tried to replace strtoull
with _strtoui64 on visual studio as you can see in this patch
https://github.com/rockdreamer/soci/commit/a321ae98e633cb9fd5271b136e83fc28e16ea0b8
However, I get an ORA-01722 invalid number error.
This is due to the fact that I have an italian locale on my machine while
the oracle db has an american locale so the 0.59999999999998 long long in
test3() is converted to 0.6 instead of 0,6 and the resulting query
becomes "insert into soci_test(d) values('0.6')"
what's the preferred way of handling locale issues with soci?
--
Claudio Bantaloukas http://www.rdfm.org/ammuzzu/
------------------------------------------------------------------------------
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide. Store less, Store more with what you own, Move data to
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
_______________________________________________
Soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users