1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

Merge mysql.com:/home/ram/work/mysql-5.1-maint

into  mysql.com:/home/ram/work/b30679/b30679.5.1
This commit is contained in:
ramil/ram@ramil.myoffice.izhnet.ru
2007-10-31 11:40:53 +04:00
3 changed files with 36 additions and 2 deletions

View File

@ -557,8 +557,11 @@ static int process_all_tables_in_db(char *database)
else
{
while ((row = mysql_fetch_row(res)))
/* Skip tables with an engine of NULL (probably a view). */
if (row[1])
/*
Skip tables with an engine of NULL (probably a view)
if we don't perform renaming.
*/
if (row[1] || what_to_do == DO_UPGRADE)
{
handle_request_for_tables(row[0], fixed_name_length(row[0]));
}