Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
0d622bed
Commit
0d622bed
authored
Mar 21, 2017
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '5.5' into 10.0
parents
4c35dce2
577915de
Changes
11
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
70 additions
and
521 deletions
+70
-521
CMakeLists.txt
CMakeLists.txt
+1
-2
COPYING.LESSER
COPYING.LESSER
+0
-516
cmake/build_configurations/mysql_release.cmake
cmake/build_configurations/mysql_release.cmake
+2
-0
cmake/mysql_add_executable.cmake
cmake/mysql_add_executable.cmake
+8
-0
cmake/win_compatibility.manifest
cmake/win_compatibility.manifest
+22
-0
mysql-test/r/subselect4.result
mysql-test/r/subselect4.result
+13
-0
mysql-test/t/subselect4.test
mysql-test/t/subselect4.test
+16
-0
sql/item.h
sql/item.h
+5
-0
sql/share/errmsg-utf8.txt
sql/share/errmsg-utf8.txt
+1
-1
sql/sql_prepare.cc
sql/sql_prepare.cc
+1
-1
win/packaging/CMakeLists.txt
win/packaging/CMakeLists.txt
+1
-1
No files found.
CMakeLists.txt
View file @
0d622bed
...
...
@@ -483,8 +483,7 @@ ADD_CUSTOM_TARGET(INFO_BIN ALL
WORKING_DIRECTORY
${
CMAKE_BINARY_DIR
}
)
INSTALL_DOCUMENTATION
(
README CREDITS COPYING COPYING.LESSER EXCEPTIONS-CLIENT
COMPONENT Readme
)
INSTALL_DOCUMENTATION
(
README CREDITS COPYING EXCEPTIONS-CLIENT COMPONENT Readme
)
# MDEV-6526 these files are not installed anymore
#INSTALL_DOCUMENTATION(${CMAKE_BINARY_DIR}/Docs/INFO_SRC
...
...
COPYING.LESSER
deleted
100644 → 0
View file @
4c35dce2
This diff is collapsed.
Click to expand it.
cmake/build_configurations/mysql_release.cmake
View file @
0d622bed
...
...
@@ -99,6 +99,8 @@ OPTION(ENABLED_LOCAL_INFILE "" ON)
IF
(
RPM
)
SET
(
WITH_SSL system CACHE STRING
""
)
SET
(
WITH_ZLIB system CACHE STRING
""
)
SET
(
CHECKMODULE /usr/bin/checkmodule CACHE STRING
""
)
SET
(
SEMODULE_PACKAGE /usr/bin/semodule_package CACHE STRING
""
)
ELSEIF
(
DEB
)
SET
(
WITH_SSL system CACHE STRING
""
)
SET
(
WITH_ZLIB system CACHE STRING
""
)
...
...
cmake/mysql_add_executable.cmake
View file @
0d622bed
...
...
@@ -38,6 +38,14 @@ FUNCTION (MYSQL_ADD_EXECUTABLE)
SET
(
sources
${
ARG_DEFAULT_ARGS
}
)
ADD_VERSION_INFO
(
${
target
}
EXECUTABLE sources
)
IF
(
MSVC
)
# Add compatibility manifest, to fix GetVersionEx on Windows 8.1 and later
IF
(
CMAKE_VERSION VERSION_GREATER 3.3
)
SET
(
sources
${
sources
}
${
PROJECT_SOURCE_DIR
}
/cmake/win_compatibility.manifest
)
ENDIF
()
ENDIF
()
ADD_EXECUTABLE
(
${
target
}
${
ARG_WIN32
}
${
ARG_MACOSX_BUNDLE
}
${
ARG_EXCLUDE_FROM_ALL
}
${
sources
}
)
# tell CPack where to install
IF
(
NOT ARG_EXCLUDE_FROM_ALL
)
...
...
cmake/win_compatibility.manifest
0 → 100644
View file @
0d622bed
<?xml version="1.0" encoding="utf-8"?>
<asmv1:assembly
manifestVersion=
"1.0"
xmlns=
"urn:schemas-microsoft-com:asm.v1"
xmlns:asmv1=
"urn:schemas-microsoft-com:asm.v1"
xmlns:asmv2=
"urn:schemas-microsoft-com:asm.v2"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
>
<compatibility
xmlns=
"urn:schemas-microsoft-com:compatibility.v1"
>
<application>
<!-- Windows Vista and Windows Server 2008 -->
<supportedOS
Id=
"{e2011457-1546-43c5-a5fe-008deee3d3f0}"
/>
<!-- Windows 7 and Windows Server 2008 R2 -->
<supportedOS
Id=
"{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"
/>
<!-- Windows 8 and Windows Server 2012 -->
<supportedOS
Id=
"{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"
/>
<!-- Windows 8.1 and Windows Server 2012 R2 -->
<supportedOS
Id=
"{1f676c76-80e1-4239-95bb-83d0f6d0da78}"
/>
<!-- Windows 10 -->
<supportedOS
Id=
"{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"
/>
</application>
</compatibility>
</asmv1:assembly>
mysql-test/r/subselect4.result
View file @
0d622bed
...
...
@@ -2470,5 +2470,18 @@ select 1 from dual where null not in (select 1 from t2);
1
1
drop table t1,t2;
#
# MDEV-6486: Assertion `!table || (!table->read_set || bitmap_is_set(table->read_set, field_index))'
# failed with SELECT SQ, TEXT field
#
CREATE TABLE t1 (a VARCHAR(8), KEY(a)) ENGINE=MyISAM;
INSERT INTO t1 VALUES ('foo'),( 'bar');
CREATE TABLE t2 (b VARCHAR(8), c TINYTEXT, KEY(b)) ENGINE=MyISAM;
INSERT INTO t2 VALUES ('baz','baz'),('qux', 'qux');
SELECT ( SELECT COUNT(*) FROM t1 WHERE a = c ) AS field, COUNT(DISTINCT c)
FROM t2 WHERE b <= 'quux' GROUP BY field;
field COUNT(DISTINCT c)
0 1
drop table t1,t2;
SET optimizer_switch= @@global.optimizer_switch;
set @@tmp_table_size= @@global.tmp_table_size;
mysql-test/t/subselect4.test
View file @
0d622bed
...
...
@@ -2016,5 +2016,21 @@ select 1 from dual where null not in (select 1 from t1);
select
1
from
dual
where
null
not
in
(
select
1
from
t2
);
drop
table
t1
,
t2
;
--
echo
#
--
echo
# MDEV-6486: Assertion `!table || (!table->read_set || bitmap_is_set(table->read_set, field_index))'
--
echo
# failed with SELECT SQ, TEXT field
--
echo
#
CREATE
TABLE
t1
(
a
VARCHAR
(
8
),
KEY
(
a
))
ENGINE
=
MyISAM
;
INSERT
INTO
t1
VALUES
(
'foo'
),(
'bar'
);
CREATE
TABLE
t2
(
b
VARCHAR
(
8
),
c
TINYTEXT
,
KEY
(
b
))
ENGINE
=
MyISAM
;
INSERT
INTO
t2
VALUES
(
'baz'
,
'baz'
),(
'qux'
,
'qux'
);
SELECT
(
SELECT
COUNT
(
*
)
FROM
t1
WHERE
a
=
c
)
AS
field
,
COUNT
(
DISTINCT
c
)
FROM
t2
WHERE
b
<=
'quux'
GROUP
BY
field
;
drop
table
t1
,
t2
;
SET
optimizer_switch
=
@@
global
.
optimizer_switch
;
set
@@
tmp_table_size
=
@@
global
.
tmp_table_size
;
sql/item.h
View file @
0d622bed
...
...
@@ -4116,6 +4116,11 @@ class Item_copy :public Item
virtual
double
val_real
()
=
0
;
virtual
longlong
val_int
()
=
0
;
virtual
int
save_in_field
(
Field
*
field
,
bool
no_conversions
)
=
0
;
bool
walk
(
Item_processor
processor
,
bool
walk_subquery
,
uchar
*
args
)
{
return
(
item
->
walk
(
processor
,
walk_subquery
,
args
))
||
(
this
->*
processor
)(
args
);
}
};
/**
...
...
sql/share/errmsg-utf8.txt
View file @
0d622bed
...
...
@@ -4841,7 +4841,7 @@ WARN_DATA_TRUNCATED 01000
spa "Datos truncados para columna '%s' en la línea %lu"
ER_WARN_USING_OTHER_HANDLER
eng "Using storage engine %s for table '%s'"
ger "
Für Tabelle '%s' wird Speicher-Engine %s
benutzt"
ger "
Speicher-Engine %s wird für Tabelle '%s'
benutzt"
jpn "ストレージエンジン %s が表 '%s' に利用されています。"
por "Usando engine de armazenamento %s para tabela '%s'"
spa "Usando motor de almacenamiento %s para tabla '%s'"
...
...
sql/sql_prepare.cc
View file @
0d622bed
...
...
@@ -2010,7 +2010,7 @@ static int mysql_test_handler_read(Prepared_statement *stmt,
THD
*
thd
=
stmt
->
thd
;
LEX
*
lex
=
stmt
->
lex
;
SQL_HANDLER
*
ha_table
;
DBUG_ENTER
(
"mysql_test_
select
"
);
DBUG_ENTER
(
"mysql_test_
handler_read
"
);
lex
->
select_lex
.
context
.
resolve_in_select_list
=
TRUE
;
...
...
win/packaging/CMakeLists.txt
View file @
0d622bed
...
...
@@ -51,7 +51,7 @@ IF(MSVC_VERSION EQUAL 1600 OR MSVC_VERSION EQUAL 1700 )
SET
(
WIX_MSVC_SUFFIX
"VS2010"
)
ELSEIF
(
MSVC_VERSION EQUAL 1800
)
SET
(
WIX_MSVC_SUFFIX
"VS2013"
)
ELSE
IF
(
MSVC_VERSION EQUAL 1900
)
ELSE
(
)
SET
(
WIX_MSVC_SUFFIX
"VS2015"
)
ENDIF
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment