Commit 0eaefa29 authored by lenz@mysql.com's avatar lenz@mysql.com

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

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