Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ Developers corner » Database portability: Sqlite3
Re: Database portability: Sqlite3 [message #7121 is a reply to message #7081] Thu, 14 December 2006 20:57 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14263
Registered: November 2005
Ultimate Member
Well, there seems to be problem with this date emulation - no expressions are supported, only Date columns selected.

My suggestion was to encode dates as some very high doubles.

E.g.

Date d;
//...
double x = (d - Date(1, 1, 1)) * 1.0e300;


Loosing a double range between 1.0e300 - 1.0e307 does not seem a big problem to me. Moreover, at least some expressions work as expected.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Critical feature - namespace
Next Topic: Build UPP modules into DLL with import library
Goto Forum:
  


Current Time: Sun Jun 29 12:44:17 CEST 2025

Total time taken to generate the page: 0.03437 seconds