~jaypipes/drizzle/transaction_log

« back to all changes in this revision

Viewing changes to drizzled/set_var.cc

  • Committer: Jay Pipes
  • Date: 2009-12-22 03:07:38 UTC
  • mfrom: (1143.14.85 build)
  • Revision ID: jpipes@serialcoder-20091222030738-gnb0vyg77fmkt4cj
Merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
    example).
44
44
*/
45
45
 
46
 
#include <drizzled/server_includes.h>
 
46
#include "config.h"
47
47
#include <mysys/my_getopt.h>
48
48
#include <plugin/myisam/myisam.h>
49
49
#include <drizzled/error.h>
58
58
#include <drizzled/item/null.h>
59
59
#include <drizzled/item/float.h>
60
60
#include <drizzled/plugin.h>
 
61
#include "drizzled/version.h"
 
62
#include "drizzled/strfunc.h"
 
63
#include "mystrings/m_string.h"
 
64
#include "drizzled/pthread_globals.h"
61
65
 
62
66
#include <map>
63
67
#include <algorithm>
65
69
using namespace std;
66
70
using namespace drizzled;
67
71
 
 
72
extern plugin::StorageEngine *myisam_engine;
 
73
 
 
74
extern struct my_option my_long_options[];
68
75
extern const CHARSET_INFO *character_set_filesystem;
69
76
extern size_t my_thread_stack_size;
70
77
 
225
232
static sys_var_session_uint64_t sys_tmp_table_size(&vars, "tmp_table_size",
226
233
                                           &SV::tmp_table_size);
227
234
static sys_var_bool_ptr  sys_timed_mutexes(&vars, "timed_mutexes", &timed_mutexes);
228
 
static sys_var_const_str  sys_version(&vars, "version", drizzled_version().c_str());
 
235
static sys_var_const_str  sys_version(&vars, "version", drizzled::version().c_str());
229
236
 
230
237
static sys_var_const_str        sys_version_comment(&vars, "version_comment",
231
238
                                            COMPILATION_COMMENT);
306
313
 
307
314
/* Read only variables */
308
315
 
 
316
extern SHOW_COMP_OPTION have_symlink;
309
317
static sys_var_have_variable sys_have_symlink(&vars, "have_symlink", &have_symlink);
310
318
/*
311
319
  Additional variables (not derived from sys_var class, not accessible as
1242
1250
                           division_limit, age_threshold));
1243
1251
}
1244
1252
 
1245
 
 
 
1253
sys_var_key_buffer_size::sys_var_key_buffer_size(sys_var_chain *chain,
 
1254
                                                 const char *name_arg)
 
1255
  : sys_var_key_cache_param(chain, name_arg,
 
1256
                            offsetof(KEY_CACHE, param_buff_size))
 
1257
{}
1246
1258
 
1247
1259
bool sys_var_key_buffer_size::update(Session *session, set_var *var)
1248
1260
{