Applied mysqli related patches from 0.745p