~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/mi_search.c

  • Committer: Patrick Galbraith
  • Date: 2008-07-16 18:48:24 UTC
  • mto: (77.3.28 glibclient)
  • mto: This revision was merged to the branch mainline in revision 176.
  • Revision ID: patg@ishvara-20080716184824-nyd9po8rwk00l2qu
Dar, I forgot to commit this earlier.

* Removed my_sprintf from the files below
* Fixed some small issues that cause compile to fail (pedantic picky-ousity)

Show diffs side-by-side

added added

removed removed

Lines of Context:
290
290
  */
291
291
  int flag=0, my_flag=-1;
292
292
  uint nod_flag, length=0, len, matched, cmplen, kseg_len;
293
 
  uint prefix_len,suffix_len;
294
 
  int key_len_skip, seg_len_pack, key_len_left;
 
293
  uint prefix_len=0,suffix_len;
 
294
  int key_len_skip, seg_len_pack=0, key_len_left;
295
295
  uchar *end, *kseg, *vseg;
296
296
  uchar *sort_order=keyinfo->seg->charset->sort_order;
297
297
  uchar tt_buff[MI_MAX_KEY_BUFF+2], *t_buff=tt_buff+2;
300
300
  uint  length_pack;
301
301
  DBUG_ENTER("_mi_prefix_search");
302
302
 
 
303
 
303
304
  t_buff[0]=0;                                  /* Avoid bugs */
304
305
  end= page+mi_getint(page);
305
306
  nod_flag=mi_test_if_nod(page);