in reply to Can DBD::Mock mock get_info() ?

You're looking at it wrong. In your tests, you should have DBD::Mock return whatever you want in order to test a given SQL dialect.

That said, I'll give stvn a patch tonight to add set_info() and get_info() methods that will let you do that.

Replies are listed 'Best First'.
Re^2: Can DBD::Mock mock get_info() ?
by Thilosophy (Curate) on Apr 08, 2005 at 02:28 UTC
    I'll give stvn a patch tonight to add set_info() and get_info() methods

    ++. Thanks, that would be great. I also need bind_param_inout (not supported right now), but I will probably write that myself.

      Huh. Didn't think of that one. If you want, send either me or stvn the patch and we'll get it into the next release.

      What kind of interface are you thinking of for bind_param_inout()?