Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
fd97a077
Commit
fd97a077
authored
Feb 15, 2008
by
bar@bar.myoffice.izhnet.ru
Browse files
Options
Browse Files
Download
Plain Diff
Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-5.1-rpl
into mysql.com:/home/bar/mysql-work/mysql-5.1.b27877
parents
efa7ee35
95fab95f
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
40 additions
and
214 deletions
+40
-214
mysql-test/extra/rpl_tests/rpl_ndb_2multi_eng.test
mysql-test/extra/rpl_tests/rpl_ndb_2multi_eng.test
+1
-0
mysql-test/r/mysqldump.result
mysql-test/r/mysqldump.result
+0
-175
mysql-test/r/variables.result
mysql-test/r/variables.result
+14
-0
mysql-test/suite/rpl/r/rpl_variables.result
mysql-test/suite/rpl/r/rpl_variables.result
+0
-19
mysql-test/suite/rpl/t/rpl_variables.test
mysql-test/suite/rpl/t/rpl_variables.test
+0
-20
mysql-test/t/mysqldump.test
mysql-test/t/mysqldump.test
+6
-0
mysql-test/t/variables-master.opt
mysql-test/t/variables-master.opt
+0
-0
mysql-test/t/variables.test
mysql-test/t/variables.test
+19
-0
No files found.
mysql-test/extra/rpl_tests/rpl_ndb_2multi_eng.test
View file @
fd97a077
...
...
@@ -342,5 +342,6 @@ SHOW CREATE TABLE t1;
--
echo
---
Do
Cleanup
---
DROP
TABLE
IF
EXISTS
t1
;
sync_slave_with_master
;
# End of 5.1 test case
mysql-test/r/mysqldump.result
View file @
fd97a077
...
...
@@ -3870,181 +3870,6 @@ UNLOCK TABLES;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
DROP TABLE t1;
create table t1 (a text , b text);
create table t2 (a text , b text);
insert t1 values ("Duck, Duck", "goose");
insert t1 values ("Duck, Duck", "pidgeon");
insert t2 values ("We the people", "in order to perform");
insert t2 values ("a more perfect", "union");
select * from t1;
a b
Duck, Duck goose
Duck, Duck pidgeon
select * from t2;
a b
We the people in order to perform
a more perfect union
test.t1: Records: 2 Deleted: 0 Skipped: 0 Warnings: 0
test.t2: Records: 2 Deleted: 0 Skipped: 0 Warnings: 0
select * from t1;
a b
Duck, Duck goose
Duck, Duck pidgeon
Duck, Duck goose
Duck, Duck pidgeon
select * from t2;
a b
We the people in order to perform
a more perfect union
We the people in order to perform
a more perfect union
create table words(a varchar(255));
create table words2(b varchar(255));
select * from t1;
a b
Duck, Duck goose
Duck, Duck pidgeon
Duck, Duck goose
Duck, Duck pidgeon
Duck, Duck goose
Duck, Duck pidgeon
select * from t2;
a b
We the people in order to perform
a more perfect union
We the people in order to perform
a more perfect union
We the people in order to perform
a more perfect union
select * from words;
a
Aarhus
Aaron
Ababa
aback
abaft
abandon
abandoned
abandoning
abandonment
abandons
Aarhus
Aaron
Ababa
aback
abaft
abandon
abandoned
abandoning
abandonment
abandons
abase
abased
abasement
abasements
abases
abash
abashed
abashes
abashing
abasing
abate
abated
abatement
abatements
abater
abates
abating
Abba
abbe
abbey
abbeys
abbot
abbots
Abbott
abbreviate
abbreviated
abbreviates
abbreviating
abbreviation
abbreviations
Abby
abdomen
abdomens
abdominal
abduct
abducted
abduction
abductions
abductor
abductors
abducts
Abe
abed
Abel
Abelian
Abelson
Aberdeen
Abernathy
aberrant
aberration
select * from words2;
b
abase
abased
abasement
abasements
abases
abash
abashed
abashes
abashing
abasing
abate
abated
abatement
abatements
abater
abates
abating
Abba
abbe
abbey
abbeys
abbot
abbots
Abbott
abbreviate
abbreviated
abbreviates
abbreviating
abbreviation
abbreviations
Abby
abdomen
abdomens
abdominal
abduct
abducted
abduction
abductions
abductor
abductors
abducts
Abe
abed
Abel
Abelian
Abelson
Aberdeen
Abernathy
aberrant
aberration
drop table words;
mysql-import: Error: 1146, Table 'test.words' doesn't exist, when using table: words
drop table t1;
drop table t2;
drop table words2;
#
# BUG# 16853: mysqldump doesn't show events
#
...
...
mysql-test/r/variables.result
View file @
fd97a077
...
...
@@ -22,6 +22,7 @@ set @my_query_cache_limit =@@global.query_cache_limit;
set @my_query_cache_type =@@global.query_cache_type;
set @my_rpl_recovery_rank =@@global.rpl_recovery_rank;
set @my_server_id =@@global.server_id;
set @my_slave_net_timeout =@@global.slave_net_timeout;
set @my_slow_launch_time =@@global.slow_launch_time;
set @my_storage_engine =@@global.storage_engine;
set @my_thread_cache_size =@@global.thread_cache_size;
...
...
@@ -981,6 +982,17 @@ show variables like 'hostname';
Variable_name Value
hostname #
End of 5.0 tests
set global slave_net_timeout=100;
set global sql_slave_skip_counter=100;
show variables like 'slave_compressed_protocol';
Variable_name Value
slave_compressed_protocol OFF
show variables like 'slave_load_tmpdir';
Variable_name Value
slave_load_tmpdir SLAVE_LOAD_TMPDIR
show variables like 'slave_skip_errors';
Variable_name Value
slave_skip_errors 3,100,137,643,1752
set global binlog_cache_size =@my_binlog_cache_size;
set global connect_timeout =@my_connect_timeout;
set global delayed_insert_timeout =@my_delayed_insert_timeout;
...
...
@@ -1006,7 +1018,9 @@ set global query_cache_limit =@my_query_cache_limit;
set global query_cache_type =@my_query_cache_type;
set global rpl_recovery_rank =@my_rpl_recovery_rank;
set global server_id =@my_server_id;
set global slave_net_timeout =@my_slave_net_timeout;
set global slow_launch_time =@my_slow_launch_time;
set global sql_slave_skip_counter =0;
set global storage_engine =@my_storage_engine;
set global thread_cache_size =@my_thread_cache_size;
show global variables where Variable_name='table_definition_cache' or
...
...
mysql-test/suite/rpl/r/rpl_variables.result
deleted
100644 → 0
View file @
efa7ee35
stop slave;
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
reset master;
reset slave;
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
start slave;
set @my_slave_net_timeout =@@global.slave_net_timeout;
set global slave_net_timeout=100;
set global sql_slave_skip_counter=100;
show variables like 'slave_compressed_protocol';
Variable_name Value
slave_compressed_protocol OFF
show variables like 'slave_load_tmpdir';
Variable_name Value
slave_load_tmpdir SLAVE_LOAD_TMPDIR
show variables like 'slave_skip_errors';
Variable_name Value
slave_skip_errors 3,100,137,643,1752
set global slave_net_timeout=default;
mysql-test/suite/rpl/t/rpl_variables.test
deleted
100644 → 0
View file @
efa7ee35
source
include
/
master
-
slave
.
inc
;
# Init for rstore of variable values
set
@
my_slave_net_timeout
=@@
global
.
slave_net_timeout
;
set
global
slave_net_timeout
=
100
;
set
global
sql_slave_skip_counter
=
100
;
# End of 4.1 tests
# BUG #7800: Add various-slave related variables to SHOW VARIABLES
show
variables
like
'slave_compressed_protocol'
;
--
replace_column
2
SLAVE_LOAD_TMPDIR
show
variables
like
'slave_load_tmpdir'
;
# We just set some arbitrary values in variables-master.opt so we can test
# that a list of values works correctly
show
variables
like
'slave_skip_errors'
;
# Cleanup
set
global
slave_net_timeout
=
default
;
mysql-test/t/mysqldump.test
View file @
fd97a077
...
...
@@ -1613,6 +1613,10 @@ DROP TABLE t1;
#
# Added for use-thread option
#
# THIS PART OF THE TEST IS DISABLED UNTIL BUG#32991 IS FIXED
if
(
$bug32991_fixed
)
{
create
table
t1
(
a
text
,
b
text
);
create
table
t2
(
a
text
,
b
text
);
insert
t1
values
(
"Duck, Duck"
,
"goose"
);
...
...
@@ -1650,6 +1654,8 @@ drop table t2;
drop
table
words2
;
}
--
echo
#
--
echo
# BUG# 16853: mysqldump doesn't show events
--
echo
#
...
...
mysql-test/
suite/rpl/t/rpl_
variables-master.opt
→
mysql-test/
t/
variables-master.opt
View file @
fd97a077
File moved
mysql-test/t/variables.test
View file @
fd97a077
...
...
@@ -31,6 +31,7 @@ set @my_query_cache_limit =@@global.query_cache_limit;
set
@
my_query_cache_type
=@@
global
.
query_cache_type
;
set
@
my_rpl_recovery_rank
=@@
global
.
rpl_recovery_rank
;
set
@
my_server_id
=@@
global
.
server_id
;
set
@
my_slave_net_timeout
=@@
global
.
slave_net_timeout
;
set
@
my_slow_launch_time
=@@
global
.
slow_launch_time
;
set
@
my_storage_engine
=@@
global
.
storage_engine
;
set
@
my_thread_cache_size
=@@
global
.
thread_cache_size
;
...
...
@@ -737,6 +738,20 @@ show variables like 'hostname';
--
echo
End
of
5.0
tests
#
# BUG #7800: SHOW VARIABLES does not show slave-related configuration
#
set
global
slave_net_timeout
=
100
;
set
global
sql_slave_skip_counter
=
100
;
show
variables
like
'slave_compressed_protocol'
;
--
replace_column
2
SLAVE_LOAD_TMPDIR
show
variables
like
'slave_load_tmpdir'
;
# We just set some arbitrary values in variables-master.opt so we can test
# that a list of values is printed correctly.
show
variables
like
'slave_skip_errors'
;
#
# This is at the very after the versioned tests, since it involves doing
# cleanup
#
...
...
@@ -768,7 +783,11 @@ set global query_cache_limit =@my_query_cache_limit;
set
global
query_cache_type
=@
my_query_cache_type
;
set
global
rpl_recovery_rank
=@
my_rpl_recovery_rank
;
set
global
server_id
=@
my_server_id
;
set
global
slave_net_timeout
=@
my_slave_net_timeout
;
set
global
slow_launch_time
=@
my_slow_launch_time
;
# sql_slave_skip_counter is write-only, so we can't save previous
# value and restore it here. That's ok, because it's normally 0.
set
global
sql_slave_skip_counter
=
0
;
set
global
storage_engine
=@
my_storage_engine
;
set
global
thread_cache_size
=@
my_thread_cache_size
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment