Commit 8c2ae720 authored by unknown's avatar unknown

- added a cast to avoid a compiler error on HP-UX

parent cb39ddfb
...@@ -1211,7 +1211,7 @@ view_store_create_info(THD *thd, TABLE_LIST *table, String *buff) ...@@ -1211,7 +1211,7 @@ view_store_create_info(THD *thd, TABLE_LIST *table, String *buff)
if (!foreign_db_mode) if (!foreign_db_mode)
{ {
buff->append("ALGORITHM=", 10); buff->append("ALGORITHM=", 10);
switch(table->algorithm) switch((int8)table->algorithm)
{ {
case VIEW_ALGORITHM_UNDEFINED: case VIEW_ALGORITHM_UNDEFINED:
buff->append("UNDEFINED ", 10); buff->append("UNDEFINED ", 10);
......
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