in reply to Re^4: Strange bug involving mysql, auto_increment, Class::DBI and Test::MockObject
in thread Strange bug involving mysql, auto_increment, Class::DBI and Test::MockObject

Using Test::MockObject from a subclass of Class::DBI is so unusual that you're probably the first person ever to do it. That still doesn't tell my why you did it though. What were you trying to do?
  • Comment on Re^5: Strange bug involving mysql, auto_increment, Class::DBI and Test::MockObject

Replies are listed 'Best First'.
Re^6: Strange bug involving mysql, auto_increment, Class::DBI and Test::MockObject
by Mutant (Priest) on Dec 14, 2005 at 09:10 UTC
    Perhaps I haven't explained the problem correctly. I'm not using T::MO from a Class::DBI sub-class. I'm using it from a test script (the above two piece of code can be in different files). The create() call doesn't have to be in the test script either (or the CDBI class), it just has to be in a piece of code called by the test script.