~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

More casting.

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
 
51
53
extern const char*      srv_main_thread_op_info;
52
54
 
53
55
/** Prefix used by MySQL to indicate pre-5.1 table name encoding */
54
 
extern const char       srv_mysql50_table_name_prefix[9];
 
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#");
55
60
 
56
61
/* When this event is set the lock timeout and InnoDB monitor
57
62
thread starts running */