Commit b4c6a208 authored by ram@mysql.r18.ru's avatar ram@mysql.r18.ru

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

into mysql.r18.ru:/usr/home/ram/work/mysql-4.1
parents 4ffd74e5 760e51ba
...@@ -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