~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/innobase/include/dict0dict.ic

  • Committer: Brian Aker
  • Date: 2008-07-11 17:17:17 UTC
  • mfrom: (77.1.79 codestyle)
  • Revision ID: brian@tangent.org-20080711171717-039qp03g93w70rlq
MergeĀ 

Show diffs side-by-side

added added

removed removed

Lines of Context:
381
381
dict_field_t*
382
382
dict_index_get_nth_field(
383
383
/*=====================*/
384
 
                                /* out: pointer to field object */
385
 
        dict_index_t*   index,  /* in: index */
386
 
        ulint           pos)    /* in: position of field */
 
384
                                        /* out: pointer to field object */
 
385
        const dict_index_t*     index,  /* in: index */
 
386
        ulint                   pos)    /* in: position of field */
387
387
{
388
388
        ut_ad(index);
389
389
        ut_ad(pos < index->n_def);
441
441
        const dict_index_t*     index,  /* in: index */
442
442
        ulint                   pos)    /* in: position of the field */
443
443
{
444
 
        return(dict_field_get_col(dict_index_get_nth_field((dict_index_t*)
445
 
                                                           index, pos)));
 
444
        return(dict_field_get_col(dict_index_get_nth_field(index, pos)));
446
445
}
447
446
 
448
447
/************************************************************************