From: <var...@us...> - 2010-04-15 10:10:48
|
Revision: 7334 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7334&view=rev Author: vargenau Date: 2010-04-15 10:10:42 +0000 (Thu, 15 Apr 2010) Log Message: ----------- Remove assert since assert fails in debug mode for some URLs Modified Paths: -------------- trunk/lib/TextSearchQuery.php Modified: trunk/lib/TextSearchQuery.php =================================================================== --- trunk/lib/TextSearchQuery.php 2010-04-15 10:01:45 UTC (rev 7333) +++ trunk/lib/TextSearchQuery.php 2010-04-15 10:10:42 UTC (rev 7334) @@ -962,7 +962,9 @@ $this->lexer = new TextSearchQuery_Lexer($search_expr, $case_exact, $regex); $this->_regex = $regex; $tree = $this->get_list('toplevel'); - assert($this->lexer->eof()); + // Assert failure when using the following URL in debug mode. + // /TitleSearch?action=FullTextSearch&s=WFXSSProbe'")/>&case_exact=1®ex=sql + // assert($this->lexer->eof()); unset($this->lexer); return $tree; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |