Skip to content

Commit

Permalink
Fix for ODBC-61. SQL_C_BIT selection support
Browse files Browse the repository at this point in the history
  • Loading branch information
alexpotapchenko committed Aug 14, 2012
1 parent 82d5f59 commit 138eaa9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions OdbcConvert.cpp
Expand Up @@ -144,6 +144,7 @@ ADRESS_FUNCTION OdbcConvert::getAdressFunction(DescRecord * from, DescRecord * t
case SQL_C_STINYINT:
switch(to->conciseType)
{
case SQL_C_BIT:
case SQL_C_TINYINT:
case SQL_C_UTINYINT:
case SQL_C_STINYINT:
Expand Down Expand Up @@ -188,6 +189,7 @@ ADRESS_FUNCTION OdbcConvert::getAdressFunction(DescRecord * from, DescRecord * t
case SQL_C_SSHORT:
switch(to->conciseType)
{
case SQL_C_BIT:
case SQL_C_TINYINT:
case SQL_C_UTINYINT:
case SQL_C_STINYINT:
Expand Down Expand Up @@ -241,6 +243,7 @@ ADRESS_FUNCTION OdbcConvert::getAdressFunction(DescRecord * from, DescRecord * t
case SQL_C_SLONG:
switch(to->conciseType)
{
case SQL_C_BIT:
case SQL_C_TINYINT:
case SQL_C_UTINYINT:
case SQL_C_STINYINT:
Expand Down Expand Up @@ -288,6 +291,7 @@ ADRESS_FUNCTION OdbcConvert::getAdressFunction(DescRecord * from, DescRecord * t
case SQL_C_FLOAT:
switch(to->conciseType)
{
case SQL_C_BIT:
case SQL_C_TINYINT:
case SQL_C_UTINYINT:
case SQL_C_STINYINT:
Expand Down Expand Up @@ -320,6 +324,7 @@ ADRESS_FUNCTION OdbcConvert::getAdressFunction(DescRecord * from, DescRecord * t
case SQL_C_DOUBLE:
switch(to->conciseType)
{
case SQL_C_BIT:
case SQL_C_TINYINT:
case SQL_C_UTINYINT:
case SQL_C_STINYINT:
Expand Down Expand Up @@ -356,6 +361,7 @@ ADRESS_FUNCTION OdbcConvert::getAdressFunction(DescRecord * from, DescRecord * t
case SQL_C_UBIGINT:
switch(to->conciseType)
{
case SQL_C_BIT:
case SQL_C_TINYINT:
case SQL_C_UTINYINT:
case SQL_C_STINYINT:
Expand Down Expand Up @@ -398,6 +404,7 @@ ADRESS_FUNCTION OdbcConvert::getAdressFunction(DescRecord * from, DescRecord * t
case SQL_C_NUMERIC:
switch(to->conciseType)
{
case SQL_C_BIT:
case SQL_C_TINYINT:
case SQL_C_UTINYINT:
case SQL_C_STINYINT:
Expand Down

0 comments on commit 138eaa9

Please sign in to comment.