patch #2089240 [export] handle correctly switching SQL modes