Commit c68620e6 authored by unknown's avatar unknown

Merge rkalimullin@work.mysql.com:/home/bk/mysql-4.1

into mysql.r18.ru:/usr/home/ram/work/mysql-4.1

parents 48df5b75 9ef473b9
...@@ -47,8 +47,11 @@ __os_rename(dbenv, oldname, newname, flags) ...@@ -47,8 +47,11 @@ __os_rename(dbenv, oldname, newname, flags)
* There is no MoveFileEx for Win9x/Me, so we have to * There is no MoveFileEx for Win9x/Me, so we have to
* do the best we can. * do the best we can.
*/ */
if (!GetLongPathName(oldname, oldbuf, sizeof oldbuf) || LPTSTR FilePath;
!GetLongPathName(newname, newbuf, sizeof newbuf)) { if (!GetFullPathName(oldname, sizeof(oldbuf), oldbuf,
&FilePath) ||
!GetFullPathName(newname, sizeof(newbuf), newbuf,
&FilePath)) {
ret = __os_win32_errno(); ret = __os_win32_errno();
goto done; goto done;
} }
......
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