I'm not sure I follow? If I run the first ALTER query directly on the server, with WordPress completely out of the mix, it throws that same error. Is that what you were getting at?
I've found similar questions on stack overflow and the like, but the answer is always just "you're doing it wrong, use MODIFY/CHANGE instead" with no explanation of why it's wrong. I can't find any documentation or bug reports that say WHY the behavior changed, or why it was ever different, and that's what I'm trying to figure out.



On Thu, Aug 12, 2021 at 4:59 PM Roberto Spadim <roberto@spadim.com.br> wrote:
I don't know if it's a problem to mariadb/mysql forum, but, thinking as a product at wordpress, I would check if a know error occurred and retry with a different query just to be sure it is a real error and not a version problem
It's like make a software compatible with postgresql+sql+oracle+mysql+mssql, you should check what query should be used to be sure it's right