Commit aed2ffdb authored by Andrew McDonnell's avatar Andrew McDonnell

Disable ALTER for oqgraph. Fixes crash.

parent f69f6274
...@@ -193,7 +193,12 @@ static bool oqgraph_init() ...@@ -193,7 +193,12 @@ static bool oqgraph_init()
hton->state= SHOW_OPTION_YES; hton->state= SHOW_OPTION_YES;
hton->db_type= DB_TYPE_AUTOASSIGN; hton->db_type= DB_TYPE_AUTOASSIGN;
hton->create= oqgraph_create_handler; hton->create= oqgraph_create_handler;
hton->flags= HTON_NO_FLAGS; hton->flags= HTON_ALTER_NOT_SUPPORTED;
// Prevent ALTER, because the core crashes when the user provides a
// non-existing backing store field for ORIGID, etc
// 'Fixes' bug 1134355
// HTON_NO_FLAGS;
hton->table_options= oqgraph_table_option_list; hton->table_options= oqgraph_table_option_list;
oqgraph_init_done= TRUE; oqgraph_init_done= TRUE;
return 0; return 0;
......
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