View Single Post
rautamiekka
Veteran Member
Join Date: Jan 2009
Location: Finland
Old 07-28-2014 , 15:35   Re: [CS:S/CS:GO] CSS Bank (including MySQL support) v1.6.6
Reply With Quote #505

I looked shit up for you, Miraculix:

SQLite supports SIGNED BIGINT as the largest integer, which means -9223372036854775808 <-> 9223372036854775807, that is -2**63 <-> 2**63-1. This is the limit regardless of database engine ...

However, MySQL supports, in addition to the SIGNED BIGINT, UNSIGNED BIGINT, which is 0 <-> 18446744073709551615, meaning 2**64-1. In either case, SIGNED or UNSIGNED, reaching that number by normal gaming means doesn't happen fast, but it's far better than the 2+ billion limit imposed by 32-bit integer. Not to mention spending all that money ...

There's still hope, though, although it's 32-bit: http://stackoverflow.com/questions/9...-integers-in-c

I'm sure you're better C++ coder than I am, so you should be able to figure this out. That link is for C++ on Linux, but it shouldn't be any different.
__________________
Links to posts I received Karma from:
Big thanks to all who gave Karma

Last edited by rautamiekka; 07-28-2014 at 15:35.
rautamiekka is offline
Send a message via ICQ to rautamiekka Send a message via AIM to rautamiekka Send a message via MSN to rautamiekka Send a message via Yahoo to rautamiekka Send a message via Skype™ to rautamiekka