File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -1814,18 +1814,14 @@ static void php_pgsql_get_field_info(INTERNAL_FUNCTION_PARAMETERS, int entry_typ
18141814 switch (entry_type ) {
18151815 case PHP_PG_FIELD_NAME :
18161816 RETURN_STRING (PQfname (pgsql_result , (int )field ));
1817- break ;
18181817 case PHP_PG_FIELD_SIZE :
18191818 RETURN_LONG (PQfsize (pgsql_result , (int )field ));
1820- break ;
18211819 case PHP_PG_FIELD_TYPE :
18221820 RETURN_STR (get_field_name (pg_result -> conn , PQftype (pgsql_result , (int )field )));
1823- break ;
18241821 case PHP_PG_FIELD_TYPE_OID :
18251822
18261823 oid = PQftype (pgsql_result , (int )field );
18271824 PGSQL_RETURN_OID (oid );
1828- break ;
18291825 EMPTY_SWITCH_DEFAULT_CASE ()
18301826 }
18311827}
@@ -4545,8 +4541,8 @@ PHP_FUNCTION(pg_flush)
45454541 }
45464542
45474543 switch (ret ) {
4548- case 0 : RETURN_TRUE ; break ;
4549- case 1 : RETURN_LONG (0 ); break ;
4544+ case 0 : RETURN_TRUE ;
4545+ case 1 : RETURN_LONG (0 );
45504546 default : RETURN_FALSE ;
45514547 }
45524548}
You can’t perform that action at this time.
0 commit comments