~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/myisam/ha_myisam.cc

  • Committer: Stewart Smith
  • Date: 2010-04-01 04:50:49 UTC
  • mfrom: (1283.28.35)
  • mto: (1283.38.1)
  • mto: This revision was merged to the branch mainline in revision 1536.
  • Revision ID: stewart@flamingspork.com-20100401045049-ja409wya5jjyw8uy
Merged embedded-innodb-position-rnd-pos into embedded-innodb-autoincrement.

Show diffs side-by-side

added added

removed removed

Lines of Context:
75
75
public:
76
76
  explicit MyisamEngine(string name_arg) :
77
77
    plugin::StorageEngine(name_arg,
78
 
                          HTON_HAS_DATA_DICTIONARY |
79
78
                          HTON_CAN_INDEX_BLOBS |
80
79
                          HTON_STATS_RECORDS_IS_EXACT |
81
80
                          HTON_TEMPORARY_ONLY |
107
106
    return ha_myisam_exts;
108
107
  }
109
108
 
110
 
  int doCreateTable(Session *,
 
109
  int doCreateTable(Session&,
111
110
                    Table& table_arg,
112
111
                    drizzled::TableIdentifier &identifier,
113
112
                    message::Table&);
121
120
                           message::Table &table_message);
122
121
 
123
122
  /* Temp only engine, so do not return values. */
124
 
  void doGetTableNames(CachedDirectory &, string& , set<string>&) { };
 
123
  void doGetTableNames(CachedDirectory &, SchemaIdentifier &, set<string>&) { };
125
124
 
126
125
  uint32_t max_supported_keys()          const { return MI_MAX_KEY; }
127
126
  uint32_t max_supported_key_length()    const { return MI_MAX_KEY_LENGTH; }
1348
1347
                                       F_UNLCK : F_EXTRA_LCK));
1349
1348
}
1350
1349
 
1351
 
int MyisamEngine::doCreateTable(Session *session,
 
1350
int MyisamEngine::doCreateTable(Session &session,
1352
1351
                                Table& table_arg,
1353
1352
                                drizzled::TableIdentifier &identifier,
1354
1353
                                message::Table& create_proto)
1390
1389
                   &create_info, create_flags);
1391
1390
  free((unsigned char*) recinfo);
1392
1391
 
1393
 
  session->storeTableMessage(identifier, create_proto);
 
1392
  session.storeTableMessage(identifier, create_proto);
1394
1393
 
1395
1394
  return error;
1396
1395
}