Fixed issue with insert over deleted row on partial distinct index
Added digest param to csr function
Added optimization for BMD_PURE functions and CAST of constants
Allow DB_DATETIME constants as leafs of ST tree
Fixed compiler warning