Changeset 633
- Timestamp:
- 1999-09-24T14:41:21+12:00 (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/colservr/mgsearch.cpp
r615 r633 28 28 /* 29 29 $Log$ 30 Revision 1.22 1999/09/24 02:41:21 rjmcnab 31 change to use has_unicode_letdig in text_t 32 30 33 Revision 1.21 1999/09/21 21:41:41 sjboddie 31 34 fixed an error in what I committed last … … 399 402 400 403 // make sure there is a query to be processed 401 text_t::const_iterator queryhere = queryparams.querystring.begin(); 402 text_t::const_iterator queryend = queryparams.querystring.end(); 403 while (queryhere != queryend) { 404 if (is_unicode_letdig (*queryhere)) break; 405 queryhere++; 406 } 407 408 // if we reached the end of the query string without finding 409 // any alphanumeric characters then return no results (and say 410 // the database was loaded) 411 if (queryhere == queryend) return true; 404 if (!has_unicode_letdig(queryparams.querystring)) return true; 412 405 413 406 if (makeindexcurrent (queryparams.index, queryparams.subcollection,
Note:
See TracChangeset
for help on using the changeset viewer.