File tree 1 file changed +10
-0
lines changed
1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -662,6 +662,8 @@ int odbc_bindcols(odbc_result *result)
662
662
#else
663
663
charextraalloc = 1 ;
664
664
#endif
665
+ /* TODO: Check this is the intended behaviour */
666
+ fallthrough ;
665
667
default :
666
668
rc = PHP_ODBC_SQLCOLATTRIBUTE (result -> stmt , (SQLUSMALLINT )(i + 1 ), colfieldid ,
667
669
NULL , 0 , NULL , & displaysize );
@@ -1569,6 +1571,8 @@ PHP_FUNCTION(odbc_fetch_into)
1569
1571
}
1570
1572
if (result -> binmode == 1 ) sql_c_type = SQL_C_BINARY ;
1571
1573
1574
+ /* TODO: Check this is the intended behaviour */
1575
+ fallthrough ;
1572
1576
case SQL_LONGVARCHAR :
1573
1577
#if defined(ODBCVER ) && (ODBCVER >= 0x0300 )
1574
1578
case SQL_WLONGVARCHAR :
@@ -1790,6 +1794,9 @@ PHP_FUNCTION(odbc_result)
1790
1794
if (result -> binmode <= 0 ) {
1791
1795
break ;
1792
1796
}
1797
+ /* TODO: Check this is the intended behaviour */
1798
+ fallthrough ;
1799
+
1793
1800
case SQL_LONGVARCHAR :
1794
1801
#if defined(ODBCVER ) && (ODBCVER >= 0x0300 )
1795
1802
case SQL_WLONGVARCHAR :
@@ -1955,6 +1962,9 @@ PHP_FUNCTION(odbc_result_all)
1955
1962
break ;
1956
1963
}
1957
1964
if (result -> binmode <= 1 ) sql_c_type = SQL_C_BINARY ;
1965
+
1966
+ /* TODO: Check this is the intended behaviour */
1967
+ fallthrough ;
1958
1968
case SQL_LONGVARCHAR :
1959
1969
#if defined(ODBCVER ) && (ODBCVER >= 0x0300 )
1960
1970
case SQL_WLONGVARCHAR :
You can’t perform that action at this time.
0 commit comments