Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slave_UUID field displays abnormal #99

Closed
bb7788 opened this issue May 19, 2023 · 2 comments
Closed

Slave_UUID field displays abnormal #99

bb7788 opened this issue May 19, 2023 · 2 comments
Assignees
Labels

Comments

@bb7788
Copy link

bb7788 commented May 19, 2023

Please provide the following details.

  • Operating System: OS X
  • PHP Version: PHP 7.3.29
  • php-mysql-replication Version: 7.0.1
  • *mysql version (SELECT VERSION();): 5.7.32-log

Steps required to reproduce the problem.

  1. Run the resuming.php
  2. Run “SHOW SLAVE HOSTS;” on MySQL

Expected Result.

Slave_UUID field displays abnormal

java.lang.ArrayIndexOutOfBoundsException: Index 34 out of bounds for length 34 at org.mariadb.jdbc.internal.com.read.resultset.rowprotocol.TextRowProtocol.setPosition(TextRowProtocol.java:135) at org.mariadb.jdbc.internal.com.read.resultset.SelectResultSet.checkObjectRange(SelectResultSet.java:639) at org.mariadb.jdbc.internal.com.read.resultset.SelectResultSet.getString(SelectResultSet.java:947) in JdbcHelperImpl.getObject(JdbcHelperImpl.java:303) image

Actual Result.

@krowinski
Copy link
Owner

Hi, replicator don't set Slave_UUID so its empty string and java tries to set as uuid obj ?

I add this to my todo list

@krowinski krowinski self-assigned this Jan 12, 2024
@krowinski krowinski added the todo label Jan 12, 2024
@krowinski krowinski mentioned this issue Jan 29, 2024
@krowinski
Copy link
Owner

Added withSlaveUuid with default uuid = 0015d2b6-8a06-4e5e-8c07-206ef3fbd274

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants