feature #5515 fixing Oracle insert error inside Statistic History table