Skip to content

Commit f61f36b

Browse files
committed
Merge branch '10.0' into 10.1
Conflicts: CMakeLists.txt VERSION Modified: .gitignore
2 parents 2caeda4 + 55b0102 commit f61f36b

File tree

358 files changed

+15194
-8271
lines changed

Some content is hidden

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

358 files changed

+15194
-8271
lines changed

.bzrignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1457,3 +1457,5 @@ storage/connect/connect.cnf
14571457
storage/cassandra/cassandra.cnf
14581458
libmysql/libmysql_versions.ld
14591459
scripts/mysql_config.pl
1460+
pcre/pcre_chartables.c
1461+
pcre/test*grep

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,10 @@ packaging/solaris/postinstall-solaris
7676
pcre/config.h
7777
pcre/pcre*test.sh
7878
pcre/pcre.h
79+
pcre/pcre_chartables.c
7980
pcre/pcregrep
8081
pcre/pcretest
82+
pcre/test*grep
8183
scripts/comp_sql
8284
scripts/make_binary_distribution
8385
scripts/msql2mysql

CMakeLists.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ IF(UNIX AND NOT APPLE)
6161
# Compiling with PIC speeds up embedded build, on PIC sensitive systems
6262
# Predefine it to OFF in release builds, because of the performance penalty
6363
SET(WITH_PIC ${WITH_PIC_DEFAULT} CACHE BOOL "Compile with PIC.")
64+
MARK_AS_ADVANCED(WITH_PIC)
6465
ENDIF()
6566

6667
# Optionally set project name, e.g.
@@ -265,6 +266,10 @@ IF (ENABLE_GCOV AND NOT WIN32 AND NOT APPLE)
265266
SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -fprofile-arcs -ftest-coverage -lgcov")
266267
ENDIF()
267268

269+
MY_CHECK_C_COMPILER_FLAG(-ggdb3 HAVE_GGDB3)
270+
SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -ggdb3")
271+
SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -ggdb3")
272+
268273
OPTION(ENABLED_LOCAL_INFILE
269274
"If we should should enable LOAD DATA LOCAL by default" ${IF_WIN})
270275
MARK_AS_ADVANCED(ENABLED_LOCAL_INFILE)
@@ -478,7 +483,7 @@ ADD_CUSTOM_TARGET(INFO_BIN ALL
478483
)
479484

480485
INSTALL_DOCUMENTATION(README CREDITS COPYING COPYING.LESSER COPYING.thirdparty
481-
COMPONENT Readme)
486+
EXCEPTIONS-CLIENT COMPONENT Readme)
482487
INSTALL_DOCUMENTATION(${CMAKE_BINARY_DIR}/Docs/INFO_SRC
483488
${CMAKE_BINARY_DIR}/Docs/INFO_BIN)
484489

EXCEPTIONS-CLIENT

