mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-30 19:02:27 +00:00 
			
		
		
		
	fix for bug 2867833: wait database initialization in xcatd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4242 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -587,6 +587,10 @@ sub new | ||||
|                 $self->{dbh}->do($str); | ||||
|             } | ||||
|         } else { #generic DBI | ||||
|            if (!$self->{dbh}) | ||||
|            { | ||||
|                return undef; | ||||
|            } | ||||
|            my $tbexistq = $self->{dbh}->table_info('','',$self->{tabname},'TABLE'); | ||||
|         my $found = 0; | ||||
|            while (my $data = $tbexistq->fetchrow_hashref) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user