diff options
author | Andrew McDonnell <bugs@andrewmcdonnell.net> | 2014-10-25 21:23:34 +1030 |
---|---|---|
committer | Andrew McDonnell <bugs@andrewmcdonnell.net> | 2015-02-28 22:37:04 +1030 |
commit | e72abc5a96c8169e4142cceac32c305135e9064b (patch) | |
tree | 442a241e2c222b9b6ac9347117594afe6fa82337 /storage/oqgraph/ha_oqgraph.h | |
parent | 79246ebfe9f24eb1c868a1e3fab063cd1c1ec870 (diff) | |
download | mariadb-git-e72abc5a96c8169e4142cceac32c305135e9064b.tar.gz |
Minor fix: make sure alter table wont try to change our storage engine to something else.
Diffstat (limited to 'storage/oqgraph/ha_oqgraph.h')
-rw-r--r-- | storage/oqgraph/ha_oqgraph.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/storage/oqgraph/ha_oqgraph.h b/storage/oqgraph/ha_oqgraph.h index 14490270031..110416831ab 100644 --- a/storage/oqgraph/ha_oqgraph.h +++ b/storage/oqgraph/ha_oqgraph.h @@ -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); |