Lines changed: 136 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,136 @@
1+
FOSS License Exception
2+
3+
http://www.mysql.com/about/legal/licensing/foss-exception/
4+
Updated February 23, 2012
5+
6+
What is the FOSS License Exception?
7+
8+
Oracle's Free and Open Source Software ("FOSS") License Exception
9+
(formerly known as the FLOSS License Exception) allows developers of FOSS
10+
applications to include Oracle's MySQL Client Libraries (also referred to
11+
as "MySQL Drivers" or "MySQL Connectors") with their FOSS applications.
12+
MySQL Client Libraries are typically licensed pursuant to version 2 of the
13+
General Public License ("GPL"), but this exception permits distribution of
14+
certain MySQL Client Libraries with a developer's FOSS applications
15+
licensed under the terms of another FOSS license listed below, even though
16+
such other FOSS license may be incompatible with the GPL.
17+
18+
The following terms and conditions describe the circumstances under which
19+
Oracle's FOSS License Exception applies.
20+
21+
Oracle's FOSS License Exception Terms and Conditions
22+
23+
1. Definitions. "Derivative Work" means a derivative work, as defined
24+
under applicable copyright law, formed entirely from the Program and
25+
one or more FOSS Applications.
26+
27+
"FOSS Application" means a free and open source software application
28+
distributed subject to a license listed in the section below titled
29+
"FOSS License List."
30+
31+
"FOSS Notice" means a notice placed by Oracle or MySQL in a copy of
32+
the MySQL Client Libraries stating that such copy of the MySQL Client
33+
Libraries may be distributed under Oracle's or MySQL's FOSS (or FLOSS)
34+
License Exception.
35+
36+
"Independent Work" means portions of the Derivative Work that are not
37+
derived from the Program and can reasonably be considered independent
38+
and separate works.
39+
40+
"Program" means a copy of Oracle's MySQL Client Libraries that
41+
contains a FOSS Notice.
42+
43+
2. A FOSS application developer ("you" or "your") may distribute a
44+
Derivative Work provided that you and the Derivative Work meet all of
45+
the following conditions:
46+
47+
a. You obey the GPL in all respects for the Program and all portions
48+
(including modifications) of the Program included in the
49+
Derivative Work (provided that this condition does not apply to
50+
Independent Works);
51+
b. The Derivative Work does not include any work licensed under the
52+
GPL other than the Program;
53+
c. You distribute Independent Works subject to a license listed in
54+
the section below titled "FOSS License List";
55+
d. You distribute Independent Works in object code or executable
56+
form with the complete corresponding machine-readable source code
57+
on the same medium and under the same FOSS license applying to
58+
the object code or executable forms;
59+
e. All works that are aggregated with the Program or the Derivative
60+
Work on a medium or volume of storage are not derivative works of
61+
the Program, Derivative Work or FOSS Application, and must
62+
reasonably be considered independent and separate works.
63+
64+
3. Oracle reserves all rights not expressly granted in these terms and
65+
conditions. If all of the above conditions are not met, then this FOSS
66+
License Exception does not apply to you or your Derivative Work.
67+
68+
FOSS License List
69+
70+
+------------------------------------------------------------------------+
71+
|License Name |Version(s)/Copyright Date|
72+
|----------------------------------------------+-------------------------|
73+
|Academic Free License |2.0 |
74+
|----------------------------------------------+-------------------------|
75+
|Apache Software License |1.0/1.1/2.0 |
76+
|----------------------------------------------+-------------------------|
77+
|Apple Public Source License |2.0 |
78+
|----------------------------------------------+-------------------------|
79+
|Artistic license |From Perl 5.8.0 |
80+
|----------------------------------------------+-------------------------|
81+
|BSD license |"July 22 1999" |
82+
|----------------------------------------------+-------------------------|
83+
|Common Development and Distribution License |1.0 |
84+
|(CDDL) | |
85+
|----------------------------------------------+-------------------------|
86+
|Common Public License |1.0 |
87+
|----------------------------------------------+-------------------------|
88+
|Eclipse Public License |1.0 |
89+
|----------------------------------------------+-------------------------|
90+
|European Union Public License (EUPL)¹ |1.1 |
91+
|----------------------------------------------+-------------------------|
92+
|GNU Affero General Public License (AGPL) |3.0 |
93+
|----------------------------------------------+-------------------------|
94+
|GNU Library or "Lesser" General Public License|2.0/2.1/3.0 |
95+
|(LGPL) | |
96+
|----------------------------------------------+-------------------------|
97+
|GNU General Public License (GPL) |3.0 |
98+
|----------------------------------------------+-------------------------|
99+
|IBM Public License |1.0 |
100+
|----------------------------------------------+-------------------------|
101+
|Jabber Open Source License |1.0 |
102+
|----------------------------------------------+-------------------------|
103+
|MIT License (As listed in file |- |
104+
|MIT-License.txt) | |
105+
|----------------------------------------------+-------------------------|
106+
|Mozilla Public License (MPL) |1.0/1.1 |
107+
|----------------------------------------------+-------------------------|
108+
|Open Software License |2.0 |
109+
|----------------------------------------------+-------------------------|
110+
|OpenSSL license (with original SSLeay license)|"2003" ("1998") |
111+
|----------------------------------------------+-------------------------|
112+
|PHP License |3.0/3.01 |
113+
|----------------------------------------------+-------------------------|
114+
|Python license (CNRI Python License) |- |
115+
|----------------------------------------------+-------------------------|
116+
|Python Software Foundation License |2.1.1 |
117+
|----------------------------------------------+-------------------------|
118+
|Sleepycat License |"1999" |
119+
|----------------------------------------------+-------------------------|
120+
|University of Illinois/NCSA Open Source |- |
121+
|License | |
122+
|----------------------------------------------+-------------------------|
123+
|W3C License |"2001" |
124+
|----------------------------------------------+-------------------------|
125+
|X11 License |"2001" |
126+
|----------------------------------------------+-------------------------|
127+
|Zlib/libpng License |- |
128+
|----------------------------------------------+-------------------------|
129+
|Zope Public License |2.0 |
130+
+------------------------------------------------------------------------+
131+
132+
¹) When an Independent Work is licensed under a "Compatible License"
133+
pursuant to the EUPL, the Compatible License rather than the EUPL is the
134+
applicable license for purposes of these FOSS License Exception Terms and
135+
Conditions.
136+

client/mysqltest.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -949,9 +949,13 @@ static int do_read_query_result(struct st_connection *cn)
949949
{
950950
DBUG_ASSERT(cn->has_thread);
951951
wait_query_thread_done(cn);
952+
if (cn->result)
953+
goto exit_func;
954+
952955
signal_connection_thd(cn, EMB_READ_QUERY_RESULT);
953956
wait_query_thread_done(cn);
954957

958+
exit_func:
955959
return cn->result;
956960
}
957961

cmake/os/WindowsCache.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,4 +370,5 @@ SET(HAVE_SYS_UTSNAME_H CACHE INTERNAL "")
370370
SET(HAVE_PTHREAD_ATTR_GETGUARDSIZE CACHE INTERNAL "")
371371
SET(HAVE_UCONTEXT_H CACHE INTERNAL "")
372372
SET(HAVE_SOCKPEERCRED CACHE INTERNAL "")
373-
ENDIF()
373+
SET(HAVE_GGDB3 CACHE INTERNAL "")
374+
ENDIF(MSVC)

dbug/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ TARGET_LINK_LIBRARIES(factorial dbug)
3030
IF(NOT WIN32 AND NOT CMAKE_GENERATOR MATCHES Xcode)
3131
FIND_PROGRAM(GROFF groff)
3232
FIND_PROGRAM(NROFF nroff)
33+
MARK_AS_ADVANCED(GROFF)
34+
MARK_AS_ADVANCED(NROFF)
3335
SET(OUTPUT_INC output1.r output2.r output3.r output4.r output5.r)
3436
SET(SOURCE_INC factorial.r main.r example1.r example2.r example3.r)
3537
ADD_CUSTOM_COMMAND(OUTPUT ${OUTPUT_INC}

debian/additions/msql2mysql.1

Lines changed: 0 additions & 16 deletions
This file was deleted.

debian/additions/my_print_defaults.1

Lines changed: 0 additions & 16 deletions
This file was deleted.

debian/additions/myisam_ftdump.1

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)