diff options
author | monty@mysql.com <> | 2004-09-03 21:43:04 +0300 |
---|---|---|
committer | monty@mysql.com <> | 2004-09-03 21:43:04 +0300 |
commit | cbd67f49e1750a352e6379eaa42e7d7a8430119b (patch) | |
tree | c31fa248fd578ef7653342364a6cf7d8bedf1f0b /sql/sql_show.cc | |
parent | c5a84657a8945cb4a149607cad72911751a17497 (diff) | |
download | mariadb-git-cbd67f49e1750a352e6379eaa42e7d7a8430119b.tar.gz |
Cleanup of new code pushed into 5.0 since last pull
Merged the different find_xxxx_table_in_list functions to one + some inline functions
Diffstat (limited to 'sql/sql_show.cc')
-rw-r--r-- | sql/sql_show.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/sql_show.cc b/sql/sql_show.cc index da0a6ed3d28..d9180df3791 100644 --- a/sql/sql_show.cc +++ b/sql/sql_show.cc @@ -1551,11 +1551,11 @@ view_store_create_info(THD *thd, TABLE_LIST *table, String *buff) MODE_MAXDB | MODE_ANSI)) != 0; buff->append("CREATE ", 7); - if(!foreign_db_mode && (table->algorithm == VIEW_ALGORITHM_MERGE || - table->algorithm == VIEW_ALGORITHM_TMEPTABLE)) + if (!foreign_db_mode && (table->algorithm == VIEW_ALGORITHM_MERGE || + table->algorithm == VIEW_ALGORITHM_TMPTABLE)) { buff->append("ALGORITHM=", 10); - if (table->algorithm == VIEW_ALGORITHM_TMEPTABLE) + if (table->algorithm == VIEW_ALGORITHM_TMPTABLE) buff->append("TMPTABLE ", 9); else buff->append("MERGE ", 6); |