Commit 5dc48be1 authored by Georgi Kodinov's avatar Georgi Kodinov

merge

parents f45b6605 589428b6
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
IF(WIN32) IF(WIN32)
SET(localstatedir "C:\\mysql\\data") SET(localstatedir "C:\\\\mysql\\\\data\\\\")
SET(ini_file_extension "ini") SET(ini_file_extension "ini")
ELSE() ELSE()
SET(localstatedir "${MYSQL_DATADIR}") SET(localstatedir "${MYSQL_DATADIR}")
......
...@@ -3,11 +3,11 @@ ...@@ -3,11 +3,11 @@
# This is for a large system with memory of 1G-2G where the system runs mainly # This is for a large system with memory of 1G-2G where the system runs mainly
# MySQL. # MySQL.
# #
# You can copy this file to # MySQL programs look for option files in a set of
# /etc/my.cnf to set global options, # locations which depend on the deployment platform.
# mysql-data-dir/my.cnf to set server-specific options (in this # You can copy this option file to one of those
# installation this directory is @localstatedir@) or # locations. For information about these locations, see:
# ~/.my.cnf to set user-specific options. # http://dev.mysql.com/doc/mysql/en/option-files.html
# #
# In this file, you can use all long options that a program supports. # In this file, you can use all long options that a program supports.
# If you want to know which options a program supports, run the program # If you want to know which options a program supports, run the program
...@@ -113,14 +113,10 @@ server-id = 1 ...@@ -113,14 +113,10 @@ server-id = 1
# binary logging format - mixed recommended # binary logging format - mixed recommended
#binlog_format=mixed #binlog_format=mixed
# Point the following paths to different dedicated disks
#tmpdir = /tmp/
#log-bin = /path-to-dedicated-directory/hostname
# Uncomment the following if you are using InnoDB tables # Uncomment the following if you are using InnoDB tables
#innodb_data_home_dir = @localstatedir@/ #innodb_data_home_dir = @localstatedir@
#innodb_data_file_path = ibdata1:2000M;ibdata2:10M:autoextend #innodb_data_file_path = ibdata1:2000M;ibdata2:10M:autoextend
#innodb_log_group_home_dir = @localstatedir@/ #innodb_log_group_home_dir = @localstatedir@
# You can set .._buffer_pool_size up to 50 - 80 % # You can set .._buffer_pool_size up to 50 - 80 %
# of RAM but beware of setting memory usage too high # of RAM but beware of setting memory usage too high
#innodb_buffer_pool_size = 384M #innodb_buffer_pool_size = 384M
......
...@@ -8,10 +8,11 @@ ...@@ -8,10 +8,11 @@
# running mostly MySQL using InnoDB only tables and performing complex # running mostly MySQL using InnoDB only tables and performing complex
# queries with few connections. # queries with few connections.
# #
# You can copy this file to /etc/my.cnf to set global options, # MySQL programs look for option files in a set of
# mysql-data-dir/my.cnf to set server-specific options # locations which depend on the deployment platform.
# (@localstatedir@ for this installation) or to # You can copy this option file to one of those
# ~/.my.cnf to set user-specific options. # locations. For information about these locations, see:
# http://dev.mysql.com/doc/mysql/en/option-files.html
# #
# In this file, you can use all long options that a program supports. # In this file, you can use all long options that a program supports.
# If you want to know which options a program supports, run the program # If you want to know which options a program supports, run the program
...@@ -232,15 +233,6 @@ slow_query_log ...@@ -232,15 +233,6 @@ slow_query_log
# currently measures time with second accuracy only). # currently measures time with second accuracy only).
long_query_time = 2 long_query_time = 2
# The directory used by MySQL for storing temporary files. For example,
# it is used to perform disk based large sorts, as well as for internal
# and explicit temporary tables. It might be good to put it on a
# swapfs/tmpfs filesystem, if you do not create very large temporary
# files. Alternatively you can put it on dedicated disk. You can
# specify multiple paths here by separating them by ";" - they will then
# be used in a round-robin fashion.
#tmpdir = /tmp
# *** Replication related settings # *** Replication related settings
......
...@@ -3,11 +3,11 @@ ...@@ -3,11 +3,11 @@
# This is for a large system with memory = 512M where the system runs mainly # This is for a large system with memory = 512M where the system runs mainly
# MySQL. # MySQL.
# #
# You can copy this file to # MySQL programs look for option files in a set of
# /etc/my.cnf to set global options, # locations which depend on the deployment platform.
# mysql-data-dir/my.cnf to set server-specific options (in this # You can copy this option file to one of those
# installation this directory is @localstatedir@) or # locations. For information about these locations, see:
# ~/.my.cnf to set user-specific options. # http://dev.mysql.com/doc/mysql/en/option-files.html
# #
# In this file, you can use all long options that a program supports. # In this file, you can use all long options that a program supports.
# If you want to know which options a program supports, run the program # If you want to know which options a program supports, run the program
...@@ -113,14 +113,10 @@ server-id = 1 ...@@ -113,14 +113,10 @@ server-id = 1
# binary logging - not required for slaves, but recommended # binary logging - not required for slaves, but recommended
#log-bin=mysql-bin #log-bin=mysql-bin
# Point the following paths to different dedicated disks
#tmpdir = /tmp/
#log-bin = /path-to-dedicated-directory/hostname
# Uncomment the following if you are using InnoDB tables # Uncomment the following if you are using InnoDB tables
#innodb_data_home_dir = @localstatedir@/ #innodb_data_home_dir = @localstatedir@
#innodb_data_file_path = ibdata1:10M:autoextend #innodb_data_file_path = ibdata1:10M:autoextend
#innodb_log_group_home_dir = @localstatedir@/ #innodb_log_group_home_dir = @localstatedir@
# You can set .._buffer_pool_size up to 50 - 80 % # You can set .._buffer_pool_size up to 50 - 80 %
# of RAM but beware of setting memory usage too high # of RAM but beware of setting memory usage too high
#innodb_buffer_pool_size = 256M #innodb_buffer_pool_size = 256M
......
...@@ -4,11 +4,11 @@ ...@@ -4,11 +4,11 @@
# an important part, or systems up to 128M where MySQL is used together with # an important part, or systems up to 128M where MySQL is used together with
# other programs (such as a web server) # other programs (such as a web server)
# #
# You can copy this file to # MySQL programs look for option files in a set of
# /etc/my.cnf to set global options, # locations which depend on the deployment platform.
# mysql-data-dir/my.cnf to set server-specific options (in this # You can copy this option file to one of those
# installation this directory is @localstatedir@) or # locations. For information about these locations, see:
# ~/.my.cnf to set user-specific options. # http://dev.mysql.com/doc/mysql/en/option-files.html
# #
# In this file, you can use all long options that a program supports. # In this file, you can use all long options that a program supports.
# If you want to know which options a program supports, run the program # If you want to know which options a program supports, run the program
...@@ -111,14 +111,10 @@ server-id = 1 ...@@ -111,14 +111,10 @@ server-id = 1
# binary logging - not required for slaves, but recommended # binary logging - not required for slaves, but recommended
#log-bin=mysql-bin #log-bin=mysql-bin
# Point the following paths to different dedicated disks
#tmpdir = /tmp/
#log-bin = /path-to-dedicated-directory/hostname
# Uncomment the following if you are using InnoDB tables # Uncomment the following if you are using InnoDB tables
#innodb_data_home_dir = @localstatedir@/ #innodb_data_home_dir = @localstatedir@
#innodb_data_file_path = ibdata1:10M:autoextend #innodb_data_file_path = ibdata1:10M:autoextend
#innodb_log_group_home_dir = @localstatedir@/ #innodb_log_group_home_dir = @localstatedir@
# You can set .._buffer_pool_size up to 50 - 80 % # You can set .._buffer_pool_size up to 50 - 80 %
# of RAM but beware of setting memory usage too high # of RAM but beware of setting memory usage too high
#innodb_buffer_pool_size = 16M #innodb_buffer_pool_size = 16M
......
...@@ -4,11 +4,11 @@ ...@@ -4,11 +4,11 @@
# from time to time and it's important that the mysqld daemon # from time to time and it's important that the mysqld daemon
# doesn't use much resources. # doesn't use much resources.
# #
# You can copy this file to # MySQL programs look for option files in a set of
# /etc/my.cnf to set global options, # locations which depend on the deployment platform.
# mysql-data-dir/my.cnf to set server-specific options (in this # You can copy this option file to one of those
# installation this directory is @localstatedir@) or # locations. For information about these locations, see:
# ~/.my.cnf to set user-specific options. # http://dev.mysql.com/doc/mysql/en/option-files.html
# #
# In this file, you can use all long options that a program supports. # In this file, you can use all long options that a program supports.
# If you want to know which options a program supports, run the program # If you want to know which options a program supports, run the program
...@@ -59,9 +59,9 @@ server-id = 1 ...@@ -59,9 +59,9 @@ server-id = 1
#binlog_direct_non_transactional_updates=TRUE #binlog_direct_non_transactional_updates=TRUE
# Uncomment the following if you are using InnoDB tables # Uncomment the following if you are using InnoDB tables
#innodb_data_home_dir = @localstatedir@/ #innodb_data_home_dir = @localstatedir@
#innodb_data_file_path = ibdata1:10M:autoextend #innodb_data_file_path = ibdata1:10M:autoextend
#innodb_log_group_home_dir = @localstatedir@/ #innodb_log_group_home_dir = @localstatedir@
# You can set .._buffer_pool_size up to 50 - 80 % # You can set .._buffer_pool_size up to 50 - 80 %
# of RAM but beware of setting memory usage too high # of RAM but beware of setting memory usage too high
#innodb_buffer_pool_size = 16M #innodb_buffer_pool_size = 16M
......
...@@ -101,8 +101,7 @@ try ...@@ -101,8 +101,7 @@ try
GetValue(configureIn, "DOT_FRM_VERSION") + "\" CACHE STRING \"\")"); GetValue(configureIn, "DOT_FRM_VERSION") + "\" CACHE STRING \"\")");
configfile.WriteLine("SET (MYSQL_TCP_PORT_DEFAULT \"" + default_port + "\" CACHE STRING \"\")"); configfile.WriteLine("SET (MYSQL_TCP_PORT_DEFAULT \"" + default_port + "\" CACHE STRING \"\")");
configfile.WriteLine("SET (MYSQL_TCP_PORT \"" + actual_port + "\" CACHE STRING \"\")"); configfile.WriteLine("SET (MYSQL_TCP_PORT \"" + actual_port + "\" CACHE STRING \"\")");
configfile.WriteLine("SET (MYSQL_UNIX_ADDR \"" + configfile.WriteLine("SET (MYSQL_UNIX_ADDR \"MySQL\" CACHE STRING \"\")");
GetValue(configureIn, "MYSQL_UNIX_ADDR_DEFAULT") + "\" CACHE STRING \"\")");
var version = GetVersion(configureIn); var version = GetVersion(configureIn);
configfile.WriteLine("SET (VERSION \"" + version + "\" CACHE STRING \"\")"); configfile.WriteLine("SET (VERSION \"" + version + "\" CACHE STRING \"\")");
configfile.WriteLine("SET (MYSQL_BASE_VERSION \"" + configfile.WriteLine("SET (MYSQL_BASE_VERSION \"" +
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment