Sets the HAVING clause of this
expr's ownership is transferred to this (which means this is then responsible for freeing it when no longer needed).
expr
a SqlStatement pointer
a SqlExpr pointer