diff options
author | Rucha Deodhar <rucha.deodhar@mariadb.com> | 2021-06-24 16:42:57 +0530 |
---|---|---|
committer | Rucha Deodhar <rucha.deodhar@mariadb.com> | 2021-07-26 22:59:10 +0530 |
commit | beb401b25fa3e34ea431da990f1ead6bbc23a82f (patch) | |
tree | 5aa8f912d0638a2e7081e1ed36f0c63f2f8c6520 | |
parent | bdae5508b87b757a89b7c55ab2de4a81104a89fc (diff) | |
download | mariadb-git-beb401b25fa3e34ea431da990f1ead6bbc23a82f.tar.gz |
This commit is a fixup for MDEV-22189.
Changes:
changed mysqld -> mariadbd for some more error messages that were left.
-rw-r--r-- | mysql-test/main/mysqld--help.result | 4 | ||||
-rw-r--r-- | mysql-test/main/tc_heuristic_recover.result | 4 | ||||
-rw-r--r-- | mysql-test/main/tc_heuristic_recover.test | 4 | ||||
-rw-r--r-- | sql/handler.cc | 4 | ||||
-rw-r--r-- | sql/log.cc | 8 | ||||
-rw-r--r-- | sql/mysqld.cc | 20 | ||||
-rw-r--r-- | storage/innobase/handler/ha_innodb.cc | 2 | ||||
m--------- | storage/maria/libmarias3 | 0 | ||||
-rw-r--r-- | storage/rocksdb/rdb_utils.cc | 2 |
9 files changed, 24 insertions, 24 deletions
diff --git a/mysql-test/main/mysqld--help.result b/mysql-test/main/mysqld--help.result index 5d014240faa..2a158151528 100644 --- a/mysql-test/main/mysqld--help.result +++ b/mysql-test/main/mysqld--help.result @@ -1844,5 +1844,5 @@ userstat FALSE verbose TRUE wait-timeout 28800 -To see what variables a running MySQL server is using, type -'mysqladmin variables' instead of 'mysqld --verbose --help'. +To see what variables a running server is using, type +'SELECT * FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES' instead of 'mysqld --verbose --help' or 'mariadbd --verbose --help'. diff --git a/mysql-test/main/tc_heuristic_recover.result b/mysql-test/main/tc_heuristic_recover.result index 32c3a9779ad..5538781ad38 100644 --- a/mysql-test/main/tc_heuristic_recover.result +++ b/mysql-test/main/tc_heuristic_recover.result @@ -22,11 +22,11 @@ NOT FOUND /\[ERROR\] Can\'t init tc log/ in mysqld.1.err FOUND 2 /was in the XA prepared state/ in mysqld.1.err FOUND 1 /Found 1 prepared transactions!/ in mysqld.1.err FOUND 1 /\[ERROR\] Can\'t init tc log/ in mysqld.1.err -FOUND 1 /Please restart mysqld without --tc-heuristic-recover/ in mysqld.1.err +FOUND 1 /Please restart without --tc-heuristic-recover/ in mysqld.1.err FOUND 3 /was in the XA prepared state/ in mysqld.1.err FOUND 1 /Found 1 prepared transactions!/ in mysqld.1.err FOUND 2 /\[ERROR\] Can\'t init tc log/ in mysqld.1.err -FOUND 2 /Please restart mysqld without --tc-heuristic-recover/ in mysqld.1.err +FOUND 2 /Please restart without --tc-heuristic-recover/ in mysqld.1.err # restart FOUND 3 /was in the XA prepared state/ in mysqld.1.err FOUND 1 /Found 1 prepared transactions!/ in mysqld.1.err diff --git a/mysql-test/main/tc_heuristic_recover.test b/mysql-test/main/tc_heuristic_recover.test index 86fea084de8..a69dc5036af 100644 --- a/mysql-test/main/tc_heuristic_recover.test +++ b/mysql-test/main/tc_heuristic_recover.test @@ -66,7 +66,7 @@ SELECT * FROM t1; --source include/search_pattern_in_file.inc --let SEARCH_PATTERN= \\[ERROR\\] Can\\'t init tc log --source include/search_pattern_in_file.inc ---let SEARCH_PATTERN= Please restart mysqld without --tc-heuristic-recover +--let SEARCH_PATTERN= Please restart without --tc-heuristic-recover --source include/search_pattern_in_file.inc --error 1 @@ -78,7 +78,7 @@ SELECT * FROM t1; --source include/search_pattern_in_file.inc --let SEARCH_PATTERN= \\[ERROR\\] Can\\'t init tc log --source include/search_pattern_in_file.inc ---let SEARCH_PATTERN= Please restart mysqld without --tc-heuristic-recover +--let SEARCH_PATTERN= Please restart without --tc-heuristic-recover --source include/search_pattern_in_file.inc --source include/start_mysqld.inc diff --git a/sql/handler.cc b/sql/handler.cc index 393f6234653..e8c021e4608 100644 --- a/sql/handler.cc +++ b/sql/handler.cc @@ -2731,10 +2731,10 @@ int ha_recover(HASH *commit_list, MEM_ROOT *arg_mem_root) info.found_foreign_xids); if (info.dry_run && info.found_my_xids) { - sql_print_error("Found %d prepared transactions! It means that mysqld was " + sql_print_error("Found %d prepared transactions! It means that server was " "not shut down properly last time and critical recovery " "information (last binlog or %s file) was manually deleted " - "after a crash. You have to start mysqld with " + "after a crash. You have to start server with " "--tc-heuristic-recover switch to commit or rollback " "pending transactions.", info.found_my_xids, opt_tc_log_file); diff --git a/sql/log.cc b/sql/log.cc index 538f6ea86ac..2ab5bc31cda 100644 --- a/sql/log.cc +++ b/sql/log.cc @@ -2534,7 +2534,7 @@ int check_binlog_magic(IO_CACHE* log, const char** errmsg) } if (bcmp(magic, BINLOG_MAGIC, sizeof(magic))) { - *errmsg = "Binlog has bad magic number; It's not a binary log file that can be used by this version of MySQL"; + *errmsg = "Binlog has bad magic number; It's not a binary log file that can be used by this version of MariaDB"; return 1; } return 0; @@ -9953,7 +9953,7 @@ err2: err1: sql_print_error("Crash recovery failed. Either correct the problem " "(if it's, for example, out of memory error) and restart, " - "or delete tc log and start mysqld with " + "or delete tc log and start server with " "--tc-heuristic-recover={commit|rollback}"); return 1; } @@ -9984,7 +9984,7 @@ int TC_LOG::using_heuristic_recover() sql_print_information("Heuristic crash recovery mode"); if (ha_recover(0)) sql_print_error("Heuristic crash recovery failed"); - sql_print_information("Please restart mysqld without --tc-heuristic-recover"); + sql_print_information("Please restart without --tc-heuristic-recover"); return 1; } @@ -11417,7 +11417,7 @@ err2: err1: sql_print_error("Crash recovery failed. Either correct the problem " "(if it's, for example, out of memory error) and restart, " - "or delete (or rename) binary log and start mysqld with " + "or delete (or rename) binary log and start serverwith " "--tc-heuristic-recover={commit|rollback}"); DBUG_RETURN(1); } diff --git a/sql/mysqld.cc b/sql/mysqld.cc index f99b05a0086..f2be0ecf89c 100644 --- a/sql/mysqld.cc +++ b/sql/mysqld.cc @@ -2330,7 +2330,7 @@ static void activate_tcp_port(uint port, sprintf(buff, "Can't start server: Bind on TCP/IP port. Got error: %d", (int) socket_errno); sql_perror(buff); - sql_print_error("Do you already have another mysqld server running on " + sql_print_error("Do you already have another server running on " "port: %u ?", port); unireg_abort(1); } @@ -2588,7 +2588,7 @@ static void network_init(void) port_len) < 0) { sql_perror("Can't start server : Bind on unix socket"); /* purecov: tested */ - sql_print_error("Do you already have another mysqld server running on socket: %s ?",mysqld_unix_port); + sql_print_error("Do you already have another server running on socket: %s ?",mysqld_unix_port); unireg_abort(1); /* purecov: tested */ } umask(((~my_umask) & 0666)); @@ -3123,7 +3123,7 @@ pthread_handler_t signal_hand(void *arg __attribute__((unused))) case SIGQUIT: case SIGKILL: #ifdef EXTRA_DEBUG - sql_print_information("Got signal %d to shutdown mysqld",sig); + sql_print_information("Got signal %d to shutdown server",sig); #endif /* switch to the old log message processing */ logger.set_handlers(LOG_FILE, global_system_variables.sql_log_slow ? LOG_FILE:LOG_NONE, @@ -3856,7 +3856,7 @@ static int init_common_variables() /* TODO: remove this when my_time_t is 64 bit compatible */ if (!IS_TIME_T_VALID_FOR_TIMESTAMP(server_start_time)) { - sql_print_error("This MySQL server doesn't support dates later than 2038"); + sql_print_error("This server doesn't support dates later than 2038"); exit(1); } @@ -3947,13 +3947,13 @@ static int init_common_variables() if (!opt_abort) { if (IS_SYSVAR_AUTOSIZE(&server_version_ptr)) - sql_print_information("%s (mysqld %s) starting as process %lu ...", + sql_print_information("%s (server %s) starting as process %lu ...", my_progname, server_version, (ulong) getpid()); else { char real_server_version[SERVER_VERSION_LENGTH]; set_server_version(real_server_version, sizeof(real_server_version)); - sql_print_information("%s (mysqld %s as %s) starting as process %lu ...", + sql_print_information("%s (server %s as %s) starting as process %lu ...", my_progname, real_server_version, server_version, (ulong) getpid()); } @@ -5255,7 +5255,7 @@ static int init_server_components() #ifdef USE_ARIA_FOR_TMP_TABLES if (!ha_storage_engine_is_enabled(maria_hton) && !opt_bootstrap) { - sql_print_error("Aria engine is not enabled or did not start. The Aria engine must be enabled to continue as mysqld was configured with --with-aria-tmp-tables"); + sql_print_error("Aria engine is not enabled or did not start. The Aria engine must be enabled to continue as server was configured with --with-aria-tmp-tables"); unireg_abort(1); } #endif @@ -6124,7 +6124,7 @@ void handle_connections_sockets() */ statistic_increment(connection_errors_accept, &LOCK_status); if (!select_errors++ && !abort_loop) /* purecov: inspected */ - sql_print_error("mysqld: Got error %d from select",socket_errno); /* purecov: inspected */ + sql_print_error("Server: Got error %d from select",socket_errno); /* purecov: inspected */ } continue; } @@ -7567,8 +7567,8 @@ static void usage(void) "\nbecause execution stopped before plugins were initialized."); } - puts("\nTo see what variables a running MySQL server is using, type" - "\n'mysqladmin variables' instead of 'mysqld --verbose --help'."); + puts("\nTo see what variables a running server is using, type" + "\n'SELECT * FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES' instead of 'mysqld --verbose --help' or 'mariadbd --verbose --help'."); } DBUG_VOID_RETURN; } diff --git a/storage/innobase/handler/ha_innodb.cc b/storage/innobase/handler/ha_innodb.cc index 64c3c176369..8d6deb7d51b 100644 --- a/storage/innobase/handler/ha_innodb.cc +++ b/storage/innobase/handler/ha_innodb.cc @@ -14546,7 +14546,7 @@ ha_innobase::info_low( sql_print_error( "Index %s of %s has %u columns" " unique inside InnoDB, but " - "MySQL is asking statistics for" + "server is asking statistics for" " %lu columns. Have you mixed " "up .frm files from different " " installations? %s", diff --git a/storage/maria/libmarias3 b/storage/maria/libmarias3 -Subproject c71898f8259829bf4b2e01072000491281e5206 +Subproject 0d48bf334fde7d4e0dac22bda560e86037d35d7 diff --git a/storage/rocksdb/rdb_utils.cc b/storage/rocksdb/rdb_utils.cc index dc1b7c8892e..ad6fdf5825f 100644 --- a/storage/rocksdb/rdb_utils.cc +++ b/storage/rocksdb/rdb_utils.cc @@ -346,7 +346,7 @@ void rdb_persist_corruption_marker() { } else { // NO_LINT_DEBUG sql_print_information( - "RocksDB: Creating the file %s to abort mysqld " + "RocksDB: Creating the file %s to abort server " "restarts. Remove this file from the data directory " "after fixing the corruption to recover. ", fileName.c_str()); |