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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
f5bb1e09
Commit
f5bb1e09
authored
Jun 04, 2003
by
monty@narttu.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
After merge fix
parent
40109c57
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
27 additions
and
18 deletions
+27
-18
mysql-test/r/insert_select.result
mysql-test/r/insert_select.result
+2
-3
mysql-test/r/loaddata.result
mysql-test/r/loaddata.result
+5
-0
mysql-test/r/lowercase_table.result
mysql-test/r/lowercase_table.result
+4
-2
mysql-test/r/query_cache.result
mysql-test/r/query_cache.result
+1
-1
mysql-test/r/rpl_log.result
mysql-test/r/rpl_log.result
+14
-8
mysql-test/t/lowercase_table.test
mysql-test/t/lowercase_table.test
+0
-2
mysql-test/t/rpl_log.test
mysql-test/t/rpl_log.test
+1
-1
sql/set_var.cc
sql/set_var.cc
+0
-1
No files found.
mysql-test/r/insert_select.result
View file @
f5bb1e09
...
@@ -71,9 +71,8 @@ create table t2(a int);
...
@@ -71,9 +71,8 @@ create table t2(a int);
insert into t2 values(1),(2);
insert into t2 values(1),(2);
reset master;
reset master;
insert into t1 select * from t2;
insert into t1 select * from t2;
Duplicate entry '2' for key 1
ERROR 23000:
Duplicate entry '2' for key 1
show binlog events;
show binlog events;
Log_name Pos Event_type Server_id Orig_log_pos Info
Log_name Pos Event_type Server_id Orig_log_pos Info
master-bin.001 4 Start 1 4 Server ver: VERSION, Binlog ver: 3
master-bin.000001 4 Start 1 4 Server ver: VERSION, Binlog ver: 3
master-bin.001 79 Query 1 79 use test; insert into t1 select * from t2
drop table t1, t2;
drop table t1, t2;
mysql-test/r/loaddata.result
View file @
f5bb1e09
...
@@ -17,6 +17,11 @@ a b c d
...
@@ -17,6 +17,11 @@ a b c d
2003-03-03 2003-03-03 2003-03-03 NULL
2003-03-03 2003-03-03 2003-03-03 NULL
truncate table t1;
truncate table t1;
load data infile '../../std_data/loaddata1.dat' into table t1 fields terminated by ',' LINES STARTING BY ',' (b,c,d);
load data infile '../../std_data/loaddata1.dat' into table t1 fields terminated by ',' LINES STARTING BY ',' (b,c,d);
Warnings:
Warning 1263 Data truncated for column 'c' at row 1
Warning 1263 Data truncated for column 'd' at row 1
Warning 1263 Data truncated for column 'b' at row 2
Warning 1263 Data truncated for column 'd' at row 2
SELECT * from t1;
SELECT * from t1;
a b c d
a b c d
NULL NULL 0000-00-00 0000-00-00
NULL NULL 0000-00-00 0000-00-00
...
...
mysql-test/r/lowercase_table.result
View file @
f5bb1e09
...
@@ -21,7 +21,9 @@ select count(*) from t1;
...
@@ -21,7 +21,9 @@ select count(*) from t1;
count(*)
count(*)
0
0
select count(T1.a) from t1;
select count(T1.a) from t1;
Unknown table 'T1' in field list
count(T1.a)
0
select count(bags.a) from t1 as Bags;
select count(bags.a) from t1 as Bags;
Unknown table 'bags' in field list
count(bags.a)
0
drop table t1;
drop table t1;
mysql-test/r/query_cache.result
View file @
f5bb1e09
...
@@ -502,7 +502,6 @@ drop table t1;
...
@@ -502,7 +502,6 @@ drop table t1;
show status like "Qcache_queries_in_cache";
show status like "Qcache_queries_in_cache";
Variable_name Value
Variable_name Value
Qcache_queries_in_cache 0
Qcache_queries_in_cache 0
create table t1 (a int);
show global variables like "query_cache_min_res_unit";
show global variables like "query_cache_min_res_unit";
Variable_name Value
Variable_name Value
query_cache_min_res_unit 4096
query_cache_min_res_unit 4096
...
@@ -562,6 +561,7 @@ set GLOBAL query_cache_min_res_unit=default;
...
@@ -562,6 +561,7 @@ set GLOBAL query_cache_min_res_unit=default;
show global variables like "query_cache_min_res_unit";
show global variables like "query_cache_min_res_unit";
Variable_name Value
Variable_name Value
query_cache_min_res_unit 4096
query_cache_min_res_unit 4096
create table t1 (a int);
set GLOBAL query_cache_size=1000;
set GLOBAL query_cache_size=1000;
show global variables like "query_cache_size";
show global variables like "query_cache_size";
Variable_name Value
Variable_name Value
...
...
mysql-test/r/rpl_log.result
View file @
f5bb1e09
...
@@ -36,6 +36,8 @@ show binlog events from 79 limit 2,1;
...
@@ -36,6 +36,8 @@ show binlog events from 79 limit 2,1;
Log_name Pos Event_type Server_id Orig_log_pos Info
Log_name Pos Event_type Server_id Orig_log_pos Info
master-bin.000001 200 Query 1 200 use `test`; insert into t1 values (NULL)
master-bin.000001 200 Query 1 200 use `test`; insert into t1 values (NULL)
flush logs;
flush logs;
create table t5 (a int);
drop table t5;
start slave;
start slave;
flush logs;
flush logs;
stop slave;
stop slave;
...
@@ -56,9 +58,11 @@ master-bin.000001 1079 Query 1 1079 use `test`; drop table t1
...
@@ -56,9 +58,11 @@ master-bin.000001 1079 Query 1 1079 use `test`; drop table t1
master-bin.000001 1127 Rotate 1 1127 master-bin.000002;pos=4
master-bin.000001 1127 Rotate 1 1127 master-bin.000002;pos=4
show binlog events in 'master-bin.000002';
show binlog events in 'master-bin.000002';
Log_name Pos Event_type Server_id Orig_log_pos Info
Log_name Pos Event_type Server_id Orig_log_pos Info
master-bin.000002 4 Query 1 4 use `test`; create table t1 (n int)
master-bin.000002 4 Query 1 4 use `test`; create table t5 (a int)
master-bin.000002 62 Query 1 62 use `test`; insert into t1 values (1)
master-bin.000002 62 Query 1 62 use `test`; drop table t5
master-bin.000002 122 Query 1 122 use `test`; drop table t1
master-bin.000002 110 Query 1 110 use `test`; create table t1 (n int)
master-bin.000002 168 Query 1 168 use `test`; insert into t1 values (1)
master-bin.000002 228 Query 1 228 use `test`; drop table t1
show binary logs;
show binary logs;
Log_name
Log_name
master-bin.000001
master-bin.000001
...
@@ -79,14 +83,16 @@ slave-bin.000001 311 Query 1 311 use `test`; create table t1 (word char(20) not
...
@@ -79,14 +83,16 @@ slave-bin.000001 311 Query 1 311 use `test`; create table t1 (word char(20) not
slave-bin.000001 386 Create_file 1 386 db=test;table=t1;file_id=1;block_len=581
slave-bin.000001 386 Create_file 1 386 db=test;table=t1;file_id=1;block_len=581
slave-bin.000001 1065 Exec_load 1 1056 ;file_id=1
slave-bin.000001 1065 Exec_load 1 1056 ;file_id=1
slave-bin.000001 1088 Query 1 1079 use `test`; drop table t1
slave-bin.000001 1088 Query 1 1079 use `test`; drop table t1
slave-bin.000001 1136 Rotate 2 1136 slave-bin.000002;pos=4
slave-bin.000001 1136 Query 1 4 use `test`; create table t5 (a int)
slave-bin.000001 1194 Query 1 62 use `test`; drop table t5
slave-bin.000001 1242 Rotate 2 1242 slave-bin.000002;pos=4
show binlog events in 'slave-bin.000002' from 4;
show binlog events in 'slave-bin.000002' from 4;
Log_name Pos Event_type Server_id Orig_log_pos Info
Log_name Pos Event_type Server_id Orig_log_pos Info
slave-bin.000002 4 Query 1
4
use `test`; create table t1 (n int)
slave-bin.000002 4 Query 1
110
use `test`; create table t1 (n int)
slave-bin.000002 62 Query 1
62
use `test`; insert into t1 values (1)
slave-bin.000002 62 Query 1
168
use `test`; insert into t1 values (1)
slave-bin.000002 122 Query 1
122
use `test`; drop table t1
slave-bin.000002 122 Query 1
228
use `test`; drop table t1
show slave status;
show slave status;
Master_Host Master_User Master_Port Connect_retry Master_Log_File Read_Master_Log_Pos Relay_Log_File Relay_Log_Pos Relay_Master_Log_File Slave_IO_Running Slave_SQL_Running Replicate_do_db Replicate_ignore_db Last_errno Last_error Skip_counter Exec_master_log_pos Relay_log_space
Master_Host Master_User Master_Port Connect_retry Master_Log_File Read_Master_Log_Pos Relay_Log_File Relay_Log_Pos Relay_Master_Log_File Slave_IO_Running Slave_SQL_Running Replicate_do_db Replicate_ignore_db Last_errno Last_error Skip_counter Exec_master_log_pos Relay_log_space
127.0.0.1 root MASTER_PORT 1 master-bin.000002
170 slave-relay-bin.000002 1469 master-bin.000002 Yes Yes 0 0 170 1473
127.0.0.1 root MASTER_PORT 1 master-bin.000002
276 slave-relay-bin.000002 1531 master-bin.000002 Yes Yes 0 0 276 1535
show binlog events in 'slave-bin.000005' from 4;
show binlog events in 'slave-bin.000005' from 4;
ERROR HY000: Error when executing command SHOW BINLOG EVENTS: Could not find target log
ERROR HY000: Error when executing command SHOW BINLOG EVENTS: Could not find target log
mysql-test/t/lowercase_table.test
View file @
f5bb1e09
...
@@ -20,8 +20,6 @@ drop table t3;
...
@@ -20,8 +20,6 @@ drop table t3;
create
table
t1
(
a
int
);
create
table
t1
(
a
int
);
select
count
(
*
)
from
T1
;
select
count
(
*
)
from
T1
;
select
count
(
*
)
from
t1
;
select
count
(
*
)
from
t1
;
--
error
1109
select
count
(
T1
.
a
)
from
t1
;
select
count
(
T1
.
a
)
from
t1
;
--
error
1109
select
count
(
bags
.
a
)
from
t1
as
Bags
;
select
count
(
bags
.
a
)
from
t1
as
Bags
;
drop
table
t1
;
drop
table
t1
;
mysql-test/t/rpl_log.test
View file @
f5bb1e09
...
@@ -58,7 +58,7 @@ connection slave;
...
@@ -58,7 +58,7 @@ connection slave;
# Note that the above 'slave start' will cause a 3rd rotate event (a fake one)
# Note that the above 'slave start' will cause a 3rd rotate event (a fake one)
# to go into the relay log (the master always sends a fake one when replication
# to go into the relay log (the master always sends a fake one when replication
# starts).
# starts).
s
lave
start
;
s
tart
slave
;
sync_with_master
;
sync_with_master
;
flush
logs
;
flush
logs
;
stop
slave
;
stop
slave
;
...
...
sql/set_var.cc
View file @
f5bb1e09
...
@@ -238,7 +238,6 @@ sys_var_bool_ptr sys_slave_compressed_protocol("slave_compressed_protocol",
...
@@ -238,7 +238,6 @@ sys_var_bool_ptr sys_slave_compressed_protocol("slave_compressed_protocol",
sys_var_long_ptr
sys_slave_net_timeout
(
"slave_net_timeout"
,
sys_var_long_ptr
sys_slave_net_timeout
(
"slave_net_timeout"
,
&
slave_net_timeout
);
&
slave_net_timeout
);
#endif
#endif
sys_var_bool_ptr
sys_readonly
(
"read_only"
,
&
opt_readonly
);
sys_var_long_ptr
sys_slow_launch_time
(
"slow_launch_time"
,
sys_var_long_ptr
sys_slow_launch_time
(
"slow_launch_time"
,
&
slow_launch_time
);
&
slow_launch_time
);
sys_var_thd_ulong
sys_sort_buffer
(
"sort_buffer_size"
,
sys_var_thd_ulong
sys_sort_buffer
(
"sort_buffer_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