~stewart/drizzle/update-innobase

« back to all changes in this revision

Viewing changes to plugin/innobase/include/dict0dict.h

  • Committer: Stewart Smith
  • Author(s): Vasil Dimov, Stewart Smith
  • Date: 2010-12-20 03:33:17 UTC
  • Revision ID: stewart@flamingspork.com-20101220033317-hoess6z0xg4xajgv
Merge Revision revid:vasil.dimov@oracle.com-20101111111152-go9r1lgbtpvcmfd0 from MySQL InnoDB

Original revid:vasil.dimov@oracle.com-20101111111152-go9r1lgbtpvcmfd0

Original Authors: Vasil Dimov <vasil.dimov@oracle.com>
Original commit message:
Remove unused parameter has_dict_mutex of dict_update_statistics_low()

Also delete dict_update_statistics() and rename dict_update_statistics_low()
to dict_update_statistics() because the only thing that distinguished those
two functions was the removed parameter.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1065
1065
are used in query optimization. */
1066
1066
UNIV_INTERN
1067
1067
void
1068
 
dict_update_statistics_low(
1069
 
/*=======================*/
1070
 
        dict_table_t*   table,          /*!< in/out: table */
1071
 
        ibool           only_calc_if_missing_stats,/*!< in: only
1072
 
                                        update/recalc the stats if they have
1073
 
                                        not been initialized yet, otherwise
1074
 
                                        do nothing */
1075
 
        ibool           has_dict_mutex);/*!< in: TRUE if the caller has the
1076
 
                                        dictionary mutex */
1077
 
/*********************************************************************//**
1078
 
Calculates new estimates for table and index statistics. The statistics
1079
 
are used in query optimization. */
1080
 
UNIV_INTERN
1081
 
void
1082
1068
dict_update_statistics(
1083
1069
/*===================*/
1084
 
        dict_table_t*   table,  /*!< in/out: table */
 
1070
        dict_table_t*   table,          /*!< in/out: table */
1085
1071
        ibool           only_calc_if_missing_stats);/*!< in: only
1086
1072
                                        update/recalc the stats if they have
1087
1073
                                        not been initialized yet, otherwise