Show
Ignore:
Timestamp:
05/11/08 01:50:06 (5 years ago)
Author:
dom
Message:

ignore tables that aren't Wiki::Toolkit tables

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • wiki-toolkit/trunk/lib/Wiki/Toolkit/Setup/MySQL.pm

    r345 r426  
    165165} 
    166166 
    167 # Internal method - what tables are defined? 
     167# Internal method - what Wiki::Toolkit tables are defined? 
    168168sub fetch_tables_listing { 
    169169        my $dbh = shift; 
     
    174174    my %tables; 
    175175    while ( my $table = $sth->fetchrow_array ) { 
    176         $tables{$table} = 1; 
     176        exists $create_sql{$table} and $tables{$table} = 1; 
    177177    } 
    178178        return %tables;