Skip to content

Commit f67a221

Browse files
committed
Merge branch '10.1' into 10.2
2 parents a75d269 + 2783fc7 commit f67a221

File tree

298 files changed

+4434
-1471
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

298 files changed

+4434
-1471
lines changed

Docs/mysql.info

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
MariaDB is in most aspects identical to MySQL.
22

33
Differences between MySQL and MariaDB can be found at:
4-
http://kb.askmonty.org/en/mariadb-versus-mysql-features/
5-
http://kb.askmonty.org/en/mariadb-versus-mysql-compatibility/
4+
https://mariadb.com/kb/en/mariadb-vs-mysql-features/
5+
https://mariadb.com/kb/en/mariadb-vs-mysql-compatibility/
66

77
The MariaDB manual can be found at:
8-
http://kb.askmonty.org/
8+
https://mariadb.com/kb/
99

1010
The MySQL Reference Manual is available in various formats on
1111
http://dev.mysql.com/doc.

Docs/sp-imp-spec.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@
243243
in the caller's frame is set in the new context as well.
244244
4) For each instruction, call its execute() method.
245245
The result is a pointer to the next instruction to execute (or NULL)
246-
if an error occured.
246+
if an error occurred.
247247
5) On success, set the new values of the OUT and INOUT parameters in
248248
the caller's frame.
249249

@@ -853,7 +853,7 @@
853853
// '*nextp' will be set to the index of the next instruction
854854
// to execute. (For most instruction this will be the
855855
// instruction following this one.)
856-
// Returns 0 on success, non-zero if some error occured.
856+
// Returns 0 on success, non-zero if some error occurred.
857857
virtual int execute(THD *, uint *nextp)
858858
}
859859

INSTALL-SOURCE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
Instructions for building MariaDB can be found at:
2-
https://kb.askmonty.org/en/compiling-mariadb-from-source/
2+
https://mariadb.com/kb/en/compiling-mariadb-from-source
33

INSTALL-WIN-SOURCE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
Up-to-date instructions about building MariaDB on Windows can be found
2-
at: http://kb.askmonty.org/en/building-mariadb-on-windows
2+
at: https://mariadb.com/kb/en/Building_MariaDB_on_Windows
33

VERSION

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
MYSQL_VERSION_MAJOR=10
22
MYSQL_VERSION_MINOR=2
33
MYSQL_VERSION_PATCH=0
4-
MYSQL_VERSION_EXTRA=

client/mysql.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3354,7 +3354,7 @@ com_go(String *buffer,char *line __attribute__((unused)))
33543354

33553355
end:
33563356

3357-
/* Show warnings if any or error occured */
3357+
/* Show warnings if any or error occurred */
33583358
if (show_warnings == 1 && (warnings >= 1 || error))
33593359
print_warnings();
33603360

