1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Cleanup of tests

Fixed bug with ALTER TABLE on HEAP tables
This commit is contained in:
monty@donna.mysql.com
2000-12-28 19:25:41 +02:00
parent 767e2ef6d1
commit 60677ffd2c
24 changed files with 283 additions and 225 deletions

View File

@ -1096,10 +1096,7 @@ void str_to_file(const char* fname, char* str, int size)
void reject_dump(const char* record_file, char* buf, int size)
{
char reject_file[FN_REFLEN];
if (strlen(record_file) >= FN_REFLEN-8)
die("too long path name for reject");
strmov(strmov(reject_file, record_file),".reject");
str_to_file(reject_file, buf, size);
str_to_file(fn_format(reject_file, record_file,"",".reject",2), buf, size);
}