[fix][33916] Possible SQL error on the collation test.
Fixes #3854