Changeset 633


Ignore:
Timestamp:
1999-09-24T14:41:21+12:00 (25 years ago)
Author:
rjmcnab
Message:

change to use has_unicode_letdig in text_t

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/colservr/mgsearch.cpp

    r615 r633  
    2828/*
    2929   $Log$
     30   Revision 1.22  1999/09/24 02:41:21  rjmcnab
     31   change to use has_unicode_letdig in text_t
     32
    3033   Revision 1.21  1999/09/21 21:41:41  sjboddie
    3134   fixed an error in what I committed last
     
    399402
    400403  // 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;
    412405
    413406  if (makeindexcurrent (queryparams.index, queryparams.subcollection,
Note: See TracChangeset for help on using the changeset viewer.