~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/set_var.cc

  • Committer: Stewart Smith
  • Date: 2009-06-18 00:58:40 UTC
  • mto: (1089.11.1 basic-discovery)
  • mto: This revision was merged to the branch mainline in revision 1072.
  • Revision ID: stewart@flamingspork.com-20090618005840-g1qxarokklraek7z
Remove keep_files_on_create

Only applicable to MyISAM, and should be down in the engine layer as an error if files trying to create already exist.

Also, if you're wanting to re-create the FRM/DFE, then just replace the data files!
Or at least have it as a CREATE TABLE option, and not some server variable that changes behaviour of
such things.

Show diffs side-by-side

added added

removed removed

Lines of Context:
360
360
/* Global read-only variable containing hostname */
361
361
static sys_var_const_str        sys_hostname(&vars, "hostname", glob_hostname);
362
362
 
363
 
sys_var_session_bool  sys_keep_files_on_create(&vars, "keep_files_on_create",
364
 
                                           &SV::keep_files_on_create);
365
363
/* Read only variables */
366
364
 
367
365
static sys_var_have_variable sys_have_symlink(&vars, "have_symlink", &have_symlink);