Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Can I block ALTER TABLE query on custom storage engine

4 views
Skip to first unread message

Shaukat Mahmood Ahmad

unread,
Mar 26, 2015, 3:44:29 PM3/26/15
to
Is there any way to block execution on ALTER TABLE query on custom /
plugable storage engine?

Regards,
Shaukat Mahmood Ahmad

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

Stewart Smith

unread,
Mar 27, 2015, 2:13:07 AM3/27/15
to
Shaukat Mahmood Ahmad <wr...@sma.im> 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.
0 new messages