Skip to content

Commit 8d21fb4

Browse files
committed
Remove outdated #ifdefs
As the minimum required version of DBI is 1.623, these when the versions stored in these variables change in DBI
1 parent 1cbc9a9 commit 8d21fb4

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

dbdimp.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -766,7 +766,6 @@ int dbd_st_bind_col(SV *sth, imp_sth_t *imp_sth, SV *col, SV *ref, IV type, SV *
766766
imp_sth->fbh[field-1].bind_flags = 0; /* default to none */
767767
}
768768

769-
#if DBIXS_REVISION >= 13590
770769
/* DBIXS 13590 added StrictlyTyped and DiscardString attributes */
771770
if (attribs) {
772771
HV *attr_hash;
@@ -790,7 +789,6 @@ int dbd_st_bind_col(SV *sth, imp_sth_t *imp_sth, SV *col, SV *ref, IV type, SV *
790789
imp_sth->fbh[field-1].bind_flags |= DBIstcf_DISCARD_STRING;
791790
}
792791
}
793-
#endif /* DBIXS_REVISION >= 13590 */
794792
return 1;
795793
}
796794

oci8.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4189,7 +4189,6 @@ dbd_st_fetch(SV *sth, imp_sth_t *imp_sth){
41894189
--datalen;
41904190
}
41914191
sv_setpvn(sv, p, (STRLEN)datalen);
4192-
#if DBIXS_REVISION > 13590
41934192
/* If a bind type was specified we use DBI's sql_type_cast
41944193
to cast it - currently only number types are handled */
41954194
if ((fbh->req_type != 0) && (fbh->bind_flags != 0)) {
@@ -4219,7 +4218,6 @@ dbd_st_fetch(SV *sth, imp_sth_t *imp_sth){
42194218
}
42204219
}
42214220
else
4222-
#endif /* DBISTATE_VERSION > 94 */
42234221
{
42244222
if (CSFORM_IMPLIES_UTF8(imp_dbh, fbh->csform) ){
42254223
SvUTF8_on(sv);

0 commit comments

Comments
 (0)