ignore pos if it's 0

refer to noplay/python-mysql-replication#29