Merge lp:~vjsamuel/drizzle/rplugin-innobase into lp:~drizzle-trunk/drizzle/development

Proposed by Vijay Samuel
Status: Merged
Merged at revision: 1712
Proposed branch: lp:~vjsamuel/drizzle/rplugin-innobase
Merge into: lp:~drizzle-trunk/drizzle/development
Diff against target: 574 lines (+500/-7)
4 files modified
plugin/innobase/handler/ha_innodb.cc (+497/-3)
po/POTFILES.in (+1/-0)
tests/t/unsafe_binlog_innodb-master.opt (+1/-1)
tests/test-run.pl (+1/-3)
To merge this branch: bzr merge lp:~vjsamuel/drizzle/rplugin-innobase
Reviewer Review Type Date Requested Status
Stewart Smith (community) Needs Fixing
Drizzle Merge Team Pending
Review via email: mp+32183@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Stewart Smith (stewart) wrote :

The UNIV_LOG_ARCHIVE #ifdef should not be removed. It's not something we want end users seeing. It is *always* a bad idea to set this (unless you're an InnoDB hacker).

I don't see innobase_data_home_dir being freed (or a bunch of the other ones actually)

innobase_additional_mem_pool_size/= 1024;
166 + innobase_additional_mem_pool_size*= 1024;

you meant innobase_additional_mem_pool_size -= innobase_additional_mem_pool_size % 1024 ?
as the above just looks a bit odd.

         "Enable InnoDB checksums validation (enabled by default). Disable with --skip-innodb-checksums.

needs to be fixed

+ "Speeds up the shutdown process of the InnoDB storage engine. Possible values are(faster) or 2 (fastest - crash-like).");

missing the "1"

