#4 lack of tables in schema shouldn't be fatal

closed
None
5
2010-09-29
2007-06-30
No

Hi John,

When I try to schemaspy my database -all, I fail miserably due to "No table or views were found in schema 'information_schema'". Which may be a problem by itself (why weren't they found?), but it may also happen that I legitimately have no accessible or matching relations in any particular schema.

I wouldn't make it fatal. It's a matter of just one 'return'.

Discussion

  • Michael Krelin

    Michael Krelin - 2007-06-30

    patch to make empty schema non-fatal.

     
  • John Currier

    John Currier - 2008-07-25

    Logged In: YES
    user_id=1264584
    Originator: NO

    Implemented your change so that "no tables" will only result in a failure with the "normal" scenario and not with the "one of multiples" scenario (-all) that you're running.

    John

     
  • John Currier

    John Currier - 2008-07-25
    • assigned_to: nobody --> johncurrier
     
  • John Currier

    John Currier - 2010-08-17
    • status: open --> pending
     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
  • SourceForge Robot

    • status: pending --> closed
     

Log in to post a comment.