Skip to content

Commit 2e46526

Browse files
ppisardveeden
authored andcommitted
Add a missing break to 'd' case in dbd_db_FETCH_attrib()
The attribute name look-up code checks the first character as an optimization before comparing the whole string. It does not make sense to fall through to another case.
1 parent e6312de commit 2e46526

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dbdimp.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2826,6 +2826,7 @@ SV* dbd_db_FETCH_attrib(SV *dbh, imp_dbh_t *imp_dbh, SV *keysv)
28262826

28272827
result= sv_2mortal((newRV_noinc((SV*)hv)));
28282828
}
2829+
break;
28292830

28302831
#if MYSQL_VERSION_ID >= 50708
28312832
#if MYSQL_VERSION_ID != 60000 /* Connector/C 6.0.x */

0 commit comments

Comments
 (0)