F #5005: Do not load empty history records

This commit is contained in:
Ruben S. Montero committed 2017-06-05 19:13:48 +02:00
1 parent 1c6e9af2ca
commit e5ee3aae0b
1 file changed
+5
+5
View File
@@ -241,6 +241,11 @@ int History::select(SqlDB * db)
unset_callback();
if ( hostname.empty() )
{
rc = -1;
}
if ( rc == 0 ) // Regenerate non-persistent data
{
non_persistent_data();