Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the DBD-Oracle CPAN distribution.

Report information
The Basics
Id: 44788
Status: resolved
Priority: 0/
Queue: DBD-Oracle

People
Owner: Nobody in particular
Requestors: dot.and.thing [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in:
  • 1.20
  • 1.21
  • 1.22
Fixed in: (no value)



Subject: DBD::Oracle is broken on mac os x at least
code in "dbdimp.c" within sub "dbd_preparse" has this declaration: bool in_literal = '\0'; char in_comment = '\0'; and below in source: if (in_literal) { if (*src == in_literal) in_literal = '\0'; *dest++ = *src++; continue; } ... if (*src != ':' && *src != '?') { if (*src == '\'' || *src == '"') in_literal = *src; *dest++ = *src++; continue; } this code is functional until bool is char. if bool has one bit value, this code fails. please apply patch and release new version of module
Subject: dbdimp.diff
Index: dbdimp.c =================================================================== --- dbdimp.c (revision 12670) +++ dbdimp.c (working copy) @@ -1153,7 +1153,7 @@ { dTHX; D_imp_dbh_from_sth; -bool in_literal = '\0'; +char in_literal = '\0'; char in_comment = '\0'; char *src, *start, *dest; phs_t phs_tpl;
Got patched in rev12707 on the 17th April 2009. (released with v1.23?)