review: Needs Fixing

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'plugin/innobase/handler/ha_innodb.cc'
--- plugin/innobase/handler/ha_innodb.cc 2010-08-08 01:18:02 +0000
+++ plugin/innobase/handler/ha_innodb.cc 2010-08-10 11:52:47 +0000
@@ -88,6 +88,12 @@
88#include <drizzled/transaction_services.h>88#include <drizzled/transaction_services.h>
8989
90#include <boost/algorithm/string.hpp>90#include <boost/algorithm/string.hpp>
91#include <boost/program_options.hpp>
92#include <drizzled/module/option_map.h>
93#include <iostream>
94
95namespace po= boost::program_options;
96using namespace std;
9197
92/** @file ha_innodb.cc */98/** @file ha_innodb.cc */
9399
@@ -213,10 +219,8 @@
213values */219values */
214220
215static ulong innobase_fast_shutdown = 1;221static ulong innobase_fast_shutdown = 1;
216#ifdef UNIV_LOG_ARCHIVE
217static my_bool innobase_log_archive = FALSE;222static my_bool innobase_log_archive = FALSE;
218static char* innobase_log_arch_dir = NULL;223static char* innobase_log_arch_dir = NULL;
219#endif /* UNIV_LOG_ARCHIVE */
220static my_bool innobase_use_doublewrite = TRUE;224static my_bool innobase_use_doublewrite = TRUE;
221static my_bool innobase_use_checksums = TRUE;225static my_bool innobase_use_checksums = TRUE;
222static my_bool innobase_rollback_on_timeout = FALSE;226static my_bool innobase_rollback_on_timeout = FALSE;
@@ -1830,6 +1834,348 @@
1830 char *default_path;1834 char *default_path;
1831 uint format_id;1835 uint format_id;
1832 InnobaseEngine *actuall_engine_ptr;1836 InnobaseEngine *actuall_engine_ptr;
1837 const module::option_map &vm= context.getOptions();
1838
1839 if (vm.count("io-capacity"))
1840 {
1841 if (srv_io_capacity < 100 || srv_io_capacity > (unsigned long)~0L)
1842 {
1843 errmsg_printf(ERRMSG_LVL_ERROR, _("Invalid value for io-capacity\n"));
1844 exit(-1);
1845 }
1846 }
1847
1848 if (vm.count("data-home-dir"))
1849 {
1850 innobase_data_home_dir= strdup(vm["data-home-dir"].as<string>().c_str());
1851 }
1852
1853 else
1854 {
1855 innobase_data_home_dir= NULL;
1856 }
1857
1858 if (vm.count("fast-shutdown"))
1859 {
1860 if (innobase_fast_shutdown > 2)
1861 {
1862 errmsg_printf(ERRMSG_LVL_ERROR, _("Invalid value for fast-shutdown\n"));
1863 exit(-1);
1864 }
1865 }
1866
1867 if (vm.count("file-format"))
1868 {
1869 innobase_file_format_name= strdup(vm["file-format"].as<string>().c_str());
1870 }
1871
1872 else
1873 {
1874 innobase_file_format_name= strdup("Antelope");
1875 }
1876
1877 if (vm.count("file-format-check"))
1878 {
1879 innobase_file_format_check= strdup(vm["file-format-check"].as<string>().c_str());
1880 }
1881
1882 else
1883 {
1884 innobase_file_format_check= strdup("on");
1885 }
1886
1887 if (vm.count("flush-log-at-trx-commit"))
1888 {
1889 if (srv_flush_log_at_trx_commit > 2)
1890 {
1891 errmsg_printf(ERRMSG_LVL_ERROR, _("Invalid value for flush-log-at-trx-commit\n"));
1892 exit(-1);
1893 }
1894 }
1895
1896 if (vm.count("flush-method"))
1897 {
1898 innobase_unix_file_flush_method= strdup(vm["flush-method"].as<string>().c_str());
1899 }
1900
1901 else
1902 {
1903 innobase_unix_file_flush_method= NULL;
1904 }
1905
1906 if (vm.count("log-arch-dir"))
1907 {
1908 innobase_log_arch_dir= strdup(vm["log-arch-dir"].as<string>().c_str());
1909 }
1910
1911 else
1912 {
1913 innobase_log_arch_dir= NULL;
1914 }
1915
1916 if (vm.count("max-dirty-pages-pct"))
1917 {
1918 if (srv_max_buf_pool_modified_pct > 99)
1919 {
1920 errmsg_printf(ERRMSG_LVL_ERROR, _("Invalid value for max-dirty-pages-pct\n"));
1921 exit(-1);
1922 }
1923 }
1924
1925 if (vm.count("max-purge-lag"))
1926 {
1927 if (srv_max_purge_lag > (unsigned long)~0L)
1928 {
1929 errmsg_printf(ERRMSG_LVL_ERROR, _("Invalid value for max-purge-lag\n"));
1930 exit(-1);
1931 }
1932 }
1933
1934 if (vm.count("log-group-home-dir"))
1935 {
1936 innobase_log_group_home_dir= strdup(vm["log-group-home-dir"].as<string>().c_str());
1937 }
1938
1939 else
1940 {
1941 innobase_log_group_home_dir= NULL;
1942 }
1943
1944 if (vm.count("stats-sample-pages"))
1945 {
1946 if (srv_stats_sample_pages < 8 || srv_stats_sample_pages > (unsigned long long)~0ULL)
1947 {
1948 errmsg_printf(ERRMSG_LVL_ERROR, _("Invalid value for stats-sample-pages\n"));
1949 exit(-1);
1950 }
1951 }
1952
1953 if (vm.count("replication-delay"))
1954 {
1955 if (srv_replication_delay > (unsigned long)~0UL)
1956 {
1957 errmsg_printf(ERRMSG_LVL_ERROR, _("Invalid value for replication-delay\n"));
1958 exit(-1);
1959 }
1960 }
1961
1962 if (vm.count("additional-mem-pool-size"))
1963 {
1964 if (innobase_additional_mem_pool_size < 512*1024L || innobase_additional_mem_pool_size > LONG_MAX)
1965 {
1966 errmsg_printf(ERRMSG_LVL_ERROR, _("Invalid value for additional-mem-pool-size\n"));
1967 exit(-1);
1968 }
1969
1970 innobase_additional_mem_pool_size/= 1024;
1971 innobase_additional_mem_pool_size*= 1024;
1972 }
1973
1974 if (vm.count("commit-concurrency"))
1975 {
1976 if (srv_replication_delay > 1000)
1977 {
1978 errmsg_printf(ERRMSG_LVL_ERROR, _("Invalid value for commit-concurrency\n"));
1979 exit(-1);
1980 }
1981 }
1982
1983 if (vm.count("concurrency-tickets"))
1984 {
1985 if (srv_n_free_tickets_to_enter < 1L || srv_n_free_tickets_to_enter > (unsigned long)~0L)
1986 {
1987 errmsg_printf(ERRMSG_LVL_ERROR, _("Invalid value for concurrency-tickets\n"));
1988 exit(-1);
1989 }
1990 }
1991
1992 if (vm.count("file-io-threads"))
1993 {
1994 if (innobase_file_io_threads < 4 || innobase_file_io_threads > 64)
1995 {
1996 errmsg_printf(ERRMSG_LVL_ERROR, _("Invalid value for file-io-threads\n"));
1997 exit(-1);
1998 }
1999 }
2000
2001 if (vm.count("read-io-threads"))
2002 {
2003 if (innobase_read_io_threads < 1 || innobase_read_io_threads > 64)
2004 {
2005 errmsg_printf(ERRMSG_LVL_ERROR, _("Invalid value for read-io-threads\n"));
2006 exit(-1);
2007 }
2008 }
2009
2010 if (vm.count("write-io-threads"))
2011 {
2012 if (innobase_write_io_threads < 1 || innobase_write_io_threads > 64)
2013 {
2014 errmsg_printf(ERRMSG_LVL_ERROR, _("Invalid value for write-io-threads\n"));
2015 exit(-1);
2016 }
2017 }
2018
2019 if (vm.count("force-recovery"))
2020 {
2021 if (innobase_force_recovery > 6)
2022 {
2023 errmsg_printf(ERRMSG_LVL_ERROR, _("Invalid value for force-recovery\n"));
2024 exit(-1);
2025 }
2026 }
2027
2028 if (vm.count("log-buffer-size"))
2029 {
2030 if (innobase_log_buffer_size < 256*1024L || innobase_log_buffer_size > LONG_MAX)
2031 {
2032 errmsg_printf(ERRMSG_LVL_ERROR, _("Invalid value for log-file-size\n"));
2033 exit(-1);
2034 }
2035
2036 innobase_log_buffer_size/= 1024;
2037 innobase_log_buffer_size*= 1024;
2038 }
2039
2040 if (vm.count("log-file-size"))
2041 {
2042 if (innobase_log_file_size < 1*1024*1024L || innobase_log_file_size > INT64_MAX)
2043 {
2044 errmsg_printf(ERRMSG_LVL_ERROR, _("Invalid value for log-file-size\n"));
2045 exit(-1);
2046 }
2047
2048 innobase_log_file_size/= 1024*1024L;
2049 innobase_log_file_size*= 1024*1024L;
2050 }
2051
2052 if (vm.count("log-files-in-group"))
2053 {
2054 if (innobase_log_files_in_group < 2 || innobase_log_files_in_group > 100)
2055 {
2056 errmsg_printf(ERRMSG_LVL_ERROR, _("Invalid value for log-files-in-group\n"));
2057 exit(-1);
2058 }
2059 }
2060
2061 if (vm.count("mirrored-log-groups"))
2062 {
2063 if (innobase_mirrored_log_groups < 1 || innobase_mirrored_log_groups > 10)
2064 {
2065 errmsg_printf(ERRMSG_LVL_ERROR, _("Invalid value for mirrored-log-groups\n"));
2066 exit(-1);
2067 }
2068 }
2069
2070 if (vm.count("open-files"))
2071 {
2072 if (innobase_open_files < 10L || innobase_open_files > LONG_MAX)
2073 {
2074 errmsg_printf(ERRMSG_LVL_ERROR, _("Invalid value for open-files\n"));
2075 exit(-1);
2076 }
2077 }
2078
2079 if (vm.count("sync-spin-loops"))
2080 {
2081 if (srv_n_spin_wait_rounds > (unsigned long)~0L)
2082 {
2083 errmsg_printf(ERRMSG_LVL_ERROR, _("Invalid value for sync-spin-loops\n"));
2084 exit(-1);
2085 }
2086 }
2087
2088 if (vm.count("spin-wait-delay"))
2089 {
2090 if (srv_spin_wait_delay > (unsigned long)~0L)
2091 {
2092 errmsg_printf(ERRMSG_LVL_ERROR, _("Invalid value for spin-wait-delay\n"));
2093 exit(-1);
2094 }
2095 }
2096
2097 if (vm.count("thread-concurrency"))
2098 {
2099 if (srv_thread_concurrency > 1000)
2100 {
2101 errmsg_printf(ERRMSG_LVL_ERROR, _("Invalid value for thread-concurrency\n"));
2102 exit(-1);
2103 }
2104 }
2105
2106 if (vm.count("thread-sleep-delay"))
2107 {
2108 if (srv_thread_sleep_delay > (unsigned long)~0L)
2109 {
2110 errmsg_printf(ERRMSG_LVL_ERROR, _("Invalid value for thread-sleep-delay\n"));
2111 exit(-1);
2112 }
2113 }
2114
2115 if (vm.count("data-file-path"))
2116 {
2117 innobase_data_file_path= strdup(vm["data-file-path"].as<string>().c_str());
2118 }
2119
2120 else
2121 {
2122 innobase_data_file_path= NULL;
2123 }
2124
2125 if (vm.count("version"))
2126 {
2127 innodb_version_str= strdup(vm["version"].as<string>().c_str());
2128 }
2129
2130 else
2131 {
2132 innodb_version_str= strdup(INNODB_VERSION_STR);
2133 }
2134
2135 if (vm.count("change-buffering"))
2136 {
2137 innobase_change_buffering= strdup(vm["change-buffering"].as<string>().c_str());
2138 }
2139
2140 else
2141 {
2142 innobase_change_buffering= NULL;
2143 }
2144
2145 if (vm.count("read-ahead-threshold"))
2146 {
2147 if (srv_read_ahead_threshold > 64)
2148 {
2149 errmsg_printf(ERRMSG_LVL_ERROR, _("Invalid value for read-ahead-threshold\n"));
2150 exit(-1);
2151 }
2152 }
2153
2154 if (vm.count("support-xa"))
2155 {
2156 (SessionVAR(NULL,support_xa))= vm["support-xa"].as<bool>();
2157 }
2158
2159 if (vm.count("table-locks"))
2160 {
2161 (SessionVAR(NULL,table_locks))= vm["table-locks"].as<bool>();
2162 }
2163
2164 if (vm.count("strict-mode"))
2165 {
2166 (SessionVAR(NULL,strict_mode))= vm["strict-mode"].as<bool>();
2167 }
2168
2169 if (vm.count("lock-wait-timeout"))
2170 {
2171 if (vm["lock-wait-timeout"].as<unsigned long>() < 1 || vm["lock-wait-timeout"].as<unsigned long>() > 1024*1024*1024)
2172 {
2173 errmsg_printf(ERRMSG_LVL_ERROR, _("Invalid value for lock-wait-timeout\n"));
2174 exit(-1);
2175 }
2176
2177 (SessionVAR(NULL,lock_wait_timeout))= vm["lock-wait-timeout"].as<unsigned long>();
2178 }
18332179
1834 innodb_engine_ptr= actuall_engine_ptr= new InnobaseEngine(innobase_engine_name);2180 innodb_engine_ptr= actuall_engine_ptr= new InnobaseEngine(innobase_engine_name);
18352181
@@ -8582,6 +8928,154 @@
8582 "trigger a readahead.",8928 "trigger a readahead.",
8583 NULL, NULL, 56, 0, 64, 0);8929 NULL, NULL, 56, 0, 64, 0);
85848930
8931static void init_options(drizzled::module::option_context &context)
8932{
8933 context("checksums",
8934 po::value<bool>(&innobase_use_checksums)->default_value(true)->zero_tokens(),
8935 "Enable InnoDB checksums validation (enabled by default). Disable with --skip-innodb-checksums.");
8936 context("data-home-dir",
8937 po::value<string>(),
8938 "The common part for InnoDB table spaces.");
8939 context("doublewrite",
8940 po::value<bool>(&innobase_use_doublewrite)->default_value(true)->zero_tokens(),
8941 "Enable InnoDB doublewrite buffer (enabled by default). Disable with --skip-innodb-doublewrite.");
8942 context("io-capacity",
8943 po::value<unsigned long>(&srv_io_capacity)->default_value(200),
8944 "Number of IOPs the server can do. Tunes the background IO rate");
8945 context("fast-shutdown",
8946 po::value<unsigned long>(&innobase_fast_shutdown)->default_value(1),
8947 "Speeds up the shutdown process of the InnoDB storage engine. Possible values are(faster) or 2 (fastest - crash-like).");
8948 context("file-per-table",
8949 po::value<bool>(&srv_file_per_table)->default_value(false)->zero_tokens(),
8950 "Stores each InnoDB table to an .ibd file in the database dir.");
8951 context("file-format",
8952 po::value<string>(),
8953 "File format to use for new tables in .ibd files.");
8954 context("file-format-check",
8955 po::value<string>(),
8956 "The highest file format in the tablespace.");
8957 context("flush-log-at-trx-commit",
8958 po::value<unsigned long>(&srv_flush_log_at_trx_commit)->default_value(1),
8959 "Set to 0 (write and flush once per second), 1 (write and flush at each commit) or 2 (write at commit, flush once per second).");
8960 context("flush-method",
8961 po::value<string>(),
8962 "With which method to flush data.");
8963 context("log-arch-dir",
8964 po::value<string>(),
8965 "Where full logs should be archived.");
8966 context("log-archive",
8967 po::value<bool>(&innobase_log_archive)->default_value(false)->zero_tokens(),
8968 "Set to 1 if you want to have logs archived.");
8969 context("log-group-home-dir",
8970 po::value<string>(),
8971 "Path to InnoDB log files.");
8972 context("max-dirty-pages-pct",
8973 po::value<unsigned long>(&srv_max_buf_pool_modified_pct)->default_value(75),
8974 "Percentage of dirty pages allowed in bufferpool.");
8975 context("adaptive-flushing",
8976 po::value<bool>(&srv_adaptive_flushing)->default_value(true)->zero_tokens(),
8977 "Attempt flushing dirty pages to avoid IO bursts at checkpoints.");
8978 context("max-purge-lag",
8979 po::value<unsigned long>(&srv_max_purge_lag)->default_value(0),
8980 "Desired maximum length of the purge queue (0 = no limit)");
8981 context("status-file",
8982 po::value<bool>(&innobase_create_status_file)->default_value(false)->zero_tokens(),
8983 "Enable SHOW INNODB STATUS output in the innodb_status.<pid> file");
8984 context("stats-on-metadata",
8985 po::value<bool>(&innobase_stats_on_metadata)->default_value(true)->zero_tokens(),
8986 "Enable statistics gathering for metadata commands such as SHOW TABLE STATUS (on by default)");
8987 context("stats-sample-pages",
8988 po::value<uint64_t>(&srv_stats_sample_pages)->default_value(8),
8989 "The number of index pages to sample when calculating statistics (default 8)");
8990 context("adaptive-hash-index",
8991 po::value<bool>(&btr_search_enabled)->default_value(true)->zero_tokens(),
8992 "Enable InnoDB adaptive hash index (enabled by default)");
8993 context("replication-delay",
8994 po::value<unsigned long>(&srv_replication_delay)->default_value(0),
8995 "Replication thread delay (ms) on the slave server if innodb_thread_concurrency is reached (0 by default)");
8996 context("additional-mem-pool-size",
8997 po::value<long>(&innobase_additional_mem_pool_size)->default_value(8*1024*1024L),
8998 "Size of a memory pool InnoDB uses to store data dictionary information and other internal data structures.");
8999 context("autoextend-increment",
9000 po::value<uint32_t>(&srv_auto_extend_increment)->default_value(8L),
9001 "Data file autoextend increment in megabytes");
9002 context("buffer-pool-size",
9003 po::value<int64_t>(&innobase_buffer_pool_size)->default_value(8*1024*1024L),
9004 "The size of the memory buffer InnoDB uses to cache data and indexes of its tables.");
9005 context("commit-concurrency",
9006 po::value<unsigned long>(&innobase_commit_concurrency)->default_value(0),
9007 "Helps in performance tuning in heavily concurrent environments.");
9008 context("concurrency-tickets",
9009 po::value<unsigned long>(&srv_n_free_tickets_to_enter)->default_value(500L),
9010 "Number of times a thread is allowed to enter InnoDB within the same SQL query after it has once got the ticket");
9011 context("file-io-threads",
9012 po::value<long>(&innobase_file_io_threads)->default_value(4),
9013 "Number of file I/O threads in InnoDB.");
9014 context("read-io-threads",
9015 po::value<unsigned long>(&innobase_read_io_threads)->default_value(4),
9016 "Number of background read I/O threads in InnoDB.");
9017 context("write-io-threads",
9018 po::value<unsigned long>(&innobase_write_io_threads)->default_value(4),
9019 "Number of background write I/O threads in InnoDB.");
9020 context("force-recovery",
9021 po::value<long>(&innobase_force_recovery)->default_value(0),
9022 "Helps to save your data in case the disk image of the database becomes corrupt.");
9023 context("log-buffer-size",
9024 po::value<long>(&innobase_log_buffer_size)->default_value(8*1024*1024L),
9025 "The size of the buffer which InnoDB uses to write log to the log files on disk.");
9026 context("log-file-size",
9027 po::value<int64_t>(&innobase_log_file_size)->default_value(20*1024*1024L),
9028 "The size of the buffer which InnoDB uses to write log to the log files on disk.");
9029 context("log-files-in-group",
9030 po::value<long>(&innobase_log_files_in_group)->default_value(2),
9031 "Number of log files in the log group. InnoDB writes to the files in a circular fashion. Value 3 is recommended here.");
9032 context("mirrored-log-groups",
9033 po::value<long>(&innobase_mirrored_log_groups)->default_value(1),
9034 "Number of identical copies of log groups we keep for the database. Currently this should be set to 1.");
9035 context("open-files",
9036 po::value<long>(&innobase_open_files)->default_value(300L),
9037 "How many files at the maximum InnoDB keeps open at the same time.");
9038 context("sync-spin-loops",
9039 po::value<unsigned long>(&srv_n_spin_wait_rounds)->default_value(30L),
9040 "Count of spin-loop rounds in InnoDB mutexes (30 by default)");
9041 context("spin-wait-delay",
9042 po::value<unsigned long>(&srv_spin_wait_delay)->default_value(6L),
9043 "Maximum delay between polling for a spin lock (6 by default)");
9044 context("thread-concurrency",
9045 po::value<unsigned long>(&srv_thread_concurrency)->default_value(0),
9046 "Helps in performance tuning in heavily concurrent environments. Sets the maximum number of threads allowed inside InnoDB. Value 0 will disable the thread throttling.");
9047 context("thread-sleep-delay",
9048 po::value<unsigned long>(&srv_thread_sleep_delay)->default_value(10000L),
9049 "Time of innodb thread sleeping before joining InnoDB queue (usec). Value 0 disable a sleep");
9050 context("data-file-path",
9051 po::value<string>(),
9052 "Path to individual files and their sizes.");
9053 context("version",
9054 po::value<string>(),
9055 "InnoDB version");
9056 context("use-sys-malloc",
9057 po::value<bool>(&srv_use_sys_malloc)->default_value(true)->zero_tokens(),
9058 "Use OS memory allocator instead of InnoDB's internal memory allocator");
9059 context("change-buffering",
9060 po::value<string>(),
9061 "Buffer changes to reduce random access: OFF, ON, inserting, deleting, changing, or purging.");
9062 context("read-ahead-threshold",
9063 po::value<unsigned long>(&srv_read_ahead_threshold)->default_value(56),
9064 "Number of pages that must be accessed sequentially for InnoDB to trigger a readahead.");
9065 context("support-xa",
9066 po::value<bool>()->default_value(true)->zero_tokens(),
9067 "Enable InnoDB support for the XA two-phase commit");
9068 context("table-locks",
9069 po::value<bool>()->default_value(true)->zero_tokens(),
9070 "Enable InnoDB locking in LOCK TABLES");
9071 context("strict-mode",
9072 po::value<bool>()->default_value(false)->zero_tokens(),
9073 "Use strict mode when evaluating create options.");
9074 context("lock-wait-timeout",
9075 po::value<unsigned long>()->default_value(50),
9076 "Timeout in seconds an InnoDB transaction may wait for a lock before being rolled back. Values above 100000000 disable the timeout.");
9077}
9078
8585static drizzle_sys_var* innobase_system_variables[]= {9079static drizzle_sys_var* innobase_system_variables[]= {
8586 DRIZZLE_SYSVAR(additional_mem_pool_size),9080 DRIZZLE_SYSVAR(additional_mem_pool_size),
8587 DRIZZLE_SYSVAR(autoextend_increment),9081 DRIZZLE_SYSVAR(autoextend_increment),
@@ -8646,7 +9140,7 @@
8646 PLUGIN_LICENSE_GPL,9140 PLUGIN_LICENSE_GPL,
8647 innobase_init, /* Plugin Init */9141 innobase_init, /* Plugin Init */
8648 innobase_system_variables, /* system variables */9142 innobase_system_variables, /* system variables */
8649 NULL /* reserved */9143 init_options /* reserved */
8650}9144}
8651DRIZZLE_DECLARE_PLUGIN_END;9145DRIZZLE_DECLARE_PLUGIN_END;
86529146
86539147
=== modified file 'po/POTFILES.in'
--- po/POTFILES.in 2010-07-27 00:41:57 +0000
+++ po/POTFILES.in 2010-08-10 11:52:47 +0000
@@ -66,6 +66,7 @@
66plugin/filtered_replicator/filtered_replicator.cc66plugin/filtered_replicator/filtered_replicator.cc
67plugin/hello_events/hello_events.cc67plugin/hello_events/hello_events.cc
68plugin/innobase/handler/data_dictionary.cc68plugin/innobase/handler/data_dictionary.cc
69plugin/innobase/handler/ha_innodb.cc
69plugin/innobase/ut/ut0auxconf_pause.c70plugin/innobase/ut/ut0auxconf_pause.c
70plugin/logging_gearman/logging_gearman.cc71plugin/logging_gearman/logging_gearman.cc
71plugin/logging_query/logging_query.cc72plugin/logging_query/logging_query.cc
7273
=== modified file 'tests/t/unsafe_binlog_innodb-master.opt'
--- tests/t/unsafe_binlog_innodb-master.opt 2010-03-15 16:12:10 +0000
+++ tests/t/unsafe_binlog_innodb-master.opt 2010-08-10 11:52:47 +0000
@@ -1,1 +1,1 @@
1--innodb_lock_wait_timeout=11--innodb.lock-wait-timeout=1
22
=== modified file 'tests/test-run.pl'
--- tests/test-run.pl 2010-08-02 14:35:48 +0000
+++ tests/test-run.pl 2010-08-10 11:52:47 +0000
@@ -2592,9 +2592,7 @@
2592 $idx > 0 ? $idx + 101 : 1);2592 $idx > 0 ? $idx + 101 : 1);
25932593
2594 mtr_add_arg($args,2594 mtr_add_arg($args,
2595 "%s--loose-innodb_data_file_path=ibdata1:20M:autoextend", $prefix);2595 "%s--innodb.data-file-path=ibdata1:20M:autoextend", $prefix);
2596
2597 mtr_add_arg($args, "%s--loose-innodb-lock-wait-timeout=5", $prefix);
25982596
2599 }2597 }
2600 else2598 else