1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

fixes name outout for SHOW CREATE VIEW command (BUG#5162)

This commit is contained in:
bell@sanja.is.com.ua
2004-08-24 23:07:34 +03:00
parent 94bfede7e1
commit 5e0fa37830
3 changed files with 26 additions and 14 deletions

View File

@@ -1575,9 +1575,9 @@ view_store_create_info(THD *thd, TABLE_LIST *table, String *buff)
buff->append("MERGE ", 6);
}
buff->append("VIEW ", 5);
buff->append(table->view_db.str, table->view_db.length);
append_identifier(thd, buff, table->view_db.str, table->view_db.length);
buff->append('.');
buff->append(table->view_name.str, table->view_name.length);
append_identifier(thd, buff, table->view_name.str, table->view_name.length);
buff->append(" AS ", 4);
buff->append(table->query.str, table->query.length);
return 0;