~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/info_schema/info_schema_methods.cc

  • Committer: Brian Aker
  • Date: 2009-08-24 19:19:39 UTC
  • mfrom: (1121.1.6 merge)
  • Revision ID: brian@gaz-20090824191939-xcn528r7gwjc48h3
Merge Brian

Show diffs side-by-side

added added

removed removed

Lines of Context:
1069
1069
  return (res);
1070
1070
}
1071
1071
 
1072
 
 
1073
 
/* Match the values of enum ha_choice */
1074
 
static const char *ha_choice_values[] = {"", "0", "1"};
1075
 
 
1076
1072
int TablesISMethods::processTable(Session *session, TableList *tables,
1077
1073
                                    Table *table, bool res,
1078
1074
                                    LEX_STRING *db_name,
1145
1141
    {
1146
1142
      ptr= strcpy(ptr," pack_keys=0")+12;
1147
1143
    }
1148
 
    if (share->page_checksum != HA_CHOICE_UNDEF)
1149
 
    {
1150
 
      ptr+= sprintf(ptr, " page_checksum=%s",
1151
 
                    ha_choice_values[(uint32_t) share->page_checksum]);
1152
 
    }
1153
1144
    if (share->row_type != ROW_TYPE_DEFAULT)
1154
1145
    {
1155
1146
      ptr+= sprintf(ptr, " row_format=%s", ha_row_type[(uint32_t)share->row_type]);