~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/table.cc

  • Committer: Brian Aker
  • Date: 2008-07-26 18:39:33 UTC
  • mfrom: (212.1.3 codestyle)
  • Revision ID: brian@tangent.org-20080726183933-hueup0fcy2zs1hug
Merge Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
2225
2225
    that are present in this value, returns the length of the value
2226
2226
*/
2227
2227
uint calculate_key_len(TABLE *table, uint key,
2228
 
                       const uchar *buf __attribute__((__unused__)),
 
2228
                       const uchar *buf __attribute__((unused)),
2229
2229
                       key_part_map keypart_map)
2230
2230
{
2231
2231
  /* works only with key prefixes */
2899
2899
  return create_view_field(thd, view, &ptr->item, ptr->name);
2900
2900
}
2901
2901
 
2902
 
Item *create_view_field(THD *thd __attribute__((__unused__)),
 
2902
Item *create_view_field(THD *thd __attribute__((unused)),
2903
2903
                        TABLE_LIST *view, Item **field_ref,
2904
 
                        const char *name __attribute__((__unused__)))
 
2904
                        const char *name __attribute__((unused)))
2905
2905
{
2906
2906
  if (view->schema_table_reformed)
2907
2907
  {
3653
3653
  FRMTYPE_TABLE       table
3654
3654
*/
3655
3655
 
3656
 
frm_type_enum mysql_frm_type(THD *thd __attribute__((__unused__)),
 
3656
frm_type_enum mysql_frm_type(THD *thd __attribute__((unused)),
3657
3657
                             char *path, enum legacy_db_type *dbt)
3658
3658
{
3659
3659
  File file;