On 08/02/2008, Warren Young <mysqlpp@stripped> wrote:
>
> 2. The typedefs in lib/sql_types.h currently assume a standard 32-bit
> x86 type system. MySQL defines exactly how many bytes INT is, but C++
> doesn't provide the same rigid definition for int, the current type we
> use for mysqlpp::sql_int. It all works out the same on a 32-bit PC, but
> 64-bit systems will usually make this 64-bit. Or if they don't, then
> long int certainly is 64-bit.
All 64-bit unixes use 32-bit int and 64bit long
IIUC Win64 uses the LLP64 model, meaning long long and pointers are
64bit, ints and longs are 32bit.
So I doubt you'll find a 64-bit int anywhere that mysql++ is used.
Jon

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.