Commit 47747685 authored by serg@serg.mylan's avatar serg@serg.mylan

Merge bk-internal:/home/bk/mysql-4.1/

into serg.mylan:/usr/home/serg/Abk/mysql-4.1
parents 2b16cf78 1c658417
...@@ -21,6 +21,7 @@ select * from mysqltest.mysqltest; ...@@ -21,6 +21,7 @@ select * from mysqltest.mysqltest;
n n
4 4
drop database if exists mysqltest; drop database if exists mysqltest;
affected rows: 4
create database mysqltest; create database mysqltest;
drop database mysqltest; drop database mysqltest;
flush tables with read lock; flush tables with read lock;
......
...@@ -24,7 +24,9 @@ create database mysqltest; ...@@ -24,7 +24,9 @@ create database mysqltest;
create table mysqltest.mysqltest (n int); create table mysqltest.mysqltest (n int);
insert into mysqltest.mysqltest values (4); insert into mysqltest.mysqltest values (4);
select * from mysqltest.mysqltest; select * from mysqltest.mysqltest;
--enable_info
drop database if exists mysqltest; drop database if exists mysqltest;
--disable_info
create database mysqltest; create database mysqltest;
drop database mysqltest; drop database mysqltest;
......
...@@ -502,6 +502,8 @@ static long mysql_rm_known_files(THD *thd, MY_DIR *dirp, const char *db, ...@@ -502,6 +502,8 @@ static long mysql_rm_known_files(THD *thd, MY_DIR *dirp, const char *db,
{ {
if (find_type(extension, &known_extentions,1+2) <= 0) if (find_type(extension, &known_extentions,1+2) <= 0)
found_other_files++; found_other_files++;
else
deleted++;
continue; continue;
} }
if (db && !my_strcasecmp(&my_charset_latin1, if (db && !my_strcasecmp(&my_charset_latin1,
...@@ -519,6 +521,7 @@ static long mysql_rm_known_files(THD *thd, MY_DIR *dirp, const char *db, ...@@ -519,6 +521,7 @@ static long mysql_rm_known_files(THD *thd, MY_DIR *dirp, const char *db,
/* Link into list */ /* Link into list */
(*tot_list_next)= table_list; (*tot_list_next)= table_list;
tot_list_next= &table_list->next; tot_list_next= &table_list->next;
deleted++;
} }
else else
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment