diff options
author | unknown <heikki@hundin.mysql.fi> | 2003-11-21 17:01:35 +0200 |
---|---|---|
committer | unknown <heikki@hundin.mysql.fi> | 2003-11-21 17:01:35 +0200 |
commit | d842a6d358b9bfd38118c12d31fededfe5b1285a (patch) | |
tree | 750863aa10fac94584f26839e0d2d10c4c3b1ed2 /innobase | |
parent | 52521cc8c76f99d2046a72a09440e616797e672a (diff) | |
download | mariadb-git-d842a6d358b9bfd38118c12d31fededfe5b1285a.tar.gz |
os0file.c:
Fix the OS error 2 reported by Miguel and Mark in Windows crash recovery: a * had been forgotten from the path in directory scanning
ha_innodb.cc:
Set default directory in fil0fil.c right if we are running the Embedded Server Library, where the default dir of the process is not necessarily the MySQL datadir
sql/ha_innodb.cc:
Set default directory in fil0fil.c right if we are running the Embedded Server Library, where the default dir of the process is not necessarily the MySQL datadir
innobase/os/os0file.c:
Fix the OS error 2 reported by Miguel and Mark in Windows crash recovery: a * had been forgotten from the path in directory scanning
Diffstat (limited to 'innobase')
-rw-r--r-- | innobase/os/os0file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/innobase/os/os0file.c b/innobase/os/os0file.c index b6d4eba9f9b..e5dd8679163 100644 --- a/innobase/os/os0file.c +++ b/innobase/os/os0file.c @@ -409,7 +409,7 @@ os_file_opendir( ut_a(strlen(dirname) < OS_FILE_MAX_PATH); strcpy(path, dirname); - strcpy(path + strlen(path), "\\"); + strcpy(path + strlen(path), "\\*"); /* Note that in Windows opening the 'directory stream' also retrieves the first entry in the directory. Since it is '.', that is no problem, |