We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab9a5ca commit 2d2c7b6Copy full SHA for 2d2c7b6
pymysqlreplication/binlogstream.py
@@ -360,7 +360,7 @@ def __connect_to_stream(self):
360
if self.slave_uuid:
361
cur = self._stream_connection.cursor()
362
cur.execute(
363
- f"SET @slave_uuid = {self.slave_uuid}, @replica_uuid = {self.slave_uuid}"
+ f"SET @slave_uuid = '{self.slave_uuid}', @replica_uuid = '{self.slave_uuid}'"
364
)
365
cur.close()
366
0 commit comments