#136 SQL error when calling optimize method

(This bug at the nightly build)