1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

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

This commit is contained in:
lenz@mysql.com
2004-11-16 22:05:29 +01:00
parent 1fd63517d0
commit 0eaefa29c3

View File

@ -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);