Commit 7b524409 authored by kent@mysql.com's avatar kent@mysql.com

Merge mysqldev@production.mysql.com:my/mysql-5.0-build

into mysql.com:/Users/kent/mysql/bk/mysql-5.0-build
parents f32c4cbd 318c41e9
...@@ -330,6 +330,10 @@ SOURCE=..\mysys\my_alloc.c ...@@ -330,6 +330,10 @@ SOURCE=..\mysys\my_alloc.c
# End Source File # End Source File
# Begin Source File # Begin Source File
SOURCE=..\mysys\my_chsize.c
# End Source File
# Begin Source File
SOURCE=..\mysys\my_compress.c SOURCE=..\mysys\my_compress.c
# ADD CPP /I "../zlib" # ADD CPP /I "../zlib"
# End Source File # End Source File
......
...@@ -303,6 +303,10 @@ SOURCE=..\mysys\my_alloc.c ...@@ -303,6 +303,10 @@ SOURCE=..\mysys\my_alloc.c
# End Source File # End Source File
# Begin Source File # Begin Source File
SOURCE=..\mysys\my_chsize.c
# End Source File
# Begin Source File
SOURCE=..\mysys\my_compress.c SOURCE=..\mysys\my_compress.c
# End Source File # End Source File
# Begin Source File # Begin Source File
...@@ -387,6 +391,10 @@ SOURCE=..\mysys\my_rename.c ...@@ -387,6 +391,10 @@ SOURCE=..\mysys\my_rename.c
# End Source File # End Source File
# Begin Source File # Begin Source File
SOURCE=..\mysys\my_seek.c
# End Source File
# Begin Source File
SOURCE=..\mysys\my_static.c SOURCE=..\mysys\my_static.c
# End Source File # End Source File
# Begin Source File # Begin Source File
......
...@@ -2244,7 +2244,6 @@ print_warnings() ...@@ -2244,7 +2244,6 @@ print_warnings()
char query[30]; char query[30];
MYSQL_RES *result; MYSQL_RES *result;
MYSQL_ROW cur; MYSQL_ROW cur;
MYSQL_FIELD *field;
/* Get the warnings */ /* Get the warnings */
strmov(query,"show warnings"); strmov(query,"show warnings");
......
...@@ -986,10 +986,13 @@ static void init_default_directories() ...@@ -986,10 +986,13 @@ static void init_default_directories()
if (GetWindowsDirectory(system_dir,sizeof(system_dir))) if (GetWindowsDirectory(system_dir,sizeof(system_dir)))
*ptr++= &system_dir; *ptr++= &system_dir;
#if defined(_MSC_VER) && (_MSC_VER >= 1300)
/* Only VC7 and up */
/* Only add shared system directory if different from default. */ /* Only add shared system directory if different from default. */
if (GetSystemWindowsDirectory(shared_system_dir,sizeof(shared_system_dir)) && if (GetSystemWindowsDirectory(shared_system_dir,sizeof(shared_system_dir)) &&
strcmp(system_dir, shared_system_dir)) strcmp(system_dir, shared_system_dir))
*ptr++= &shared_system_dir; *ptr++= &shared_system_dir;
#endif
#elif defined(__NETWARE__) #elif defined(__NETWARE__)
*ptr++= "sys:/etc/"; *ptr++= "sys:/etc/";
......
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