client/mysql_upgrade.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,7 @@ static int get_upgrade_info_file_name(char* name)
658658
/*
659659
Read the content of mysql_upgrade_info file and
660660
compare the version number form file against
661-
version number wich mysql_upgrade was compiled for
661+
version number which mysql_upgrade was compiled for
662662
663663
NOTE
664664
This is an optimization to avoid running mysql_upgrade

client/mysqlcheck.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -277,8 +277,8 @@ static void usage(void)
277277
printf("Usage: %s [OPTIONS] database [tables]\n", my_progname);
278278
printf("OR %s [OPTIONS] --databases DB1 [DB2 DB3...]\n",
279279
my_progname);
280-
puts("Please consult the MariaDB/MySQL knowledgebase at");
281-
puts("http://kb.askmonty.org/v/mysqlcheck for latest information about");
280+
puts("Please consult the MariaDB Knowledge Base at");
281+
puts("https://mariadb.com/kb/en/mysqlcheck for latest information about");
282282
puts("this program.");
283283
print_defaults("my", load_default_groups);
284284
puts("");
@@ -523,7 +523,6 @@ static int is_view(const char *table)
523523
{
524524
fprintf(stderr, "Failed to %s\n", query);
525525
fprintf(stderr, "Error: %s\n", mysql_error(sock));
526-
my_free(query);
527526
DBUG_RETURN(-1);
528527
}
529528
res= mysql_store_result(sock);

client/mysqltest.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1104,7 +1104,7 @@ void do_eval(DYNAMIC_STRING *query_eval, const char *query,
11041104
Run query and dump the result to stderr in vertical format
11051105
11061106
NOTE! This function should be safe to call when an error
1107-
has occured and thus any further errors will be ignored(although logged)
1107+
has occurred and thus any further errors will be ignored (although logged)
11081108
11091109
SYNOPSIS
11101110
show_query
@@ -1170,7 +1170,7 @@ static void show_query(MYSQL* mysql, const char* query)
11701170
is added to the warning stack, only print @@warning_count-1 warnings.
11711171
11721172
NOTE! This function should be safe to call when an error
1173-
has occured and this any further errors will be ignored(although logged)
1173+
has occurred and this any further errors will be ignored(although logged)
11741174
11751175
SYNOPSIS
11761176
show_warnings_before_error
@@ -4699,7 +4699,7 @@ void do_sync_with_master2(struct st_command *command, long offset,
46994699
master_pos_wait returned NULL. This indicates that
47004700
slave SQL thread is not started, the slave's master
47014701
information is not initialized, the arguments are
4702-
incorrect, or an error has occured
4702+
incorrect, or an error has occurred
47034703
*/
47044704
die("%.*s failed: '%s' returned NULL " \
47054705
"indicating slave SQL thread failure",

cmake/cpack_rpm.cmake

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ SET(CPACK_RPM_PACKAGE_DESCRIPTION "${CPACK_RPM_PACKAGE_SUMMARY}
4343
It is GPL v2 licensed, which means you can use the it free of charge under the
4444
conditions of the GNU General Public License Version 2 (http://www.gnu.org/licenses/).
4545
46-
MariaDB documentation can be found at http://kb.askmonty.org/
47-
MariaDB bug reports should be submitted through https://mariadb.atlassian.net/
46+
MariaDB documentation can be found at https://mariadb.com/kb
47+
MariaDB bug reports should be submitted through https://jira.mariadb.org
4848
4949
")
5050

@@ -78,14 +78,16 @@ SET(ignored
7878
"%ignore ${CMAKE_INSTALL_PREFIX}/bin"
7979
"%ignore ${CMAKE_INSTALL_PREFIX}/include"
8080
"%ignore ${CMAKE_INSTALL_PREFIX}/lib"
81+
"%ignore ${CMAKE_INSTALL_PREFIX}/lib/systemd"
82+
"%ignore ${CMAKE_INSTALL_PREFIX}/lib/systemd/system"
8183
"%ignore ${CMAKE_INSTALL_PREFIX}/lib64"
8284
"%ignore ${CMAKE_INSTALL_PREFIX}/sbin"
8385
"%ignore ${CMAKE_INSTALL_PREFIX}/share"
8486
"%ignore ${CMAKE_INSTALL_PREFIX}/share/aclocal"
8587
"%ignore ${CMAKE_INSTALL_PREFIX}/share/doc"
8688
"%ignore ${CMAKE_INSTALL_PREFIX}/share/man"
87-
"%ignore ${CMAKE_INSTALL_PREFIX}/share/man/man1*"
88-
"%ignore ${CMAKE_INSTALL_PREFIX}/share/man/man8*"
89+
"%ignore ${CMAKE_INSTALL_PREFIX}/share/man/man1"
90+
"%ignore ${CMAKE_INSTALL_PREFIX}/share/man/man8"
8991
"%ignore ${CMAKE_INSTALL_PREFIX}/share/pkgconfig"
9092
)
9193

@@ -123,6 +125,7 @@ SETA(CPACK_RPM_server_PACKAGE_OBSOLETES
123125
"MySQL"
124126
"mysql-server"
125127
"MySQL-server"
128+
"MariaDB-Galera-server"
126129
"MySQL-OurDelta-server")
127130
SETA(CPACK_RPM_server_PACKAGE_PROVIDES
128131
"MariaDB"
@@ -176,7 +179,7 @@ MACRO(ALTERNATIVE_NAME real alt)
176179
SET(p "CPACK_RPM_${real}_PACKAGE_PROVIDES")
177180
SET(${p} "${${p}} ${alt} = ${ver} ${alt}%{?_isa} = ${ver} config(${alt}) = ${ver}")
178181
SET(o "CPACK_RPM_${real}_PACKAGE_OBSOLETES")
179-
SET(${o} "${${o}} ${alt} ${alt}%{_isa}")
182+
SET(${o} "${${o}} ${alt} ${alt}%{?_isa}")
180183
ENDMACRO(ALTERNATIVE_NAME)
181184

182185
ALTERNATIVE_NAME("devel" "mysql-devel")

0 commit comments

Comments
 (0)