cvs: php4 /ext/mnogosearch php_mnogo.c
| From: | Sergey Kartashoff | Date: | Mon, 08 Oct 2001 16:50:13 +0000 |
| Subject: | cvs: php4 /ext/mnogosearch php_mnogo.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-7724@lists.php.net to get a copy of this message | ||
gluke Mon Oct 8 12:50:13 2001 EDT
Modified files:
/php4/ext/mnogosearch php_mnogo.c
Log:
@- Added support for word match mnogosearch-3.2 command and for stopfile
@ command. StopTable will not be supported by mnogosearch-3.2.x
- Added support for word match mnogosearch-3.2 command and for stopfile
command. StopTable will not be supported by mnogosearch-3.2.x
Index: php4/ext/mnogosearch/php_mnogo.c
diff -u php4/ext/mnogosearch/php_mnogo.c:1.38 php4/ext/mnogosearch/php_mnogo.c:1.39
--- php4/ext/mnogosearch/php_mnogo.c:1.38 Sat Sep 29 09:58:17 2001
+++ php4/ext/mnogosearch/php_mnogo.c Mon Oct 8 12:50:12 2001
@@ -1,5 +1,5 @@
/* $Source: /usr/repository/php4/ext/mnogosearch/php_mnogo.c,v $ */
-/* $Id: php_mnogo.c,v 1.38 2001/09/29 13:58:17 gluke Exp $ */
+/* $Id: php_mnogo.c,v 1.39 2001/10/08 16:50:12 gluke Exp $ */
/*
+----------------------------------------------------------------------+
@@ -486,7 +486,6 @@
break;
case UDM_PARAM_WORD_MATCH:
-#if UDM_VERSION_ID < 30200
switch (atoi(val)){
case UDM_MATCH_WORD:
Agent->word_match=UDM_MATCH_WORD;
@@ -511,7 +510,6 @@
RETURN_FALSE;
break;
}
-#endif
break;
case UDM_PARAM_CACHE_MODE:
switch (atoi(val)){
@@ -640,12 +638,10 @@
break;
case UDM_PARAM_STOPFILE:
-#if UDM_VERSION_ID < 30200
if (UdmFileLoadStopList(Agent->Conf,val)) {
php_error(E_WARNING,Agent->Conf->errstr);
RETURN_FALSE;
}
-#endif
break;
case UDM_PARAM_WEIGHT_FACTOR: