Fixed issue #48 - VerifyDatabaseVersion fails with new (empty) database tables.

This commit is contained in:
Riley McArdle
2011-07-07 16:11:30 -05:00
parent 8a70a3e64b
commit d15aa639f5

View File

@@ -181,6 +181,7 @@ Namespace Config
Try
Dim sqlCommand As New SqlCommand("SELECT * FROM tblRoot", sqlConnection)
sqlDataReader = sqlCommand.ExecuteReader()
If (Not sqlDataReader.HasRows) Then Return True ' assume new empty database
sqlDataReader.Read()
Dim enCulture As CultureInfo = New CultureInfo("en-US")