~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/myisam/ha_myisam.cc

  • Committer: Brian Aker
  • Date: 2010-08-13 17:44:18 UTC
  • mto: This revision was merged to the branch mainline in revision 1709.
  • Revision ID: brian@tangent.org-20100813174418-pq2wr6r6f2okx3gb
Remove myisam_data_pointer_siz

Show diffs side-by-side

added added

removed removed

Lines of Context:
1528
1528
                                N_("The buffer that is allocated when sorting the index when doing a REPAIR or when creating indexes with CREATE INDEX or ALTER TABLE."),
1529
1529
                                NULL, NULL, 8192*1024, 1024, SIZE_MAX, 0);
1530
1530
 
1531
 
extern uint32_t data_pointer_size;
1532
 
static DRIZZLE_SYSVAR_UINT(data_pointer_size, data_pointer_size,
1533
 
                            PLUGIN_VAR_RQCMDARG,
1534
 
                            N_("Default pointer size to be used for MyISAM tables."),
1535
 
                            NULL, NULL, 6, 2, 7, 0);
1536
 
 
1537
1531
static void init_options(drizzled::module::option_context &context)
1538
1532
{
1539
1533
  context("max-sort-file-size",
1542
1536
  context("sort-buffer-size",
1543
1537
          po::value<uint64_t>(&sort_buffer_size)->default_value(8192*1024),
1544
1538
          N_("The buffer that is allocated when sorting the index when doing a REPAIR or when creating indexes with CREATE INDEX or ALTER TABLE."));
1545
 
  context("data-pointer-size",
1546
 
          po::value<uint32_t>(&data_pointer_size)->default_value(6),
1547
 
          N_("Default pointer size to be used for MyISAM tables."));
1548
1539
}
1549
1540
 
1550
1541
static drizzle_sys_var* sys_variables[]= {
1551
1542
  DRIZZLE_SYSVAR(max_sort_file_size),
1552
1543
  DRIZZLE_SYSVAR(sort_buffer_size),
1553
 
  DRIZZLE_SYSVAR(data_pointer_size),
1554
1544
  NULL
1555
1545
};
1556
1546