summaryrefslogtreecommitdiff
path: root/sql/sql_show.cc
diff options
context:
space:
mode:
authorunknown <lenz@mysql.com>2004-11-16 22:05:29 +0100
committerunknown <lenz@mysql.com>2004-11-16 22:05:29 +0100
commit8c2ae72055a5f4720f76079532d9e2573b107187 (patch)
treee43350a8e7dd654b5089cf51f1f7404c5c2c1a59 /sql/sql_show.cc
parentcb39ddfbb84cdd580f0d0722430cbb27ac969b27 (diff)
downloadmariadb-git-8c2ae72055a5f4720f76079532d9e2573b107187.tar.gz
- added a cast to avoid a compiler error on HP-UX
Diffstat (limited to 'sql/sql_show.cc')
-rw-r--r--sql/sql_show.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_show.cc b/sql/sql_show.cc
index fb1cfdef6d4..bda4fa08ed1 100644
--- a/sql/sql_show.cc
+++ b/sql/sql_show.cc
@@ -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);