Skip to content

thread->mypolls.poll_timeout setting in MySQL_Session.c  #886

Open
@taylor840326

Description

@taylor840326

@renecannao I review MySQL_Session.c between 3563 and 3566 lines.

  if (thread->mypolls.poll_timeout==0) { // tune poll timeout
  	if (thread->mypolls.poll_timeout > (unsigned int)mysql_thread___poll_timeout_on_failure) >{
  		thread->mypolls.poll_timeout = mysql_thread___poll_timeout_on_failure;
  	}
  }

if thread->mypolls.poll_timeout ==0 , I think 0 can not bigger than a unsigned int .

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions