Re: Can I block ALTER TABLE query on custom storage engine

Stewart Smith <[email protected]> Fri, 27 Mar 2015 16:48:56 +1100
Newsgroups gmane.comp.db.mysql.devel
Message-ID <[email protected]>
Shaukat Mahmood Ahmad <[email protected]> writes:
> Is there any way to block execution on ALTER TABLE query on custom /
> plugable storage engine?

in sql/handler.h:

#define HTON_ALTER_NOT_SUPPORTED     (1 << 1) //Engine does not support alter

It's a flag in the handlerton. I can't remember when it came about, but
I reckon it's been there for a few releases.


-- 
MySQL Internals Mailing List
For list archives: http://lists.mysql.com/internals
To unsubscribe:    http://lists.mysql.com/internals