aboutsummaryrefslogtreecommitdiff
path: root/mysql/custom/driver.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'mysql/custom/driver.cxx')
-rw-r--r--mysql/custom/driver.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql/custom/driver.cxx b/mysql/custom/driver.cxx
index 95b3517..d9453ec 100644
--- a/mysql/custom/driver.cxx
+++ b/mysql/custom/driver.cxx
@@ -32,7 +32,10 @@ main (int argc, char* argv[])
o.p = point (1.1111, 2222222222.2);
o.pv.push_back (point (1.1234, 2.2345));
o.pv.push_back (point (3.3456, 4.4567));
+ // VC8 just cannot roundtrip this.
+#if !defined(_MSC_VER) || _MSC_VER >= 1500
o.pv.push_back (point (0.0000001, 0.000000001)); // Scientific notation.
+#endif
// Persist.
//