SOURCES (MYSQL_5_0): mysql-sphinx.patch - fix compilation for 5.0.37
glen
glen at pld-linux.org
Thu Mar 15 18:33:14 CET 2007
Author: glen Date: Thu Mar 15 17:33:14 2007 GMT
Module: SOURCES Tag: MYSQL_5_0
---- Log message:
- fix compilation for 5.0.37
---- Files affected:
SOURCES:
mysql-sphinx.patch (1.1.2.1 -> 1.1.2.2)
---- Diffs:
================================================================
Index: SOURCES/mysql-sphinx.patch
diff -u SOURCES/mysql-sphinx.patch:1.1.2.1 SOURCES/mysql-sphinx.patch:1.1.2.2
--- SOURCES/mysql-sphinx.patch:1.1.2.1 Thu Mar 15 15:24:57 2007
+++ SOURCES/mysql-sphinx.patch Thu Mar 15 18:33:09 2007
@@ -269,3 +269,34 @@
default:
my_error(ER_NOT_SUPPORTED_YET, MYF(0), "STATUS");
YYABORT;
+--- mysql-5.0.37/sql/sphinx/ha_sphinx.h~ 2007-03-15 19:05:24.757934541 +0200
++++ mysql-5.0.37/sql/sphinx/ha_sphinx.h 2007-03-15 19:05:27.217989955 +0200
+@@ -136,7 +136,7 @@
+ int rnd_next ( byte * buf );
+ int rnd_pos ( byte * buf, byte * pos );
+ void position ( const byte * record );
+-#if MYSQL_VERSION_ID>=50114
++#if (MYSQL_VERSION_ID >= 50114) || (MYSQL_VERSION_ID < 50100 && MYSQL_VERSION_ID >= 50037)
+ int info ( uint );
+ #else
+ void info ( uint );
+--- mysql-5.0.37/sql/sphinx/ha_sphinx.cc~ 2007-03-15 19:05:20.167831147 +0200
++++ mysql-5.0.37/sql/sphinx/ha_sphinx.cc 2007-03-15 19:05:21.737866513 +0200
+@@ -1180,7 +1180,7 @@
+ }
+
+
+-#if MYSQL_VERSION_ID>=50114
++#if (MYSQL_VERSION_ID >= 50114) || (MYSQL_VERSION_ID < 50100 && MYSQL_VERSION_ID >= 50037)
+ int ha_sphinx::info ( uint flag )
+ #else
+ void ha_sphinx::info ( uint flag )
+@@ -1196,7 +1196,7 @@
+ records = 20;
+ #endif
+
+-#if MYSQL_VERSION_ID>=50114
++#if (MYSQL_VERSION_ID >= 50114) || (MYSQL_VERSION_ID < 50100 && MYSQL_VERSION_ID >= 50037)
+ DBUG_RETURN(0);
+ #else
+ DBUG_VOID_RETURN;
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/mysql-sphinx.patch?r1=1.1.2.1&r2=1.1.2.2&f=u
More information about the pld-cvs-commit
mailing list