~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/include/srv0srv.h

  • Committer: Monty Taylor
  • Date: 2010-12-26 03:15:44 UTC
  • mto: This revision was merged to the branch mainline in revision 2038.
  • Revision ID: mordred@inaugust.com-20101226031544-1cf3raipu53fnmyj
Through page.

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
#include "que0types.h"
49
49
#include "trx0types.h"
50
50
 
51
 
#include <string>
52
 
 
53
51
extern const char*      srv_main_thread_op_info;
54
52
 
55
53
/** Prefix used by MySQL to indicate pre-5.1 table name encoding */
56
 
/** LOOKIE HERE!!!! This used to be srv_mysql50_table_name_prefix[10]
57
 
    which was a buffer overrun, because it didn't allow for the trailing
58
 
    '\0'. Thanks C++! */
59
 
static const std::string srv_mysql50_table_name_prefix("#mysql50#");
 
54
extern const char       srv_mysql50_table_name_prefix[9];
60
55
 
61
56
/* When this event is set the lock timeout and InnoDB monitor
62
57
thread starts running */
268
263
                                query threads, and lock table: we allocate
269
264
                                it from dynamic memory to get it to the
270
265
                                same DRAM page as other hotspot semaphores */
271
 
extern mutex_t* commit_id_mutex_temp;
272
 
 
273
266
#define kernel_mutex (*kernel_mutex_temp)
274
 
#define commit_id_mutex (*commit_id_mutex_temp)
275
267
 
276
268
#define SRV_MAX_N_IO_THREADS    130
277
269
 
665
657
os_thread_ret_t
666
658
srv_purge_thread(
667
659
/*=============*/
668
 
        void*   /*arg __attribute__((unused))*/); /*!< in: a dummy parameter
 
660
        void*   arg __attribute__((unused))); /*!< in: a dummy parameter
669
661
                                              required by os_thread_create */
670
662
 
671
663
/**********************************************************************//**