Commit b7c57329 authored by ram@gw.mysql.r18.ru's avatar ram@gw.mysql.r18.ru

A fix (bug #5999 Typo in code, wrong config variable naming).

parent 4c605cec
...@@ -39,7 +39,7 @@ drop table t1; ...@@ -39,7 +39,7 @@ drop table t1;
set @@session.auto_increment_increment=100, @@session.auto_increment_offset=10; set @@session.auto_increment_increment=100, @@session.auto_increment_offset=10;
show variables like "%auto%"; show variables like "%auto%";
Variable_name Value Variable_name Value
auto_incrememt_increment 100 auto_increment_increment 100
auto_increment_offset 10 auto_increment_offset 10
create table t1 (a int not null auto_increment, primary key (a)) engine=myisam; create table t1 (a int not null auto_increment, primary key (a)) engine=myisam;
insert into t1 values (NULL),(5),(NULL); insert into t1 values (NULL),(5),(NULL);
......
...@@ -632,7 +632,7 @@ sys_var *sys_variables[]= ...@@ -632,7 +632,7 @@ sys_var *sys_variables[]=
*/ */
struct show_var_st init_vars[]= { struct show_var_st init_vars[]= {
{"auto_incrememt_increment", (char*) &sys_auto_increment_increment, SHOW_SYS}, {"auto_increment_increment", (char*) &sys_auto_increment_increment, SHOW_SYS},
{"auto_increment_offset", (char*) &sys_auto_increment_offset, SHOW_SYS}, {"auto_increment_offset", (char*) &sys_auto_increment_offset, SHOW_SYS},
{"back_log", (char*) &back_log, SHOW_LONG}, {"back_log", (char*) &back_log, SHOW_LONG},
{"basedir", mysql_home, SHOW_CHAR}, {"basedir", mysql_home, SHOW_CHAR},
......
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