~ubuntu-branches/ubuntu/natty/mysql-5.1/natty-security

« back to all changes in this revision

Viewing changes to mysql-test/suite/rpl/r/rpl_000015.result

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2010-06-21 15:31:05 UTC
  • mfrom: (1.2.1 upstream) (2.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20100621153105-lv81twvjdgzvzrre
Tags: 5.1.48-1ubuntu1
* Merge from debian unstable, remaining changes:
  + debian/control:
     * Update maintainer according to spec.
     * Move section from "misc" to "database".
     * Added libmysqlclient16-dev an empty transitional package. 
     * Added mysql-client-core-5.1 package.
     * Suggest mailx for mysql-server-5.1
     * Add mysql-testsuite package so you can run the testsuite seperately.
  + debian/additions/my.cnf:
    * Remove language options. Error message files are located in a different directory in Mysql
      5.0. Setting the language option to use /usr/share/mysql/english breaks Mysql 5.0. Both 5.0
      and 5.1 use a different value that works. (LP: #316974)
  + Add apparmor profile:
    + debian/apparmor-profile: apparmor-profile
    + debian/rules, debian/mysql-server-5.1.files: install apparmor profile
    + debian/mysql-server-5.1.dirs: add etc/apparmor.d/fore-complain
    + debian/mysql-server-5.1.postrm: remove symlink in force-complain/ on purge.
    + debian/mysql-server-5.1.README.Debian: add apparmor documentation.
    + debian/additions/my.cnf: Add warning about apparmor. (LP: #201799)
    + debian/mysql-server-5.1.postinst: reload apparmor profiles
  * Convert the package from sysvinit to upstart:
    + debian/mysql-server-5.1.mysql.upstart: Add upstart script.
    + debian/mysql-server-5.1.mysql.init: Dropped, unused now with upstart.
    + debian/additions/mysqld_safe_syslog.cnf: Dropped, unused now with upstart.
    + debian/additons/my.cnf: Remove pid declaration and setup error logging to /var/log/mysql since
      we're not piping anything around logger anymore.
    + debian/rules, debian/mysql-server-5.1.logcheck.ignore.{paranoid,worstation},
      debian/mysql-server-5.1.logcheck.ignore.server: : Remove references to mysqld_safe
    + debian/patches/38_scripts_mysqld_safe.sh_signals.dpatch: Dropped
  * Added -fno-strict-aliasing to CFLAGS to get around mysql testsuite build failures.
  * Add Apport hook (LP: #354188):
    + debian/mysql-server-5.1.py: apport package hook
    + debian/rules: Make it installable
  * debian/mysql-server-5.1.mysql-server.logrotate: Check to see if mysql is running before
    running logrotate. (LP: #513135)
  * Make the testsuite installable. (LP: #530752)
    + debian/mysql-server-5.1.files, debian/rules: install apport package hook
  * debian/mysql-server-5.1.preinst: Set mysql user's home directory
    to /nonexistent to protect against having the /var/lib/mysql
    user-writeable. If an attacker can trick mysqld into creating
    dot files in the home directory, he could do .rhost-like attacks
    on the system. (LP: #293258)
  * debian/control: mysql-client-5.1 should depend on mysql-core-client-5.1.
    (LP: #590952) 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
reset master;
2
 
show master status;
3
 
File    Position        Binlog_Do_DB    Binlog_Ignore_DB
4
 
master-bin.000001       #       <Binlog_Do_DB>  <Binlog_Ignore_DB>
5
 
reset slave;
6
 
SHOW SLAVE STATUS;
7
 
change master to master_host='127.0.0.1';
8
 
SHOW SLAVE STATUS;
9
 
Slave_IO_State  #
10
 
Master_Host     127.0.0.1
11
 
Master_User     test
12
 
Master_Port     3306
13
 
Connect_Retry   7
14
 
Master_Log_File 
15
 
Read_Master_Log_Pos     #
16
 
Relay_Log_File  #
17
 
Relay_Log_Pos   #
18
 
Relay_Master_Log_File   
19
 
Slave_IO_Running        No
20
 
Slave_SQL_Running       No
21
 
Replicate_Do_DB 
22
 
Replicate_Ignore_DB     
23
 
Replicate_Do_Table      
24
 
Replicate_Ignore_Table  #
25
 
Replicate_Wild_Do_Table 
26
 
Replicate_Wild_Ignore_Table     
27
 
Last_Errno      0
28
 
Last_Error      
29
 
Skip_Counter    0
30
 
Exec_Master_Log_Pos     #
31
 
Relay_Log_Space #
32
 
Until_Condition None
33
 
Until_Log_File  
34
 
Until_Log_Pos   0
35
 
Master_SSL_Allowed      No
36
 
Master_SSL_CA_File      
37
 
Master_SSL_CA_Path      
38
 
Master_SSL_Cert 
39
 
Master_SSL_Cipher       
40
 
Master_SSL_Key  
41
 
Seconds_Behind_Master   #
42
 
Master_SSL_Verify_Server_Cert   No
43
 
Last_IO_Errno   #
44
 
Last_IO_Error   #
45
 
Last_SQL_Errno  0
46
 
Last_SQL_Error  
47
 
change master to master_host='127.0.0.1',master_user='root',
48
 
master_password='',master_port=MASTER_PORT;
49
 
SHOW SLAVE STATUS;
50
 
Slave_IO_State  #
51
 
Master_Host     127.0.0.1
52
 
Master_User     root
53
 
Master_Port     MASTER_PORT
54
 
Connect_Retry   7
55
 
Master_Log_File 
56
 
Read_Master_Log_Pos     #
57
 
Relay_Log_File  #
58
 
Relay_Log_Pos   #
59
 
Relay_Master_Log_File   
60
 
Slave_IO_Running        No
61
 
Slave_SQL_Running       No
62
 
Replicate_Do_DB 
63
 
Replicate_Ignore_DB     
64
 
Replicate_Do_Table      
65
 
Replicate_Ignore_Table  #
66
 
Replicate_Wild_Do_Table 
67
 
Replicate_Wild_Ignore_Table     
68
 
Last_Errno      0
69
 
Last_Error      
70
 
Skip_Counter    0
71
 
Exec_Master_Log_Pos     #
72
 
Relay_Log_Space #
73
 
Until_Condition None
74
 
Until_Log_File  
75
 
Until_Log_Pos   0
76
 
Master_SSL_Allowed      No
77
 
Master_SSL_CA_File      
78
 
Master_SSL_CA_Path      
79
 
Master_SSL_Cert 
80
 
Master_SSL_Cipher       
81
 
Master_SSL_Key  
82
 
Seconds_Behind_Master   #
83
 
Master_SSL_Verify_Server_Cert   No
84
 
Last_IO_Errno   #
85
 
Last_IO_Error   #
86
 
Last_SQL_Errno  0
87
 
Last_SQL_Error  
88
 
start slave;
89
 
SHOW SLAVE STATUS;
90
 
Slave_IO_State  #
91
 
Master_Host     127.0.0.1
92
 
Master_User     root
93
 
Master_Port     MASTER_PORT
94
 
Connect_Retry   7
95
 
Master_Log_File master-bin.000001
96
 
Read_Master_Log_Pos     #
97
 
Relay_Log_File  #
98
 
Relay_Log_Pos   #
99
 
Relay_Master_Log_File   master-bin.000001
100
 
Slave_IO_Running        Yes
101
 
Slave_SQL_Running       Yes
102
 
Replicate_Do_DB 
103
 
Replicate_Ignore_DB     
104
 
Replicate_Do_Table      
105
 
Replicate_Ignore_Table  #
106
 
Replicate_Wild_Do_Table 
107
 
Replicate_Wild_Ignore_Table     
108
 
Last_Errno      0
109
 
Last_Error      
110
 
Skip_Counter    0
111
 
Exec_Master_Log_Pos     #
112
 
Relay_Log_Space #
113
 
Until_Condition None
114
 
Until_Log_File  
115
 
Until_Log_Pos   0
116
 
Master_SSL_Allowed      No
117
 
Master_SSL_CA_File      
118
 
Master_SSL_CA_Path      
119
 
Master_SSL_Cert 
120
 
Master_SSL_Cipher       
121
 
Master_SSL_Key  
122
 
Seconds_Behind_Master   #
123
 
Master_SSL_Verify_Server_Cert   No
124
 
Last_IO_Errno   #
125
 
Last_IO_Error   #
126
 
Last_SQL_Errno  0
127
 
Last_SQL_Error  
128
 
drop table if exists t1;
129
 
create table t1 (n int, PRIMARY KEY(n));
130
 
insert into t1 values (10),(45),(90);
131
 
SELECT * FROM t1 ORDER BY n;
132
 
n
133
 
10
134
 
45
135
 
90
136
 
SELECT * FROM t1 ORDER BY n;
137
 
n
138
 
10
139
 
45
140
 
90
141
 
drop table t1;