Marko Mäkelä
dbc716675b
Merge 10.1 into 10.2
2019-04-03 10:32:21 +03:00
Sergei Golubchik
7b527e6334
cmake: fix krb5 detection on SUSE
...
`zypper install krb5-devel` installs executables outside of $PATH.
It also installs /etc/profile.d/krb5.sh that is sourced by a new
shell to add the new location to the $PATH. But this doesn't affect
the current shell.
Now decent Linux distros remind the user to run `. /etc/profile`
to reload paths in such a case. SUSE doesn't and for a good reason -
it doesn't work there. Because SUSE sets PROFILEREAD=true in the
environment and /etc/profile does not do anything.
By this point, one should not really expect `unset PROFILEREAD` to help,
and it does not - PROFILEREAD is readonly, and cannot be unset.
Apparently SUSE really *really* wants you to re-login between installing
MariaDB build dependencies and actually running the rpmbuild.
Which we cannot do it buildbot. And it would look very user-un-friendly
in the Build Instructions section of the manual.
So, we work around it - by adding SUSE krb5 path to the search list.
THIS IS SUSEEEEEE!!!
2019-04-02 18:22:37 +02:00
Sergei Golubchik
f2a0c758da
Merge branch '10.1' into 10.2
2019-03-29 10:58:20 +01:00
Sergei Golubchik
d8084116b5
MDEV-7066 No Source RPMs ... (and so no "yum-builddep MariaDB-server" either)
...
special cases:
* change systemd detection to use CHECK_LIBRARY_EXISTS at least once,
to have it detected by build_depends.cmake
* similarly, use find_library for pam
* unixODBC is weird, libodbc.so is in the unixODBC package, not
in the unixODBC-devel, where normally all .so files belong.
Packaging bug? As a workaround, use find_file(sql.h) instead of
find_path(sql.h) to make sure that /usr/include/sql.h (not /usr/include)
is cached by cmake, and later build_depends.cmake will select
unixODBC-devel, as a package owning /usr/include/sql.h file.
2019-03-27 22:51:37 +01:00
Marko Mäkelä
031fa8f1d2
Merge 10.1 into 10.2
2019-03-22 11:15:21 +02:00
Marko Mäkelä
8c493a910f
Merge 10.0 into 10.1
2019-03-21 21:06:01 +02:00
Marko Mäkelä
5d454181a8
MDEV-6262 follow-up: Ensure NUL termination on strncpy()
2019-03-21 10:29:59 +02:00
Oleksandr Byelkin
91d506cf2d
Merge branch '10.1' into 10.2
2019-02-19 16:47:45 +01:00
Sergei Golubchik
2de0b57dd1
Don't build aws_key_management plugin by default
2019-02-19 12:39:40 +01:00
Marko Mäkelä
081fd8bfa2
Merge 10.1 into 10.2
2019-02-02 11:40:02 +02:00
Oleksandr Byelkin
a3a4ea9355
postmerge rollbacks and fixes
2019-01-31 19:28:38 +01:00
Marko Mäkelä
32062cc61c
Merge 10.1 into 10.2
2018-11-06 08:41:48 +02:00
Daniel Black
3859273d04
MDEV-14267: correct FSF address
2018-10-30 19:45:09 +08:00
Vladislav Vaintroub
5a5bc21a65
auth_gssapi : Fix string formatting in my_printf_error()
2018-10-16 09:19:03 +01:00
Vladislav Vaintroub
952f394f8e
remove MYF flags from plugin
2018-10-16 09:17:03 +01:00
Vladislav Vaintroub
ea9c407e0b
Fix regular expression in replace_regex in auth_gssapi test.
2018-10-15 23:07:30 +01:00
Vladislav Vaintroub
64b48aebe4
make auth_gssapi_basic work, also in domain environment.
2018-10-15 22:57:15 +01:00
Vladislav Vaintroub
311126758e
MDEV-17462 Heap corruption with auth_gssapi on Windows.
...
use FreeContextAttributes() on individual members of
SecPkgContext_NativeNames, not on the struct itself.
2018-10-15 22:11:14 +01:00
Vladislav Vaintroub
753117fed0
AWS KMS plugin : more detailed message when API calls fail.
...
Output API function name, exception name, exception text
2018-10-03 23:59:08 +02:00
Marko Mäkelä
206528f722
Merge 10.1 into 10.2
2018-08-31 15:10:02 +03:00
Alexey Botchkov
c933970974
MDEV-16665 ed25519 describes itself as 1.0-alpha even though it's not alpha.
...
Plugin version name fixed.
2018-08-30 15:57:22 +04:00
Alexey Botchkov
2ad51a0bd8
MDEV-17095 pam_user_map module throws syntax error if group name contains backslash.
...
Let '\\' and '/' symbols to be part of a group name.
2018-08-30 14:51:15 +04:00
Sergei Golubchik
1dd3c8f8ba
Merge branch '10.1' into 10.2
2018-06-28 22:46:12 +02:00
Sergei Golubchik
16c14d7ba0
mark ed25519 stable
2018-06-28 15:46:57 +02:00
Sergei Golubchik
df704b5a1b
don't use my_error(0) or my_printf_error(0)
...
there's an assert that catches it
2018-06-21 10:15:27 +02:00
Marko Mäkelä
82f0dc35aa
Merge 10.1 into 10.2
2018-05-11 18:33:58 +03:00
Alexey Botchkov
dab4abbb09
MDEV-15480 Audit plugin does not respect QUERY_DML for audit plugin.
...
QUERY_DML_NO_SELECT flag added.
2018-05-10 19:23:35 +04:00
Alexey Botchkov
3cbfe8cc47
MDEV-15480 Audit plugin does not respect QUERY_DML for audit plugin.
...
QUERY_DML_NO_SELECT flag added.
2018-05-10 19:17:06 +04:00
Sergei Golubchik
c764bc0a78
Merge branch '10.1' into 10.2
2018-03-25 13:02:52 +02:00
Alexey Botchkov
0b74a1fa64
MDEV-14533 Provide information_schema tables using which hardware
...
information can be obtained.
plugin only enabled for Linux, as it fails building on BSD/MacOSX.
disks.test fixed.
2018-03-24 00:37:38 +04:00
Alexey Botchkov
3b644ac1f7
MDEV-14533 Provide information_schema tables using which hardware
...
information can be obtained.
disks.test moved to plugin's directory.
2018-03-24 00:30:28 +04:00
Sergei Golubchik
b6e2973ee6
MDEV-14533 Provide information_schema tables using which hardware information can be obtained.
...
update README, use maria_declare_plugin(), specify the author.
2018-03-23 00:55:19 +01:00
Alexey Botchkov
f5b2761c70
MDEV-10871 Add logging capability to pam_user_map.c.
...
The 'debug' option implemented for the pam_user_map.so.
2018-03-23 00:18:21 +04:00
Marko Mäkelä
3d7915f000
Merge 10.1 into 10.2
2018-03-21 22:58:52 +02:00
Alexey Botchkov
9652038453
MDEV-14533 Provide information_schema tables using which hardware
...
information can be obtained.
DISKS plugin implementation added to the tree.
2018-03-21 12:33:38 +04:00
Sergei Golubchik
4771ae4b22
Merge branch 'github/10.1' into 10.2
2018-02-06 14:50:50 +01:00
Vladislav Vaintroub
27733c8b12
auth_gssapi - fix test result and let the test run on Windows buildbot
2018-02-01 12:50:58 +00:00
Vladislav Vaintroub
9891ee5a2a
Fix and reenable Windows compiler warning C4800 (size_t conversion).
2018-01-26 10:37:46 +00:00
Marko Mäkelä
843e4508c0
Merge 10.1 into 10.2
2017-11-07 23:02:39 +02:00
Alexey Botchkov
6ceb49a941
MDEV-13921 Audit log writes invalid SQL if single-line comments are
...
present.
thread_pool_server_audit.test fixed.
plugin version updated.
2017-11-03 22:43:51 +04:00
Alexey Botchkov
1394ea6965
MDEV-13921 Audit log writes invalid SQL if single-line comments are
...
present.
thread_pool_server_audit.test fixed.
plugin version updated.
2017-11-03 22:40:44 +04:00
Alexey Botchkov
3a3f1328fe
MDEV-13921 Audit log writes invalid SQL if single-line comments are
...
present.
Escape special characters (like \r \n \t) instead of
replacing them with spaces.
2017-11-03 17:15:55 +04:00
Alexey Botchkov
04daf30e9b
MDEV-13921 Audit log writes invalid SQL if single-line comments are
...
present.
Escape special characters (like \r \n \t) instead of
replacing them with spaces.
2017-11-03 17:10:36 +04:00
Sergei Golubchik
e0a1c745ec
Merge branch '10.1' into 10.2
2017-10-24 14:53:18 +02:00
Sergei Golubchik
9d2e2d7533
Merge branch '10.0' into 10.1
2017-10-22 13:03:41 +02:00
Sergei Golubchik
da4503e956
Merge branch '5.5' into 10.0
2017-10-18 15:14:39 +02:00
Sergei Golubchik
d76f5774fe
MDEV-13459 Warnings, when compiling with gcc-7.x
...
mostly caused by -Wimplicit-fallthrough
2017-10-17 07:37:39 +02:00
Vladislav Vaintroub
dd85ec6f28
Update AWS C++ SDK version
...
This fixes some truncation warnings on Win64
2017-10-11 08:45:59 +02:00
Marko Mäkelä
6ca35c1428
Replace a non-ASCII character in a comment
2017-10-04 08:07:41 +03:00
Vladislav Vaintroub
4732767981
Fix Windows warnings : fix server_audit not to use my_win_open and Co
...
functions.
There is no reason to export IO this functionality from server, if it can
be easily implemented with CRT.
Note: for the sake of compatibility, we do not use _open() on Windows,
but open file with CreateFile, with FILE_SHARE_DELETE flag,
so it can be renamed or deleted when open. Also atomic append flag is used.
2017-10-03 19:42:16 +00:00