mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
- added a cast to avoid a compiler error on HP-UX
This commit is contained in:
@ -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);
|
||||||
|
Reference in New Issue
Block a user