added Token::asInteger64(); ODBC tests fix for case-sensitive DB

This commit is contained in:
aleks-f
2012-12-16 19:45:38 -06:00
parent 83b500057c
commit e75081af94
6 changed files with 179 additions and 186 deletions

View File

@@ -576,7 +576,7 @@ void Parser::readValue(const Token* token)
if ( _handler != NULL )
{
#if defined(POCO_HAVE_INT64)
Int64 value = token->asInteger();
Int64 value = token->asInteger64();
// if number is 32-bit, then handle as such
if ( value > std::numeric_limits<int>::max()
|| value < std::numeric_limits<int>::min() )