MXS-1996: Remove misleading errors

The errors are expected if the file is empty.
This commit is contained in:
Markus Mäkelä 2018-08-21 08:37:53 +03:00
parent 9663c52f50
commit 4480995089
No known key found for this signature in database
GPG Key ID: 72D48FCE664F7B19
2 changed files with 0 additions and 5 deletions

View File

@ -317,7 +317,6 @@ MAXAVRO_FILE* maxavro_file_open(const char* filename)
}
else
{
MXS_ERROR("Failed to initialize avrofile.");
maxavro_schema_free(avrofile->schema);
error = true;
}

View File

@ -172,10 +172,6 @@ void avro_index_file(AVRO_INSTANCE *router, const char* filename)
maxavro_file_close(file);
}
else
{
MXS_ERROR("Failed to open file '%s' when generating file index.", filename);
}
}
/**