~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to sql/gen_lex_hash.cc

Removed non-fcntl code and made it a fatal configure error if it's not there.

Show diffs side-by-side

added added

removed removed

Lines of Context:
273
273
  }
274
274
  else if (st->first_char == 0)
275
275
  {
276
 
    hash_map[size_hash_map-2]= (char)(array_elements_func(symbols))&255;
277
 
    hash_map[size_hash_map-1]= (char)(array_elements(symbols))>>8;
 
276
    hash_map[size_hash_map-2]= ((unsigned int)(int16)array_elements_func(symbols))&255;
 
277
    hash_map[size_hash_map-1]= ((unsigned int)(int16)array_elements(symbols))>>8;
278
278
  }
279
279
}
280
280