Ticket #68 (new enhancement)

Opened 22 months ago

Last modified 22 months ago

64 bit integer support?

Reported by: brianw221 Owned by: zork
Priority: major Milestone:
Component: Archive interface Version: 1.4.x
Keywords: Cc: ywang221@…

Description

I don't see how 64 bit integer can be supported?

Change History

comment:1 Changed 22 months ago by zork

  • Version changed from 1.2.x to 1.4.x

There is no direct support for 64bit integer in 1.4.2. Adding this requires changes in low level dba::DbResult? interface by adding getInt64 and maybe replace current getInt with getInt32 and implementations for all supported database back-ends. After that we need Int64 filter that will convert read integers to c++ types.

As workaround you can use BIND_STR for this and create custom filter that will convert read strings on the fly. Although debea will generate SQL queries with string values, so this approach will force to use varchar field.

For which database and platform you need support for 64bit integers? What c++ type you need to map to?

Thanks, Łukasz

Note: See TracTickets for help on using tickets.