Makefile.am:
Distribute "handlerton-win.cc" mysqld.cc: Corrected word lenght for some innobase configuration variables Makefile.am: Added Visual Studio 7 project file to EXTRA_DIST ha_partition.cc, sql_partition.cc: Changed include to use "..." for Windows handlerton-win.cc: Handle engine include/exclude with defines for Windows new file sql/handlerton-win.cc: Handle engine include/exclude with defines for Windows sql/sql_partition.cc: Changed include to use "..." for Windows sql/ha_partition.cc: Changed include to use "..." for Windows extra/yassl/Makefile.am: Added Visual Studio 7 project file to EXTRA_DIST extra/yassl/taocrypt/Makefile.am: Added Visual Studio 7 project file to EXTRA_DIST sql/mysqld.cc: Corrected word lenght for some innobase configuration variables sql/Makefile.am: Distribute "handlerton-win.cc"
This commit is contained in:
parent
8280d2040e
commit
a59351e562
@ -1,2 +1,2 @@
|
||||
SUBDIRS = taocrypt src
|
||||
EXTRA_DIST = yassl.dsp yassl.dsw $(wildcard mySTL/*.hpp)
|
||||
EXTRA_DIST = yassl.dsp yassl.dsw yassl.vcproj $(wildcard mySTL/*.hpp)
|
||||
|
@ -1,2 +1,2 @@
|
||||
SUBDIRS = src
|
||||
EXTRA_DIST = taocrypt.dsw taocrypt.dsp
|
||||
EXTRA_DIST = taocrypt.dsw taocrypt.dsp taocrypt.vcproj
|
||||
|
@ -118,7 +118,7 @@ DEFS = -DMYSQL_SERVER \
|
||||
@DEFS@
|
||||
|
||||
BUILT_SOURCES = sql_yacc.cc sql_yacc.h lex_hash.h
|
||||
EXTRA_DIST = udf_example.cc $(BUILT_SOURCES)
|
||||
EXTRA_DIST = udf_example.cc handlerton-win.cc $(BUILT_SOURCES)
|
||||
DISTCLEANFILES = lex_hash.h
|
||||
AM_YFLAGS = -d
|
||||
|
||||
|
@ -52,7 +52,7 @@
|
||||
#pragma implementation // gcc: Class implementation
|
||||
#endif
|
||||
|
||||
#include <mysql_priv.h>
|
||||
#include "mysql_priv.h"
|
||||
|
||||
#include "ha_partition.h"
|
||||
|
||||
|
72
sql/handlerton-win.cc
Normal file
72
sql/handlerton-win.cc
Normal file
@ -0,0 +1,72 @@
|
||||
#include "mysql_priv.h"
|
||||
|
||||
extern handlerton heap_hton;
|
||||
extern handlerton myisam_hton;
|
||||
extern handlerton myisammrg_hton;
|
||||
extern handlerton binlog_hton;
|
||||
#ifdef WITH_INNOBASE_STORAGE_ENGINE
|
||||
extern handlerton innobase_hton;
|
||||
#endif
|
||||
#ifdef WITH_BERKELEY_STORAGE_ENGINE
|
||||
extern handlerton berkeley_hton;
|
||||
#endif
|
||||
#ifdef WITH_EXAMPLE_STORAGE_ENGINE
|
||||
extern handlerton example_hton;
|
||||
#endif
|
||||
#ifdef WITH_ARCHIVE_STORAGE_ENGINE
|
||||
extern handlerton archive_hton;
|
||||
#endif
|
||||
#ifdef WITH_CSV_STORAGE_ENGINE
|
||||
extern handlerton tina_hton;
|
||||
#endif
|
||||
#ifdef WITH_BLACKHOLE_STORAGE_ENGINE
|
||||
extern handlerton blackhole_hton;
|
||||
#endif
|
||||
#ifdef WITH_FEDERATED_STORAGE_ENGINE
|
||||
extern handlerton federated_hton;
|
||||
#endif
|
||||
#ifdef WITH_NDBCLUSTER_STORAGE_ENGINE
|
||||
extern handlerton ndbcluster_hton;
|
||||
#endif
|
||||
#ifdef WITH_PARTITION_STORAGE_ENGINE
|
||||
extern handlerton partition_hton;
|
||||
#endif
|
||||
|
||||
/*
|
||||
This array is used for processing compiled in engines.
|
||||
*/
|
||||
handlerton *sys_table_types[]=
|
||||
{
|
||||
&heap_hton,
|
||||
&myisam_hton,
|
||||
#ifdef WITH_INNOBASE_STORAGE_ENGINE
|
||||
&innobase_hton,
|
||||
#endif
|
||||
#ifdef WITH_BERKELEY_STORAGE_ENGINE
|
||||
&berkeley_hton,
|
||||
#endif
|
||||
#ifdef WITH_EXAMPLE_STORAGE_ENGINE
|
||||
&example_hton,
|
||||
#endif
|
||||
#ifdef WITH_ARCHIVE_STORAGE_ENGINE
|
||||
&archive_hton,
|
||||
#endif
|
||||
#ifdef WITH_CSV_STORAGE_ENGINE
|
||||
&tina_hton,
|
||||
#endif
|
||||
#ifdef WITH_BLACKHOLE_STORAGE_ENGINE
|
||||
&blackhole_hton,
|
||||
#endif
|
||||
#ifdef WITH_FEDERATED_STORAGE_ENGINE
|
||||
&federated_hton,
|
||||
#endif
|
||||
#ifdef WITH_NDBCLUSTER_STORAGE_ENGINE
|
||||
&ndbcluster_hton,
|
||||
#endif
|
||||
#ifdef WITH_PARTITION_STORAGE_ENGINE
|
||||
&partition_hton,
|
||||
#endif
|
||||
&myisammrg_hton,
|
||||
&binlog_hton,
|
||||
NULL
|
||||
};
|
@ -356,8 +356,10 @@ extern ulong innobase_large_page_size;
|
||||
extern char *innobase_home, *innobase_tmpdir, *innobase_logdir;
|
||||
extern long innobase_lock_scan_time;
|
||||
extern long innobase_mirrored_log_groups, innobase_log_files_in_group;
|
||||
extern long innobase_log_file_size, innobase_log_buffer_size;
|
||||
extern long innobase_buffer_pool_size, innobase_additional_mem_pool_size;
|
||||
extern longlong innobase_log_file_size;
|
||||
extern long innobase_log_buffer_size;
|
||||
extern longlong innobase_buffer_pool_size;
|
||||
extern long innobase_additional_mem_pool_size;
|
||||
extern long innobase_buffer_pool_awe_mem_mb;
|
||||
extern long innobase_file_io_threads, innobase_lock_wait_timeout;
|
||||
extern long innobase_force_recovery;
|
||||
@ -7470,8 +7472,10 @@ char *berkeley_home, *berkeley_tmpdir, *berkeley_logdir;
|
||||
uint innobase_flush_log_at_trx_commit;
|
||||
ulong innobase_fast_shutdown;
|
||||
long innobase_mirrored_log_groups, innobase_log_files_in_group;
|
||||
long innobase_log_file_size, innobase_log_buffer_size;
|
||||
long innobase_buffer_pool_size, innobase_additional_mem_pool_size;
|
||||
longlong innobase_log_file_size;
|
||||
long innobase_log_buffer_size;
|
||||
longlong innobase_buffer_pool_size;
|
||||
long innobase_additional_mem_pool_size;
|
||||
long innobase_buffer_pool_awe_mem_mb;
|
||||
long innobase_file_io_threads, innobase_lock_wait_timeout;
|
||||
long innobase_force_recovery;
|
||||
|
@ -70,8 +70,10 @@ extern char *berkeley_home, *berkeley_tmpdir, *berkeley_logdir;
|
||||
extern uint innobase_flush_log_at_trx_commit;
|
||||
extern ulong innobase_fast_shutdown;
|
||||
extern long innobase_mirrored_log_groups, innobase_log_files_in_group;
|
||||
extern long innobase_log_file_size, innobase_log_buffer_size;
|
||||
extern long innobase_buffer_pool_size, innobase_additional_mem_pool_size;
|
||||
extern longlong innobase_log_file_size;
|
||||
extern long innobase_log_buffer_size;
|
||||
extern longlong innobase_buffer_pool_size;
|
||||
extern long innobase_additional_mem_pool_size;
|
||||
extern long innobase_buffer_pool_awe_mem_mb;
|
||||
extern long innobase_file_io_threads, innobase_lock_wait_timeout;
|
||||
extern long innobase_force_recovery;
|
||||
|
@ -39,7 +39,7 @@
|
||||
#include "md5.h"
|
||||
|
||||
#ifdef WITH_PARTITION_STORAGE_ENGINE
|
||||
#include <ha_partition.h>
|
||||
#include "ha_partition.h"
|
||||
/*
|
||||
Partition related functions declarations and some static constants;
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user