Commit e72abc5a authored by Andrew McDonnell's avatar Andrew McDonnell

Minor fix: make sure alter table wont try to change our storage engine to something else.

parent 79246ebf
......@@ -78,6 +78,9 @@ public:
double read_time(uint index, uint ranges, ha_rows rows)
{ return 1; }
// Doesn't make sense to change the engine on a virtual table.
virtual bool can_switch_engines() { return false; }
int open(const char *name, int mode, uint test_if_locked);
int close(void);
int write_row(byte * buf);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment