mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
merge with 4.0.18
Build-tools/Bootstrap: Auto merged client/mysql.cc: Auto merged mysql-test/r/auto_increment.result: Auto merged mysql-test/t/auto_increment.test: Auto merged mysql-test/t/type_decimal.test: Auto merged sql/opt_range.cc: Auto merged sql/share/czech/errmsg.txt: Auto merged sql/share/english/errmsg.txt: Auto merged sql/share/estonian/errmsg.txt: Auto merged sql/slave.cc: Auto merged sql/share/french/errmsg.txt: Auto merged sql/share/greek/errmsg.txt: Auto merged sql/share/hungarian/errmsg.txt: Auto merged sql/share/japanese/errmsg.txt: Auto merged sql/share/korean/errmsg.txt: Auto merged sql/share/norwegian-ny/errmsg.txt: Auto merged sql/share/norwegian/errmsg.txt: Auto merged sql/share/polish/errmsg.txt: Auto merged sql/share/romanian/errmsg.txt: Auto merged sql/share/slovak/errmsg.txt: Auto merged
This commit is contained in:
@ -99,6 +99,8 @@ if (defined $opt_build_command)
|
|||||||
print_help("") if ($opt_help);
|
print_help("") if ($opt_help);
|
||||||
defined($REPO=$ARGV[0]) || print_help("Please enter the BK repository to be used!");
|
defined($REPO=$ARGV[0]) || print_help("Please enter the BK repository to be used!");
|
||||||
|
|
||||||
|
$subject= "Bootstrap of $REPO failed" if $opt_mail;
|
||||||
|
|
||||||
&logger("Starting build");
|
&logger("Starting build");
|
||||||
&abort("The directory \"$REPO\" could not be found!") if (!-d $REPO);
|
&abort("The directory \"$REPO\" could not be found!") if (!-d $REPO);
|
||||||
&logger("Using $REPO as the BK parent repository");
|
&logger("Using $REPO as the BK parent repository");
|
||||||
|
@ -67,6 +67,8 @@ else
|
|||||||
die "ERROR: $LOGGER cannot be found!\n";
|
die "ERROR: $LOGGER cannot be found!\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$subject= "RPM build for $SPECFILE failed" if $opt_mail;
|
||||||
|
|
||||||
# Open the spec file and extract the version number
|
# Open the spec file and extract the version number
|
||||||
open(SPEC, $SPECFILE) or &abort("Unable to open \"$ARGV[0]\": $!");
|
open(SPEC, $SPECFILE) or &abort("Unable to open \"$ARGV[0]\": $!");
|
||||||
@spec= <SPEC>;
|
@spec= <SPEC>;
|
||||||
@ -192,7 +194,7 @@ $command.= "$SRCRPMDIR/MySQL*$VERSION*.src.rpm $PWD";
|
|||||||
|
|
||||||
$command= "mv";
|
$command= "mv";
|
||||||
$command.= " -v " if ($opt_verbose);
|
$command.= " -v " if ($opt_verbose);
|
||||||
$command.= "$RPMDIR/$RPMARCH/MySQL*$VERSION*.$RPMARCH.rpm $PWD";
|
$command.= " $RPMDIR/$RPMARCH/MySQL*$VERSION*.$RPMARCH.rpm $PWD";
|
||||||
&logger("Moving binary RPMs to current dir.");
|
&logger("Moving binary RPMs to current dir.");
|
||||||
&run_command($command, "Error moving binary RPMs!");
|
&run_command($command, "Error moving binary RPMs!");
|
||||||
|
|
||||||
|
@ -53,7 +53,6 @@ sub abort
|
|||||||
if ($opt_mail && !$opt_dry_run)
|
if ($opt_mail && !$opt_dry_run)
|
||||||
{
|
{
|
||||||
$messagefile= "/tmp/message.$$";
|
$messagefile= "/tmp/message.$$";
|
||||||
$subject= "Bootstrap of $REPO failed";
|
|
||||||
open(TMP,">$messagefile");
|
open(TMP,">$messagefile");
|
||||||
print TMP "$message\n\n";
|
print TMP "$message\n\n";
|
||||||
close TMP;
|
close TMP;
|
||||||
|
@ -2545,8 +2545,11 @@ static int
|
|||||||
sql_real_connect(char *host,char *database,char *user,char *password,
|
sql_real_connect(char *host,char *database,char *user,char *password,
|
||||||
uint silent)
|
uint silent)
|
||||||
{
|
{
|
||||||
mysql_close(&mysql);
|
if (connected)
|
||||||
connected= 0;
|
{
|
||||||
|
connected= 0;
|
||||||
|
mysql_close(&mysql);
|
||||||
|
}
|
||||||
mysql_init(&mysql);
|
mysql_init(&mysql);
|
||||||
if (opt_connect_timeout)
|
if (opt_connect_timeout)
|
||||||
{
|
{
|
||||||
|
@ -119,7 +119,7 @@ a
|
|||||||
1
|
1
|
||||||
2
|
2
|
||||||
drop table t1;
|
drop table t1;
|
||||||
create table t1 (a int not null auto_increment primary key) /*!41002 type=heap */;
|
create table t1 (a int not null auto_increment primary key) /*!40102 type=heap */;
|
||||||
insert into t1 values (NULL);
|
insert into t1 values (NULL);
|
||||||
insert into t1 values (-1);
|
insert into t1 values (-1);
|
||||||
select last_insert_id();
|
select last_insert_id();
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
drop table if exists t1, t2, t3, t4;
|
drop table if exists t1, t2, t3, t4;
|
||||||
drop table if exists t1, t2, t3, t4;
|
drop table if exists t1, t2, t3, t4;
|
||||||
start slave;
|
start slave;
|
||||||
ERROR HY000: Could not initialize master info structure, check permisions on master.info
|
ERROR HY000: Could not initialize master info structure, more error messages can be found in the MySQL error log
|
||||||
start slave;
|
start slave;
|
||||||
ERROR HY000: Could not initialize master info structure, check permisions on master.info
|
ERROR HY000: Could not initialize master info structure, more error messages can be found in the MySQL error log
|
||||||
change master to master_host='127.0.0.1',master_port=MASTER_PORT, master_user='root';
|
change master to master_host='127.0.0.1',master_port=MASTER_PORT, master_user='root';
|
||||||
ERROR HY000: Could not initialize master info structure, check permisions on master.info
|
ERROR HY000: Could not initialize master info structure, more error messages can be found in the MySQL error log
|
||||||
reset slave;
|
reset slave;
|
||||||
change master to master_host='127.0.0.1',master_port=MASTER_PORT, master_user='root';
|
change master to master_host='127.0.0.1',master_port=MASTER_PORT, master_user='root';
|
||||||
reset master;
|
reset master;
|
||||||
|
@ -444,11 +444,198 @@ CREATE TABLE t1 (a_dec DECIMAL(-2,1));
|
|||||||
ERROR 42000: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '-2,1))' at line 1
|
ERROR 42000: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '-2,1))' at line 1
|
||||||
CREATE TABLE t1 (a_dec DECIMAL(-1,1));
|
CREATE TABLE t1 (a_dec DECIMAL(-1,1));
|
||||||
ERROR 42000: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '-1,1))' at line 1
|
ERROR 42000: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '-1,1))' at line 1
|
||||||
create table t1(a decimal(10,4));
|
create table t1(a decimal(7,3));
|
||||||
insert into t1 values ("+0000100000000");
|
insert into t1 values ('1'),('+1'),('-1'),('0000000001'),('+0000000001'),('-0000000001'),('10'),('+10'),('-10'),('0000000010'),('+0000000010'),('-0000000010'),('100'),('+100'),('-100'),('0000000100'),('+0000000100'),('-0000000100'),('1000'),('+1000'),('-1000'),('0000001000'),('+0000001000'),('-0000001000'),('10000'),('+10000'),('-10000'),('0000010000'),('+0000010000'),('-0000010000'),('100000'),('+100000'),('-100000'),('0000100000'),('+0000100000'),('-0000100000'),('1000000'),('+1000000'),('-1000000'),('0001000000'),('+0001000000'),('-0001000000'),('10000000'),('+10000000'),('-10000000'),('0010000000'),('+0010000000'),('-0010000000'),('100000000'),('+100000000'),('-100000000'),('0100000000'),('+0100000000'),('-0100000000'),('1000000000'),('+1000000000'),('-1000000000'),('1000000000'),('+1000000000'),('-1000000000');
|
||||||
Warnings:
|
|
||||||
Warning 1263 Data truncated, out of range for column 'a' at row 1
|
|
||||||
select * from t1;
|
select * from t1;
|
||||||
a
|
a
|
||||||
9999999.9999
|
1.000
|
||||||
|
+1.000
|
||||||
|
-1.000
|
||||||
|
00001.000
|
||||||
|
+0001.000
|
||||||
|
-0001.000
|
||||||
|
10.000
|
||||||
|
+10.000
|
||||||
|
-10.000
|
||||||
|
00010.000
|
||||||
|
+0010.000
|
||||||
|
-0010.000
|
||||||
|
100.000
|
||||||
|
+100.000
|
||||||
|
-100.000
|
||||||
|
00100.000
|
||||||
|
+0100.000
|
||||||
|
-0100.000
|
||||||
|
1000.000
|
||||||
|
+1000.000
|
||||||
|
-1000.000
|
||||||
|
01000.000
|
||||||
|
+1000.000
|
||||||
|
-1000.000
|
||||||
|
10000.000
|
||||||
|
10000.000
|
||||||
|
-9999.999
|
||||||
|
10000.000
|
||||||
|
10000.000
|
||||||
|
-9999.999
|
||||||
|
99999.999
|
||||||
|
99999.999
|
||||||
|
-9999.999
|
||||||
|
99999.999
|
||||||
|
99999.999
|
||||||
|
-9999.999
|
||||||
|
99999.999
|
||||||
|
99999.999
|
||||||
|
-9999.999
|
||||||
|
99999.999
|
||||||
|
99999.999
|
||||||
|
-9999.999
|
||||||
|
99999.999
|
||||||
|
99999.999
|
||||||
|
-9999.999
|
||||||
|
99999.999
|
||||||
|
99999.999
|
||||||
|
-9999.999
|
||||||
|
99999.999
|
||||||
|
99999.999
|
||||||
|
-9999.999
|
||||||
|
99999.999
|
||||||
|
99999.999
|
||||||
|
-9999.999
|
||||||
|
99999.999
|
||||||
|
99999.999
|
||||||
|
-9999.999
|
||||||
|
99999.999
|
||||||
|
99999.999
|
||||||
|
-9999.999
|
||||||
|
drop table t1;
|
||||||
|
create table t1(a decimal(7,3) unsigned);
|
||||||
|
insert into t1 values ('1'),('+1'),('-1'),('0000000001'),('+0000000001'),('-0000000001'),('10'),('+10'),('-10'),('0000000010'),('+0000000010'),('-0000000010'),('100'),('+100'),('-100'),('0000000100'),('+0000000100'),('-0000000100'),('1000'),('+1000'),('-1000'),('0000001000'),('+0000001000'),('-0000001000'),('10000'),('+10000'),('-10000'),('0000010000'),('+0000010000'),('-0000010000'),('100000'),('+100000'),('-100000'),('0000100000'),('+0000100000'),('-0000100000'),('1000000'),('+1000000'),('-1000000'),('0001000000'),('+0001000000'),('-0001000000'),('10000000'),('+10000000'),('-10000000'),('0010000000'),('+0010000000'),('-0010000000'),('100000000'),('+100000000'),('-100000000'),('0100000000'),('+0100000000'),('-0100000000'),('1000000000'),('+1000000000'),('-1000000000'),('1000000000'),('+1000000000'),('-1000000000');
|
||||||
|
select * from t1;
|
||||||
|
a
|
||||||
|
1.000
|
||||||
|
+1.000
|
||||||
|
0.000
|
||||||
|
0001.000
|
||||||
|
+001.000
|
||||||
|
0.000
|
||||||
|
10.000
|
||||||
|
+10.000
|
||||||
|
0.000
|
||||||
|
0010.000
|
||||||
|
+010.000
|
||||||
|
0.000
|
||||||
|
100.000
|
||||||
|
+100.000
|
||||||
|
0.000
|
||||||
|
0100.000
|
||||||
|
+100.000
|
||||||
|
0.000
|
||||||
|
1000.000
|
||||||
|
1000.000
|
||||||
|
0.000
|
||||||
|
1000.000
|
||||||
|
1000.000
|
||||||
|
0.000
|
||||||
|
9999.999
|
||||||
|
9999.999
|
||||||
|
0.000
|
||||||
|
9999.999
|
||||||
|
9999.999
|
||||||
|
0.000
|
||||||
|
9999.999
|
||||||
|
9999.999
|
||||||
|
0.000
|
||||||
|
9999.999
|
||||||
|
9999.999
|
||||||
|
0.000
|
||||||
|
9999.999
|
||||||
|
9999.999
|
||||||
|
0.000
|
||||||
|
9999.999
|
||||||
|
9999.999
|
||||||
|
0.000
|
||||||
|
9999.999
|
||||||
|
9999.999
|
||||||
|
0.000
|
||||||
|
9999.999
|
||||||
|
9999.999
|
||||||
|
0.000
|
||||||
|
9999.999
|
||||||
|
9999.999
|
||||||
|
0.000
|
||||||
|
9999.999
|
||||||
|
9999.999
|
||||||
|
0.000
|
||||||
|
9999.999
|
||||||
|
9999.999
|
||||||
|
0.000
|
||||||
|
9999.999
|
||||||
|
9999.999
|
||||||
|
0.000
|
||||||
|
drop table t1;
|
||||||
|
create table t1(a decimal(7,3) zerofill);
|
||||||
|
insert into t1 values ('1'),('+1'),('-1'),('0000000001'),('+0000000001'),('-0000000001'),('10'),('+10'),('-10'),('0000000010'),('+0000000010'),('-0000000010'),('100'),('+100'),('-100'),('0000000100'),('+0000000100'),('-0000000100'),('1000'),('+1000'),('-1000'),('0000001000'),('+0000001000'),('-0000001000'),('10000'),('+10000'),('-10000'),('0000010000'),('+0000010000'),('-0000010000'),('100000'),('+100000'),('-100000'),('0000100000'),('+0000100000'),('-0000100000'),('1000000'),('+1000000'),('-1000000'),('0001000000'),('+0001000000'),('-0001000000'),('10000000'),('+10000000'),('-10000000'),('0010000000'),('+0010000000'),('-0010000000'),('100000000'),('+100000000'),('-100000000'),('0100000000'),('+0100000000'),('-0100000000'),('1000000000'),('+1000000000'),('-1000000000'),('1000000000'),('+1000000000'),('-1000000000');
|
||||||
|
select * from t1;
|
||||||
|
a
|
||||||
|
0001.000
|
||||||
|
0001.000
|
||||||
|
0000.000
|
||||||
|
0001.000
|
||||||
|
0001.000
|
||||||
|
0000.000
|
||||||
|
0010.000
|
||||||
|
0010.000
|
||||||
|
0000.000
|
||||||
|
0010.000
|
||||||
|
0010.000
|
||||||
|
0000.000
|
||||||
|
0100.000
|
||||||
|
0100.000
|
||||||
|
0000.000
|
||||||
|
0100.000
|
||||||
|
0100.000
|
||||||
|
0000.000
|
||||||
|
1000.000
|
||||||
|
1000.000
|
||||||
|
0000.000
|
||||||
|
1000.000
|
||||||
|
1000.000
|
||||||
|
0000.000
|
||||||
|
9999.999
|
||||||
|
9999.999
|
||||||
|
0000.000
|
||||||
|
9999.999
|
||||||
|
9999.999
|
||||||
|
0000.000
|
||||||
|
9999.999
|
||||||
|
9999.999
|
||||||
|
0000.000
|
||||||
|
9999.999
|
||||||
|
9999.999
|
||||||
|
0000.000
|
||||||
|
9999.999
|
||||||
|
9999.999
|
||||||
|
0000.000
|
||||||
|
9999.999
|
||||||
|
9999.999
|
||||||
|
0000.000
|
||||||
|
9999.999
|
||||||
|
9999.999
|
||||||
|
0000.000
|
||||||
|
9999.999
|
||||||
|
9999.999
|
||||||
|
0000.000
|
||||||
|
9999.999
|
||||||
|
9999.999
|
||||||
|
0000.000
|
||||||
|
9999.999
|
||||||
|
9999.999
|
||||||
|
0000.000
|
||||||
|
9999.999
|
||||||
|
9999.999
|
||||||
|
0000.000
|
||||||
|
9999.999
|
||||||
|
9999.999
|
||||||
|
0000.000
|
||||||
drop table t1;
|
drop table t1;
|
||||||
|
@ -85,7 +85,7 @@ insert into t1 values (NULL);
|
|||||||
select * from t1;
|
select * from t1;
|
||||||
drop table t1;
|
drop table t1;
|
||||||
|
|
||||||
create table t1 (a int not null auto_increment primary key) /*!41002 type=heap */;
|
create table t1 (a int not null auto_increment primary key) /*!40102 type=heap */;
|
||||||
insert into t1 values (NULL);
|
insert into t1 values (NULL);
|
||||||
insert into t1 values (-1);
|
insert into t1 values (-1);
|
||||||
select last_insert_id();
|
select last_insert_id();
|
||||||
|
@ -245,8 +245,19 @@ CREATE TABLE t1 (a_dec DECIMAL(-2,1));
|
|||||||
--error 1064
|
--error 1064
|
||||||
CREATE TABLE t1 (a_dec DECIMAL(-1,1));
|
CREATE TABLE t1 (a_dec DECIMAL(-1,1));
|
||||||
|
|
||||||
|
#
|
||||||
# Zero prepend overflow bug
|
# Zero prepend overflow bug
|
||||||
create table t1(a decimal(10,4));
|
#
|
||||||
insert into t1 values ("+0000100000000");
|
|
||||||
|
create table t1(a decimal(7,3));
|
||||||
|
insert into t1 values ('1'),('+1'),('-1'),('0000000001'),('+0000000001'),('-0000000001'),('10'),('+10'),('-10'),('0000000010'),('+0000000010'),('-0000000010'),('100'),('+100'),('-100'),('0000000100'),('+0000000100'),('-0000000100'),('1000'),('+1000'),('-1000'),('0000001000'),('+0000001000'),('-0000001000'),('10000'),('+10000'),('-10000'),('0000010000'),('+0000010000'),('-0000010000'),('100000'),('+100000'),('-100000'),('0000100000'),('+0000100000'),('-0000100000'),('1000000'),('+1000000'),('-1000000'),('0001000000'),('+0001000000'),('-0001000000'),('10000000'),('+10000000'),('-10000000'),('0010000000'),('+0010000000'),('-0010000000'),('100000000'),('+100000000'),('-100000000'),('0100000000'),('+0100000000'),('-0100000000'),('1000000000'),('+1000000000'),('-1000000000'),('1000000000'),('+1000000000'),('-1000000000');
|
||||||
|
select * from t1;
|
||||||
|
drop table t1;
|
||||||
|
create table t1(a decimal(7,3) unsigned);
|
||||||
|
insert into t1 values ('1'),('+1'),('-1'),('0000000001'),('+0000000001'),('-0000000001'),('10'),('+10'),('-10'),('0000000010'),('+0000000010'),('-0000000010'),('100'),('+100'),('-100'),('0000000100'),('+0000000100'),('-0000000100'),('1000'),('+1000'),('-1000'),('0000001000'),('+0000001000'),('-0000001000'),('10000'),('+10000'),('-10000'),('0000010000'),('+0000010000'),('-0000010000'),('100000'),('+100000'),('-100000'),('0000100000'),('+0000100000'),('-0000100000'),('1000000'),('+1000000'),('-1000000'),('0001000000'),('+0001000000'),('-0001000000'),('10000000'),('+10000000'),('-10000000'),('0010000000'),('+0010000000'),('-0010000000'),('100000000'),('+100000000'),('-100000000'),('0100000000'),('+0100000000'),('-0100000000'),('1000000000'),('+1000000000'),('-1000000000'),('1000000000'),('+1000000000'),('-1000000000');
|
||||||
|
select * from t1;
|
||||||
|
drop table t1;
|
||||||
|
create table t1(a decimal(7,3) zerofill);
|
||||||
|
insert into t1 values ('1'),('+1'),('-1'),('0000000001'),('+0000000001'),('-0000000001'),('10'),('+10'),('-10'),('0000000010'),('+0000000010'),('-0000000010'),('100'),('+100'),('-100'),('0000000100'),('+0000000100'),('-0000000100'),('1000'),('+1000'),('-1000'),('0000001000'),('+0000001000'),('-0000001000'),('10000'),('+10000'),('-10000'),('0000010000'),('+0000010000'),('-0000010000'),('100000'),('+100000'),('-100000'),('0000100000'),('+0000100000'),('-0000100000'),('1000000'),('+1000000'),('-1000000'),('0001000000'),('+0001000000'),('-0001000000'),('10000000'),('+10000000'),('-10000000'),('0010000000'),('+0010000000'),('-0010000000'),('100000000'),('+100000000'),('-100000000'),('0100000000'),('+0100000000'),('-0100000000'),('1000000000'),('+1000000000'),('-1000000000'),('1000000000'),('+1000000000'),('-1000000000');
|
||||||
select * from t1;
|
select * from t1;
|
||||||
drop table t1;
|
drop table t1;
|
||||||
|
@ -5783,7 +5783,8 @@ static void fix_paths(void)
|
|||||||
if (!lower_case_table_names &&
|
if (!lower_case_table_names &&
|
||||||
test_if_case_insensitive(mysql_real_data_home) == 1)
|
test_if_case_insensitive(mysql_real_data_home) == 1)
|
||||||
{
|
{
|
||||||
sql_print_error("Warning: Setting lower_case_table_names=1 because file system for '%s' is case insensitive", mysql_real_data_home);
|
sql_print_error("Warning: Setting lower_case_table_names=1 becasue file system %s is case insensitive", mysql_real_data_home);
|
||||||
|
lower_case_table_names= 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -5984,9 +5985,10 @@ static void create_pid_file()
|
|||||||
if ((file = my_create(pidfile_name,0664,
|
if ((file = my_create(pidfile_name,0664,
|
||||||
O_WRONLY | O_TRUNC, MYF(MY_WME))) >= 0)
|
O_WRONLY | O_TRUNC, MYF(MY_WME))) >= 0)
|
||||||
{
|
{
|
||||||
char buff[21];
|
char buff[21], *end;
|
||||||
sprintf(buff,"%lu\n",(ulong) getpid());
|
end= int2str((long) getpid(), buff, 10);
|
||||||
(void) my_write(file, buff,strlen(buff),MYF(MY_WME));
|
*end++= '\n';
|
||||||
|
(void) my_write(file, (byte*) buff, (uint) (end-buff),MYF(MY_WME));
|
||||||
(void) my_close(file, MYF(0));
|
(void) my_close(file, MYF(0));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1090,7 +1090,6 @@ get_mm_leaf(PARAM *param, Field *field, KEY_PART *key_part,
|
|||||||
all rows between 'X' and 'X ...'
|
all rows between 'X' and 'X ...'
|
||||||
*/
|
*/
|
||||||
uint length= uint2korr(str+maybe_null);
|
uint length= uint2korr(str+maybe_null);
|
||||||
char *end;
|
|
||||||
str2= str+ key_part->part_length + maybe_null;
|
str2= str+ key_part->part_length + maybe_null;
|
||||||
/* remove end space */
|
/* remove end space */
|
||||||
while (length > 0 && str[length+HA_KEY_BLOB_LENGTH+maybe_null-1] == ' ')
|
while (length > 0 && str[length+HA_KEY_BLOB_LENGTH+maybe_null-1] == ' ')
|
||||||
|
@ -213,7 +213,7 @@ character-set=latin2
|
|||||||
"This operation cannot be performed with a running slave, run STOP SLAVE first",
|
"This operation cannot be performed with a running slave, run STOP SLAVE first",
|
||||||
"This operation requires a running slave, configure slave and do START SLAVE",
|
"This operation requires a running slave, configure slave and do START SLAVE",
|
||||||
"The server is not configured as slave, fix in config file or with CHANGE MASTER TO",
|
"The server is not configured as slave, fix in config file or with CHANGE MASTER TO",
|
||||||
"Could not initialize master info structure, check permisions on master.info",
|
"Could not initialize master info structure, more error messages can be found in the MySQL error log",
|
||||||
"Could not create slave thread, check system resources",
|
"Could not create slave thread, check system resources",
|
||||||
"User %-.64s has already more than 'max_user_connections' active connections",
|
"User %-.64s has already more than 'max_user_connections' active connections",
|
||||||
"You may only use constant expressions with SET",
|
"You may only use constant expressions with SET",
|
||||||
|
@ -204,7 +204,7 @@ character-set=latin1
|
|||||||
"This operation cannot be performed with a running slave, run STOP SLAVE first",
|
"This operation cannot be performed with a running slave, run STOP SLAVE first",
|
||||||
"This operation requires a running slave, configure slave and do START SLAVE",
|
"This operation requires a running slave, configure slave and do START SLAVE",
|
||||||
"The server is not configured as slave, fix in config file or with CHANGE MASTER TO",
|
"The server is not configured as slave, fix in config file or with CHANGE MASTER TO",
|
||||||
"Could not initialize master info structure, check permisions on master.info",
|
"Could not initialize master info structure, more error messages can be found in the MySQL error log",
|
||||||
"Could not create slave thread, check system resources",
|
"Could not create slave thread, check system resources",
|
||||||
"User %-.64s has already more than 'max_user_connections' active connections",
|
"User %-.64s has already more than 'max_user_connections' active connections",
|
||||||
"You may only use constant expressions with SET",
|
"You may only use constant expressions with SET",
|
||||||
|
@ -209,7 +209,7 @@ character-set=latin7
|
|||||||
"This operation cannot be performed with a running slave, run STOP SLAVE first",
|
"This operation cannot be performed with a running slave, run STOP SLAVE first",
|
||||||
"This operation requires a running slave, configure slave and do START SLAVE",
|
"This operation requires a running slave, configure slave and do START SLAVE",
|
||||||
"The server is not configured as slave, fix in config file or with CHANGE MASTER TO",
|
"The server is not configured as slave, fix in config file or with CHANGE MASTER TO",
|
||||||
"Could not initialize master info structure, check permisions on master.info",
|
"Could not initialize master info structure, more error messages can be found in the MySQL error log",
|
||||||
"Could not create slave thread, check system resources",
|
"Could not create slave thread, check system resources",
|
||||||
"Kasutajal %-.64s on juba rohkem <20>hendusi kui lubatud 'max_user_connections' muutujaga",
|
"Kasutajal %-.64s on juba rohkem <20>hendusi kui lubatud 'max_user_connections' muutujaga",
|
||||||
"Ainult konstantsed suurused on lubatud SET klauslis",
|
"Ainult konstantsed suurused on lubatud SET klauslis",
|
||||||
|
@ -204,7 +204,7 @@ character-set=latin1
|
|||||||
"Cette op<6F>ration ne peut <20>tre r<>alis<69>e avec un esclave actif, faites STOP SLAVE d'abord",
|
"Cette op<6F>ration ne peut <20>tre r<>alis<69>e avec un esclave actif, faites STOP SLAVE d'abord",
|
||||||
"Cette op<6F>ration n<>cessite un esclave actif, configurez les esclaves et faites START SLAVE",
|
"Cette op<6F>ration n<>cessite un esclave actif, configurez les esclaves et faites START SLAVE",
|
||||||
"Le server n'est pas configur<75> comme un esclave, changez le fichier de configuration ou utilisez CHANGE MASTER TO",
|
"Le server n'est pas configur<75> comme un esclave, changez le fichier de configuration ou utilisez CHANGE MASTER TO",
|
||||||
"Impossible d'initialiser les structures d'information de ma<6D>tre, v<EFBFBD>rifiez les permissions sur master.info",
|
"Impossible d'initialiser les structures d'information de ma<6D>tre, vous trouverez des messages d'erreur suppl<70>mentaires dans le journal des erreurs de MySQL",
|
||||||
"Impossible de cr<63>er une t<>che esclave, v<>rifiez les ressources syst<73>me",
|
"Impossible de cr<63>er une t<>che esclave, v<>rifiez les ressources syst<73>me",
|
||||||
"L'utilisateur %-.64s poss<73>de d<>j<EFBFBD> plus de 'max_user_connections' connections actives",
|
"L'utilisateur %-.64s poss<73>de d<>j<EFBFBD> plus de 'max_user_connections' connections actives",
|
||||||
"Seules les expressions constantes sont autoris<69>es avec SET",
|
"Seules les expressions constantes sont autoris<69>es avec SET",
|
||||||
|
@ -204,7 +204,7 @@ character-set=greek
|
|||||||
"This operation cannot be performed with a running slave, run STOP SLAVE first",
|
"This operation cannot be performed with a running slave, run STOP SLAVE first",
|
||||||
"This operation requires a running slave, configure slave and do START SLAVE",
|
"This operation requires a running slave, configure slave and do START SLAVE",
|
||||||
"The server is not configured as slave, fix in config file or with CHANGE MASTER TO",
|
"The server is not configured as slave, fix in config file or with CHANGE MASTER TO",
|
||||||
"Could not initialize master info structure, check permisions on master.info",
|
"Could not initialize master info structure, more error messages can be found in the MySQL error log",
|
||||||
"Could not create slave thread, check system resources",
|
"Could not create slave thread, check system resources",
|
||||||
"User %-.64s has already more than 'max_user_connections' active connections",
|
"User %-.64s has already more than 'max_user_connections' active connections",
|
||||||
"You may only use constant expressions with SET",
|
"You may only use constant expressions with SET",
|
||||||
|
@ -206,7 +206,7 @@ character-set=latin2
|
|||||||
"This operation cannot be performed with a running slave, run STOP SLAVE first",
|
"This operation cannot be performed with a running slave, run STOP SLAVE first",
|
||||||
"This operation requires a running slave, configure slave and do START SLAVE",
|
"This operation requires a running slave, configure slave and do START SLAVE",
|
||||||
"The server is not configured as slave, fix in config file or with CHANGE MASTER TO",
|
"The server is not configured as slave, fix in config file or with CHANGE MASTER TO",
|
||||||
"Could not initialize master info structure, check permisions on master.info",
|
"Could not initialize master info structure, more error messages can be found in the MySQL error log",
|
||||||
"Could not create slave thread, check system resources",
|
"Could not create slave thread, check system resources",
|
||||||
"User %-.64s has already more than 'max_user_connections' active connections",
|
"User %-.64s has already more than 'max_user_connections' active connections",
|
||||||
"You may only use constant expressions with SET",
|
"You may only use constant expressions with SET",
|
||||||
|
@ -206,7 +206,7 @@ character-set=ujis
|
|||||||
"This operation cannot be performed with a running slave, run STOP SLAVE first",
|
"This operation cannot be performed with a running slave, run STOP SLAVE first",
|
||||||
"This operation requires a running slave, configure slave and do START SLAVE",
|
"This operation requires a running slave, configure slave and do START SLAVE",
|
||||||
"The server is not configured as slave, fix in config file or with CHANGE MASTER TO",
|
"The server is not configured as slave, fix in config file or with CHANGE MASTER TO",
|
||||||
"Could not initialize master info structure, check permisions on master.info",
|
"Could not initialize master info structure, more error messages can be found in the MySQL error log",
|
||||||
"Could not create slave thread, check system resources",
|
"Could not create slave thread, check system resources",
|
||||||
"User %-.64s has already more than 'max_user_connections' active connections",
|
"User %-.64s has already more than 'max_user_connections' active connections",
|
||||||
"You may only use constant expressions with SET",
|
"You may only use constant expressions with SET",
|
||||||
|
@ -204,7 +204,7 @@ character-set=euckr
|
|||||||
"This operation cannot be performed with a running slave, run STOP SLAVE first",
|
"This operation cannot be performed with a running slave, run STOP SLAVE first",
|
||||||
"This operation requires a running slave, configure slave and do START SLAVE",
|
"This operation requires a running slave, configure slave and do START SLAVE",
|
||||||
"The server is not configured as slave, fix in config file or with CHANGE MASTER TO",
|
"The server is not configured as slave, fix in config file or with CHANGE MASTER TO",
|
||||||
"Could not initialize master info structure, check permisions on master.info",
|
"Could not initialize master info structure, more error messages can be found in the MySQL error log",
|
||||||
"Could not create slave thread, check system resources",
|
"Could not create slave thread, check system resources",
|
||||||
"User %-.64s has already more than 'max_user_connections' active connections",
|
"User %-.64s has already more than 'max_user_connections' active connections",
|
||||||
"You may only use constant expressions with SET",
|
"You may only use constant expressions with SET",
|
||||||
|
@ -206,7 +206,7 @@ character-set=latin1
|
|||||||
"This operation cannot be performed with a running slave, run STOP SLAVE first",
|
"This operation cannot be performed with a running slave, run STOP SLAVE first",
|
||||||
"This operation requires a running slave, configure slave and do START SLAVE",
|
"This operation requires a running slave, configure slave and do START SLAVE",
|
||||||
"The server is not configured as slave, fix in config file or with CHANGE MASTER TO",
|
"The server is not configured as slave, fix in config file or with CHANGE MASTER TO",
|
||||||
"Could not initialize master info structure, check permisions on master.info",
|
"Could not initialize master info structure, more error messages can be found in the MySQL error log",
|
||||||
"Could not create slave thread, check system resources",
|
"Could not create slave thread, check system resources",
|
||||||
"User %-.64s has already more than 'max_user_connections' active connections",
|
"User %-.64s has already more than 'max_user_connections' active connections",
|
||||||
"You may only use constant expressions with SET",
|
"You may only use constant expressions with SET",
|
||||||
|
@ -206,7 +206,7 @@ character-set=latin1
|
|||||||
"This operation cannot be performed with a running slave, run STOP SLAVE first",
|
"This operation cannot be performed with a running slave, run STOP SLAVE first",
|
||||||
"This operation requires a running slave, configure slave and do START SLAVE",
|
"This operation requires a running slave, configure slave and do START SLAVE",
|
||||||
"The server is not configured as slave, fix in config file or with CHANGE MASTER TO",
|
"The server is not configured as slave, fix in config file or with CHANGE MASTER TO",
|
||||||
"Could not initialize master info structure, check permisions on master.info",
|
"Could not initialize master info structure, more error messages can be found in the MySQL error log",
|
||||||
"Could not create slave thread, check system resources",
|
"Could not create slave thread, check system resources",
|
||||||
"User %-.64s has already more than 'max_user_connections' active connections",
|
"User %-.64s has already more than 'max_user_connections' active connections",
|
||||||
"You may only use constant expressions with SET",
|
"You may only use constant expressions with SET",
|
||||||
|
@ -208,7 +208,7 @@ character-set=latin2
|
|||||||
"This operation cannot be performed with a running slave, run STOP SLAVE first",
|
"This operation cannot be performed with a running slave, run STOP SLAVE first",
|
||||||
"This operation requires a running slave, configure slave and do START SLAVE",
|
"This operation requires a running slave, configure slave and do START SLAVE",
|
||||||
"The server is not configured as slave, fix in config file or with CHANGE MASTER TO",
|
"The server is not configured as slave, fix in config file or with CHANGE MASTER TO",
|
||||||
"Could not initialize master info structure, check permisions on master.info",
|
"Could not initialize master info structure, more error messages can be found in the MySQL error log",
|
||||||
"Could not create slave thread, check system resources",
|
"Could not create slave thread, check system resources",
|
||||||
"User %-.64s has already more than 'max_user_connections' active connections",
|
"User %-.64s has already more than 'max_user_connections' active connections",
|
||||||
"You may only use constant expressions with SET",
|
"You may only use constant expressions with SET",
|
||||||
|
@ -208,7 +208,7 @@ character-set=latin2
|
|||||||
"This operation cannot be performed with a running slave, run STOP SLAVE first",
|
"This operation cannot be performed with a running slave, run STOP SLAVE first",
|
||||||
"This operation requires a running slave, configure slave and do START SLAVE",
|
"This operation requires a running slave, configure slave and do START SLAVE",
|
||||||
"The server is not configured as slave, fix in config file or with CHANGE MASTER TO",
|
"The server is not configured as slave, fix in config file or with CHANGE MASTER TO",
|
||||||
"Could not initialize master info structure, check permisions on master.info",
|
"Could not initialize master info structure, more error messages can be found in the MySQL error log",
|
||||||
"Could not create slave thread, check system resources",
|
"Could not create slave thread, check system resources",
|
||||||
"User %-.64s has already more than 'max_user_connections' active connections",
|
"User %-.64s has already more than 'max_user_connections' active connections",
|
||||||
"You may only use constant expressions with SET",
|
"You may only use constant expressions with SET",
|
||||||
|
@ -212,7 +212,7 @@ character-set=latin2
|
|||||||
"This operation cannot be performed with a running slave, run STOP SLAVE first",
|
"This operation cannot be performed with a running slave, run STOP SLAVE first",
|
||||||
"This operation requires a running slave, configure slave and do START SLAVE",
|
"This operation requires a running slave, configure slave and do START SLAVE",
|
||||||
"The server is not configured as slave, fix in config file or with CHANGE MASTER TO",
|
"The server is not configured as slave, fix in config file or with CHANGE MASTER TO",
|
||||||
"Could not initialize master info structure, check permisions on master.info",
|
"Could not initialize master info structure, more error messages can be found in the MySQL error log",
|
||||||
"Could not create slave thread, check system resources",
|
"Could not create slave thread, check system resources",
|
||||||
"User %-.64s has already more than 'max_user_connections' active connections",
|
"User %-.64s has already more than 'max_user_connections' active connections",
|
||||||
"You may only use constant expressions with SET",
|
"You may only use constant expressions with SET",
|
||||||
|
@ -1389,6 +1389,7 @@ int init_relay_log_info(RELAY_LOG_INFO* rli, const char* info_fname)
|
|||||||
1 /* no auto events */,
|
1 /* no auto events */,
|
||||||
max_relay_log_size ? max_relay_log_size : max_binlog_size))
|
max_relay_log_size ? max_relay_log_size : max_binlog_size))
|
||||||
{
|
{
|
||||||
|
pthread_mutex_unlock(&rli->data_lock);
|
||||||
sql_print_error("Failed in open_log() called from init_relay_log_info()");
|
sql_print_error("Failed in open_log() called from init_relay_log_info()");
|
||||||
DBUG_RETURN(1);
|
DBUG_RETURN(1);
|
||||||
}
|
}
|
||||||
|
@ -2569,7 +2569,7 @@ mysql_execute_command(THD *thd)
|
|||||||
|
|
||||||
/* Fix lock for first table */
|
/* Fix lock for first table */
|
||||||
if (tables->lock_type == TL_WRITE_DELAYED)
|
if (tables->lock_type == TL_WRITE_DELAYED)
|
||||||
tables->lock_type = TL_WRITE;
|
tables->lock_type= TL_WRITE;
|
||||||
|
|
||||||
/* Don't unlock tables until command is written to binary log */
|
/* Don't unlock tables until command is written to binary log */
|
||||||
select_lex->options|= SELECT_NO_UNLOCK;
|
select_lex->options|= SELECT_NO_UNLOCK;
|
||||||
|
Reference in New Issue
Block a user