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

in slave query event,loss datanbaseName #6

Open
rusongit opened this issue Jan 14, 2015 · 0 comments
Open

in slave query event,loss datanbaseName #6

rusongit opened this issue Jan 14, 2015 · 0 comments

Comments

@rusongit
Copy link

in master queryEvent:

client print:

QueryEvent[header=BinlogEventV4HeaderImpl[timestamp=1421203248000,eventType=2,serverId=100011084,eventLength=59,nextPosition=365191,flags=8,timestampOfReceipt=1421215901077],threadId=25786576,elapsedTime=28751,databaseNameLength=0,errorCode=0,statusVariablesLength=21,statusVariables=[QFlags2Code[flags=0], QSQLModeCode[sqlMode=524288], QCharsetCode[characterSetClient=33,collationConnection=33,collationServer=33]],databaseName=test,sql=BEGIN]

atabaseName is test

but in slave queryEvent:
client print:

QueryEvent[header=BinlogEventV4HeaderImpl[timestamp=1421203248000,eventType=2,serverId=100011084,eventLength=59,nextPosition=365191,flags=8,timestampOfReceipt=1421215901077],threadId=25786576,elapsedTime=28751,databaseNameLength=0,errorCode=0,statusVariablesLength=21,statusVariables=[QFlags2Code[flags=0], QSQLModeCode[sqlMode=524288], QCharsetCode[characterSetClient=33,collationConnection=33,collationServer=33]],databaseName=,sql=BEGIN]

databaseName is ''

why?
they binglog is same:

at 336

#150113 17:10:35 server id 1 end_log_pos 405 Query thread_id=5 exec_time=0 error_code=0

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

No branches or pull requests

1 participant