Skip to content

Commit cb4475f

Browse files
author
Sujatha Sivakumar
committed
Bug#11758766:MYSQLD CONTINUES OPERATION WITHOUT LOGGING WHEN
BINLOGS CANNOT BE WRITTEN Fixing a typo.
1 parent ead67eb commit cb4475f

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

mysql-test/suite/binlog/r/binlogging_impossible.result

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,22 @@ RESET MASTER;
1010
Test case1
1111
SET GLOBAL binlogging_impossible_mode= ABORT_SERVER;
1212
flush logs;
13-
ERROR HY000: Binary logging not possible. Message: Either disc is full or file system is read only while rotating the binlog. Aborting the server
13+
ERROR HY000: Binary logging not possible. Message: Either disk is full or file system is read only while rotating the binlog. Aborting the server
1414
Test case2
1515
SET SESSION debug="+d,fault_injection_updating_index";
1616
SET GLOBAL binlogging_impossible_mode= ABORT_SERVER;
1717
flush logs;
18-
ERROR HY000: Binary logging not possible. Message: Either disc is full or file system is read only while opening the binlog. Aborting the server
18+
ERROR HY000: Binary logging not possible. Message: Either disk is full or file system is read only while opening the binlog. Aborting the server
1919
Test case3
2020
SET SESSION debug="+d,simulate_disk_full_on_open_binlog";
2121
SET GLOBAL binlogging_impossible_mode= ABORT_SERVER;
2222
flush logs;
23-
ERROR HY000: Binary logging not possible. Message: Either disc is full or file system is read only while opening the binlog. Aborting the server
23+
ERROR HY000: Binary logging not possible. Message: Either disk is full or file system is read only while opening the binlog. Aborting the server
2424
Test case4
2525
SET SESSION debug="+d,fault_injection_init_name";
2626
SET GLOBAL binlogging_impossible_mode= ABORT_SERVER;
2727
flush logs;
28-
ERROR HY000: Binary logging not possible. Message: Either disc is full or file system is read only while opening the binlog. Aborting the server
28+
ERROR HY000: Binary logging not possible. Message: Either disk is full or file system is read only while opening the binlog. Aborting the server
2929
Test case5
3030
flush logs;
3131
ERROR HY000: File 'master-bin.index' not found (Errcode: 13 - Permission denied)

scripts/mysqlaccess.conf

100644100755
File mode changed.

sql/binlog.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3264,7 +3264,7 @@ bool MYSQL_BIN_LOG::open_binlog(const char *log_name,
32643264
to the client side.
32653265
*/
32663266
thd->clear_error();
3267-
my_error(ER_BINLOG_LOGGING_IMPOSSIBLE, MYF(0), "Either disc is full or "
3267+
my_error(ER_BINLOG_LOGGING_IMPOSSIBLE, MYF(0), "Either disk is full or "
32683268
"file system is read only while opening the binlog. Aborting the "
32693269
"server");
32703270
thd->protocol->end_statement();
@@ -4905,7 +4905,7 @@ int MYSQL_BIN_LOG::new_file_impl(bool need_lock_log, Format_description_log_even
49054905
to the client side.
49064906
*/
49074907
thd->clear_error();
4908-
my_error(ER_BINLOG_LOGGING_IMPOSSIBLE, MYF(0), "Either disc is full or "
4908+
my_error(ER_BINLOG_LOGGING_IMPOSSIBLE, MYF(0), "Either disk is full or "
49094909
"file system is read only while rotating the binlog. Aborting "
49104910
"the server");
49114911
thd->protocol->end_statement();

sql/log.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1615,7 +1615,7 @@ bool MYSQL_LOG::open(
16151615
to the client side.
16161616
*/
16171617
thd->clear_error();
1618-
my_error(ER_BINLOG_LOGGING_IMPOSSIBLE, MYF(0), "Either disc is full or "
1618+
my_error(ER_BINLOG_LOGGING_IMPOSSIBLE, MYF(0), "Either disk is full or "
16191619
"file system is read only while opening the binlog. Aborting the "
16201620
"server");
16211621
thd->protocol->end_statement();

0 commit comments

Comments
 (0)