DeveloperSide.NET Forums

DeveloperSide.NET => Web.Developer Server Suite Community Edition,
Public Support Forum => Topic started by: admin on November 09, 2003, 11:20:24 PM



Title: MySQL 4.0.16 win32 build broken
Post by: admin on November 09, 2003, 11:20:24 PM
At least this one has a patch, without it the build never builds any of the mysql-xxx.exe files.

http://lists.mysql.com/internals/10753

Quote

mysys/thr_alarm.c
1.40 03/11/02 15:54:56 monty@mysql.com +7 -0
Fix for link error on windows


Quote

--- 1.39/mysys/thr_alarm.c   Wed Oct 15 16:55:21 2003
+++ 1.40/mysys/thr_alarm.c   Sun Nov  2 15:54:56 2003
@@ -714,6 +714,9 @@
   bzero((char*) info, sizeof(*info));
 }
 
+void resize_thr_alarm(uint max_alarms)
+{
+}
 
 /*****************************************************************************
   thr_alarm for win95
@@ -791,6 +794,10 @@
 void thr_alarm_info(ALARM_INFO *info)
 {
   bzero((char*) info, sizeof(*info));
+}
+
+void resize_thr_alarm(uint max_alarms)
+{
 }
 
 #endif /* __WIN__ */



What the above means is...

Edit mysys/thr_alarm.c
Starting on line #714, original block is 6 lines, patched block is 9 lines, no removed (-) lines, add the extra "+" 3 lines.

And so one for the second part...