Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re: DBI specification change

by bronto (Priest)
on Jul 16, 2002 at 14:14 UTC ( #182087=note: print w/replies, xml ) Need Help??

in reply to DBI specification change

Don't you think that, since this change is going to break existing code significantly, it should deserve a major change in version numbering also?

Personally, when I upgrade from version n.m to version n.m+1 I expect that nothing differs but bug fixes or minor changes. And, a fortiori, that my programs that ran on n.m will still run flawlessly on n.m+1. I think that many people will fall in the trap of upgrading and finding their (production?) code broken; it is not fair1


Note: breaking other's code is not fair, but upgrading without reading release notes is unsafe: I agree!

# Another Perl edition of a song:
# The End, by The Beatles
  $you->take($love) eq $you->made($love) ;

Replies are listed 'Best First'.
Re: Re: DBI specification change
by RMGir (Prior) on Jul 16, 2002 at 15:29 UTC
    Bronto, did you see this paragraph? They just changed the spec to match the old behaviour, so if your code worked before (with a Driver.xst-based driver), it'll still work now...

    FYI, this change was triggered by discovering that the fetchrow_array implementation in Driver.xst (used by most compiled drivers) didn't match the DBI specification. Rather than change the code to match, and risk breaking existing applications, I've changed the specification (that part was always of dubious value anyway).

      You got a point here.

      My reply, anyway, was triggered by this paragraph of gmax posting...

      I am posting this warning because I have seen some SOPWs where people were using this particular idiom.

      ...and triggered that consideration of mine, which is general and not limited to DBI, that version n.m+1 shouldn't break any code that works with n.m. In case something could be broken, one should choose a new M>>m, obviously IMHO. No attempt to blame to DBI people there ;-)


      Update: Edited the HTML, misplaced tag

      # Another Perl edition of a song:
      # The End, by The Beatles
      END {
        $you->take($love) eq $you->made($love) ;

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://182087]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2020-07-13 19:46 GMT
Find Nodes?
    Voting Booth?

    No recent polls found