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 » U++ Library support » U++ Core » Jsonize int64 surprise
Re: Jsonize int64 surprise [message #38963 is a reply to message #38962] Wed, 30 January 2013 09:01 Go to previous message
sergeynikitin is currently offline  sergeynikitin
Messages: 748
Registered: January 2008
Location: Moscow, Russia
Contributor

And may you patch Sqlite3 schema plugin to do not convert int64 to int Type?

Sqlite normally eat int64 declaration, but if I write universal SqlExp expression - Sqlite3 schemaparser convert int64 to int. It's sad! Sad

uppsrc/plugin/sqlite3/Sqlite3Schema.h:
Now:
#define INT64(x)                   COLUMN("integer", int64, x, 0, 0)
#define INT64_ARRAY(x, items)      COLUMN_ARRAY("integer", int64, x, 0, 0, items)
#define INT64_(x)                  COLUMN_("integer", int64, x, 0, 0)
#define INT64_ARRAY_(x, items)     COLUMN_ARRAY_("integer", int64, x, 0, 0, items)


Need and tested:
#define INT64(x)                   COLUMN("bigint", int64, x, 0, 0)
#define INT64_ARRAY(x, items)      COLUMN_ARRAY("bigint", int64, x, 0, 0, items)
#define INT64_(x)                  COLUMN_("bigint", int64, x, 0, 0)
#define INT64_ARRAY_(x, items)     COLUMN_ARRAY_("bigint", int64, x, 0, 0, items)


SergeyNikitin<U++>( linux, wine )
{
    under( Ubuntu || Debian || Raspbian );
}

[Updated on: Wed, 30 January 2013 09:09]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Is FrameLess() working under Linux ?
Next Topic: Request: completion 64 bit support in Draw and Stream
Goto Forum:
  


Current Time: Fri Apr 26 14:03:43 CEST 2024

Total time taken to generate the page: 0.05854 seconds