On Thu, 12 Jul 2007 15:56:56 +0200
Tommi Mäkitalo <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> the concept of tntdb is currently to support the built-in numeric C++
> types int, unsigned, float and double. But indeed the int and
> unsigned types are even on 64-bit systems only 32 bit. Currently to
> only solution is to use float or double. I see, that there is a need
> for 64-bit types.
> 
> The return type is then int64_t or uint64_t. Should we support then
> explicit 32 bit types int32_t and uint32_t then also?

Hello Tommi,

I guess yes, whichever you prefer.
 
> The new methods for tntdb::Value are:
>       int32_t getInt32() const
>       uint32 getUnsigned32() const
>       int64_t getInt64() const
>       uint64_t getUnsigned64() const
> 
> The interface tntdb::IValue gets also these methods and every
> implementation needs to be extended with them. Since the methods are
> quite trivial to implement, I feel, that we should do that.
> 
> Currently in 0.9.2 there are drivers for sqlite3, mysql and
> postgresql and in the svn-version is a driver for oracle.
> 
> Mark: it would be fine, if you send patches. I will integrate them.
> 
> Tommi
 
Great, thanks, I'll add these methods for sqlite3, mysql,
postgresql and oracle, write a test, and send you
the svn diff tntdb for your review.

Thanks, Mark

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Tntnet-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tntnet-general

Reply via email to