Yes. It is unrelated.
Code looks following:
- Code: Select all
if (version_compare(mysqli_get_server_info($this->linkId), '4.1.3', '>=')) {
@mysqli_query($this->linkId, "SET NAMES 'utf8'");
}
To clarify what happen: @mysqli_query($this->linkId, "SET NAMES 'utf8'"); is not executed, because $this->linkId variable contains false (DB connection is already opened and this is expected). Code is encapsulated in method so it has no consequences to anything.
MSU holds complete DB abstraction layer, but initialization part is never used because connection is opened by host application (to open the way how connection is initialized).