File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1007,14 +1007,14 @@ int odbc_bindcols(odbc_result *result TSRMLS_DC)
10071007					rc  =  SQLColAttributes (result -> stmt , (SQLUSMALLINT )(i + 1 ), SQL_COLUMN_DISPLAY_SIZE ,
10081008								NULL , 0 , NULL , & displaysize );
10091009				}
1010- #endif 
1010+ 
10111011				/* Workaround for drivers that report NVARCHAR(MAX) columns as SQL_WVARCHAR with size 0 (bug #69975) */ 
10121012				if  (result -> values [i ].coltype  ==  SQL_WVARCHAR  &&  displaysize  ==  0 ) {
10131013					result -> values [i ].coltype  =  SQL_WLONGVARCHAR ;
10141014					result -> values [i ].value  =  NULL ;
10151015					break ;
10161016				}
1017- 
1017+ #endif 
10181018				/* Workaround for Oracle ODBC Driver bug (#50162) when fetching TIMESTAMP column */ 
10191019				if  (result -> values [i ].coltype  ==  SQL_TIMESTAMP ) {
10201020					displaysize  +=  3 ;
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments