mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
A fix (bug #5999 Typo in code, wrong config variable naming).
This commit is contained in:
@ -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[]=
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
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},
|
||||||
|
Reference in New Issue
Block a user