def read_float(self, full_record=False):
        if full_record and self.unformatted:
            reclen = self.read_recordmark()
            if reclen != self.reclen_floats(1):
                raise RuntimeError('unexpected recordlength %d' % reclen)

        data = self.read_floats(1)[0]

        if full_record and self.unformatted:
            reclen2 = self.read_recordmark()
            if reclen2 != reclen:
                raise RuntimeError('mismatched recordlength %d vs. %d'
                                   %  (reclen2, reclen))
        return float(data)
This test requires MySQL >= 5.5
dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.util/src/openmdao/util/stream.py/Stream.read_float--crossover with--dataset/ETHPy150Open PyMySQL/PyMySQL/pymysql/tests/test_connection.py/TestConnection.test_utf8mb4