[sr-dev] git:4.0: db_mysql: add cast to remove compile warning