Skip to content

Commit f8321a9

Browse files
Tuxdjzort
authored andcommitted
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 6e51195 commit f8321a9

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
@@ -767,7 +767,6 @@ int dbd_st_bind_col(SV *sth, imp_sth_t *imp_sth, SV *col, SV *ref, IV type, SV *
767767
imp_sth->fbh[field-1].bind_flags = 0; /* default to none */
768768
}
769769

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

oci8.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4193,7 +4193,6 @@ dbd_st_fetch(SV *sth, imp_sth_t *imp_sth){
41934193
--datalen;
41944194
}
41954195
sv_setpvn(sv, p, (STRLEN)datalen);
4196-
#if DBIXS_REVISION > 13590
41974196
/* If a bind type was specified we use DBI's sql_type_cast
41984197
to cast it - currently only number types are handled */
41994198
if ((fbh->req_type != 0) && (fbh->bind_flags != 0)) {
@@ -4223,7 +4222,6 @@ dbd_st_fetch(SV *sth, imp_sth_t *imp_sth){
42234222
}
42244223
}
42254224
else
4226-
#endif /* DBISTATE_VERSION > 94 */
42274225
{
42284226
if (CSFORM_IMPLIES_UTF8(imp_dbh, fbh->csform) ){
42294227
SvUTF8_on(sv);

0 commit comments

Comments
 (0)