File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 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 );
@@ -1595,6 +1597,8 @@ PHP_FUNCTION(odbc_fetch_into)
1595
1597
}
1596
1598
if (result -> binmode == 1 ) sql_c_type = SQL_C_BINARY ;
1597
1599
1600
+ /* TODO: Check this is the intended behaviour */
1601
+ fallthrough ;
1598
1602
case SQL_LONGVARCHAR :
1599
1603
#if defined(ODBCVER ) && (ODBCVER >= 0x0300 )
1600
1604
case SQL_WLONGVARCHAR :
@@ -1816,6 +1820,9 @@ PHP_FUNCTION(odbc_result)
1816
1820
if (result -> binmode <= 0 ) {
1817
1821
break ;
1818
1822
}
1823
+ /* TODO: Check this is the intended behaviour */
1824
+ fallthrough ;
1825
+
1819
1826
case SQL_LONGVARCHAR :
1820
1827
#if defined(ODBCVER ) && (ODBCVER >= 0x0300 )
1821
1828
case SQL_WLONGVARCHAR :
@@ -1981,6 +1988,9 @@ PHP_FUNCTION(odbc_result_all)
1981
1988
break ;
1982
1989
}
1983
1990
if (result -> binmode <= 1 ) sql_c_type = SQL_C_BINARY ;
1991
+
1992
+ /* TODO: Check this is the intended behaviour */
1993
+ fallthrough ;
1984
1994
case SQL_LONGVARCHAR :
1985
1995
#if defined(ODBCVER ) && (ODBCVER >= 0x0300 )
1986
1996
case SQL_WLONGVARCHAR :
You can’t perform that action at this time.
0 commit comments