Mainly, im wondering what ultimates would be blocked, and other spells that have long casts. But if you have a list that would be nice.


Question: General error 1651 after a mysql migration
Answer: I think the SET SESSION query_cache_type = OFF is causing this. In the Query Cache Configuration page it states: 


  If you set query_cache_type at server startup (rather than at runtime with a SET statement), only the numeric values are permitted.


And since you are starting the server with cache disabled, there is no need to use that SET anyway.

As to why it throws an error (both with = OFF and = 0), it may have to do with this note in Server System Variables page:


  
  query_cache_type  
  
  
  ...
  
  If the server is started with query_cache_type set to 0, it does not acquire the query cache mutex at all, which means that the query cache cannot be enabled at runtime and there is reduced overhead in query execution.


My interpretation is that the variable has both Global and Session scope but only if it not set to off at startup.