~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/myisam/ha_myisam.cc

Fixed -Wmissing-declarations

Show diffs side-by-side

added added

removed removed

Lines of Context:
163
163
    !0 error code
164
164
*/
165
165
 
166
 
int table2myisam(Table *table_arg, MI_KEYDEF **keydef_out,
167
 
                 MI_COLUMNDEF **recinfo_out, uint32_t *records_out)
 
166
static int table2myisam(Table *table_arg, MI_KEYDEF **keydef_out,
 
167
                        MI_COLUMNDEF **recinfo_out, uint32_t *records_out)
168
168
{
169
169
  uint32_t i, j, recpos, minpos, fieldpos, temp_length, length;
170
170
  enum ha_base_keytype type= HA_KEYTYPE_BINARY;
351
351
      (should be corretly detected in table2myisam).
352
352
*/
353
353
 
354
 
int check_definition(MI_KEYDEF *t1_keyinfo, MI_COLUMNDEF *t1_recinfo,
355
 
                     uint32_t t1_keys, uint32_t t1_recs,
356
 
                     MI_KEYDEF *t2_keyinfo, MI_COLUMNDEF *t2_recinfo,
357
 
                     uint32_t t2_keys, uint32_t t2_recs, bool strict)
 
354
static int check_definition(MI_KEYDEF *t1_keyinfo, MI_COLUMNDEF *t1_recinfo,
 
355
                            uint32_t t1_keys, uint32_t t1_recs,
 
356
                            MI_KEYDEF *t2_keyinfo, MI_COLUMNDEF *t2_recinfo,
 
357
                            uint32_t t2_keys, uint32_t t2_recs, bool strict)
358
358
{
359
359
  uint32_t i, j;
360
360
  if ((strict ? t1_keys != t2_keys : t1_keys > t2_keys))
1757
1757
  return 0;
1758
1758
}
1759
1759
 
1760
 
int myisam_deinit(PluginRegistry &registry)
 
1760
static int myisam_deinit(PluginRegistry &registry)
1761
1761
{
1762
1762
  registry.remove(engine);
1763
1763
  delete engine;