diff options
Diffstat (limited to 'ext/fbsql/php_fbsql.c')
-rw-r--r-- | ext/fbsql/php_fbsql.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ext/fbsql/php_fbsql.c b/ext/fbsql/php_fbsql.c index 7602098513..df19e70a9d 100644 --- a/ext/fbsql/php_fbsql.c +++ b/ext/fbsql/php_fbsql.c @@ -2275,7 +2275,7 @@ void phpfbColumnAsString(PHPFBResult* result, int column, void* data , int* leng phpfbestrdup(b, length, value); } break; - +#ifdef FB_TinyInteger case FB_TinyInteger: { short int v = *((short int*)data); @@ -2284,7 +2284,8 @@ void phpfbColumnAsString(PHPFBResult* result, int column, void* data , int* leng phpfbestrdup(b, length, value); } break; - +#endif +#ifdef FB_LongInteger case FB_LongInteger: { FBLongInteger v = *((FBLongInteger*)data); @@ -2297,7 +2298,7 @@ void phpfbColumnAsString(PHPFBResult* result, int column, void* data , int* leng phpfbestrdup(b, length, value); } break; - +#endif case FB_SmallInteger: { short v = *((short*)data); |