From d9f94e966ba42aabace6e9d308768473346c7098 Mon Sep 17 00:00:00 2001 From: Steve Reinhardt Date: Thu, 3 Nov 2005 13:13:31 -0500 Subject: [PATCH] Check for MySQL 4.1 or newer only (3.23 does not work as we supposed it did). --HG-- extra : convert_revision : d87dbebe0b2387fde1f8aba52625d115d31baf1a --- build/SConstruct | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/build/SConstruct b/build/SConstruct index 2d5ca0057..cbb966196 100644 --- a/build/SConstruct +++ b/build/SConstruct @@ -202,10 +202,8 @@ if have_mysql: mysql_minor = int(mysql_version[1]) # This version check is probably overly conservative, but it deals # with the versions we have installed. - if mysql_major < 3 or \ - mysql_major == 3 and mysql_minor < 23 or \ - mysql_major == 4 and mysql_minor < 1: - print "Warning: MySQL v3.23 or v4.1 or newer required." + if mysql_major < 4 or (mysql_major == 4 and mysql_minor < 1): + print "Warning: MySQL v4.1 or newer required." have_mysql = False # Set up mysql_config commands. -- 2.30.2