Below is the list of changes that have just been committed into a local
5.1 repository of bar. When bar does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet@stripped, 2007-05-30 16:02:54+05:00, bar@stripped +1 -0
Define HAVE_STRNLEN correctly.
include/config-win.h@stripped, 2007-05-30 16:02:52+05:00, bar@stripped +3 -0
strnlen() presents in the build in library only starting from
Visual Studio 2005, identified by _MSC_VER 1400.
Previous versions of Visual Studio didn't have this
function, so they need the MySQL replacement function to be compiled.
# This is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: bar
# Host: bar.myoffice.izhnet.ru
# Root: /home/bar/mysql-5.1.b28558
--- 1.99/include/config-win.h 2007-03-29 02:03:31 +05:00
+++ 1.100/include/config-win.h 2007-05-30 16:02:52 +05:00
@@ -350,7 +350,10 @@
#define SPRINTF_RETURNS_INT
#define HAVE_SETFILEPOINTER
#define HAVE_VIO_READ_BUFF
+#if defined(_MSC_VER) && _MSC_VER >= 1400
+/* strnlen() appeared in Studio 2005 */
#define HAVE_STRNLEN
+#endif
#define HAVE_WINSOCK2
#define strcasecmp stricmp
| Thread |
|---|
| • bk commit into 5.1 tree (bar:1.2524) | bar | 30 May |