Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Faustin Lammler
mariadb-10.1
Commits
850a770a
Commit
850a770a
authored
Feb 06, 2019
by
Otto Kekäläinen
Browse files
Update changelog and refresh patches after 10.1.38 import
parent
534b0c92
Changes
5
Hide whitespace changes
Inline
Side-by-side
debian/changelog
View file @
850a770a
mariadb
-
10.1
(
10.1.38
-
0
+
deb9u1
)
stretch
-
security
;
urgency
=
high
*
SECURITY
UPDATE
:
New
upstream
release
10.1.38
.
Includes
fixes
for
the
following
security
vulnerabilities
(
Closes
:
#
920933
);
-
CVE
-
2019
-
2537
-
CVE
-
2019
-
2529
*
Update
correct
branch
name
in
gbp
.
conf
--
Otto
Kek
ä
l
ä
inen
<
otto
@
debian
.
org
>
Wed
,
06
Feb
2019
07
:
53
:
10
+
0200
mariadb
-
10.1
(
10.1.37
-
0
+
deb9u1
)
stretch
-
security
;
urgency
=
high
*
SECURITY
UPDATE
:
New
upstream
release
10.1.37
.
Includes
fixes
for
...
...
debian/patches/libmariadbclient-rename.patch
View file @
850a770a
...
...
@@ -28,8 +28,8 @@ Subject: libmariadbclient-rename
MYSQL_ADD_EXECUTABLE(mysqltest mysqltest.cc COMPONENT Test)
SET_SOURCE_FILES_PROPERTIES(mysqltest.cc PROPERTIES COMPILE_FLAGS "-DTHREADS")
-TARGET_LINK_LIBRARIES(mysqltest mysqlclient pcre
pcre
posix)
+TARGET_LINK_LIBRARIES(mysqltest mariadbclient pcre
pcre
posix)
-TARGET_LINK_LIBRARIES(mysqltest mysqlclient pcreposix
pcre
)
+TARGET_LINK_LIBRARIES(mysqltest mariadbclient pcreposix
pcre
)
SET_TARGET_PROPERTIES(mysqltest PROPERTIES ENABLE_EXPORTS TRUE)
...
...
debian/patches/mytop-merge_src:mytop_improvements.patch
View file @
850a770a
...
...
@@ -6,8 +6,6 @@ Subject: mytop-merge_src:mytop_improvements
scripts/mytop.sh | 184 +++++++++++++++++++++++++++++++++++++++----------------
1 file changed, 132 insertions(+), 52 deletions(-)
diff --git a/scripts/mytop.sh b/scripts/mytop.sh
index 17a87e9..e8cc902 100644
--- a/scripts/mytop.sh
+++ b/scripts/mytop.sh
@@ -15,6 +15,7 @@
mytop - display MariaDB server performan
...
...
@@ -172,7 +170,7 @@ index 17a87e9..e8cc902 100644
- printf(" Sorts: %5.0f qps now: %4.0f Slow qps: %3.1f Threads: %4.0f (%4.0f/%4.0f) %02.0f/%02.0f/%02.0f/%02.0f\n",
+ printf(" Sorts: %6.0f qps now: %4.0f Slow qps: %3.1f Threads: %4.0f (%4.0f/%4.0f) %02.0f/%02.0f/%02.0f/%02.0f\n",
( $STATUS{Sort_rows} - $OLD_STATUS{Sort_rows} ) / $t_delta,
( $STATUS{Sort_rows} - $OLD_STATUS{Sort_rows} ) / $t_delta,
( $STATUS{Questions} - $OLD_STATUS{Questions} ) / $t_delta,
( # slow now (qps)
@@ -1020,7 +1062,7 @@
sub GetData()
...
...
@@ -213,7 +211,7 @@ index 17a87e9..e8cc902 100644
if (defined($data->{Master_Host}))
{
if (defined($data->{Seconds_Behind_Master}))
@@ -121
0
,6 +125
2
,11 @@
sub GetData()
@@ -121
1
,6 +125
3
,11 @@
sub GetData()
# my $host = $thread->{Host};
my $host = gethostbyaddr(inet_aton($thread->{Host}), AF_INET);
# $host =~ s/^([^.]+).*/$1/;
...
...
@@ -225,7 +223,7 @@ index 17a87e9..e8cc902 100644
$thread->{Host} = $host;
}
@@ -123
3
,18 +128
0
,19 @@
sub GetData()
@@ -123
4
,18 +128
1
,19 @@
sub GetData()
## break EXPLAIN if you try to explain a mangled query. It
## may be re-enabled later as an option.
...
...
@@ -252,7 +250,7 @@ index 17a87e9..e8cc902 100644
## stow it in the cache
$qcache{$thread->{Id}} = $thread->{Info};
@@ -137
1
,7 +14
19
,7 @@
sub GetInnoDBStatus()
@@ -137
2
,7 +14
20
,7 @@
sub GetInnoDBStatus()
}
}
...
...
@@ -261,7 +259,7 @@ index 17a87e9..e8cc902 100644
open P, "|$config{pager}" or die "$!";
print keys %{$data[0]};
@@ -172
2
,7 +177
0
,7 @@
Help for mytop version $main::VERSION by
@@ -172
3
,7 +177
1
,7 @@
Help for mytop version $main::VERSION by
e - explain the query that a thread is running
E - display current replication error
f - show full query info for a given thread
...
...
@@ -270,7 +268,7 @@ index 17a87e9..e8cc902 100644
h - show only a specifc host's connections
H - toggle the mytop header
i - toggle the display of idle (sleeping) threads
@@ -173
7
,7 +178
5
,7 @@
Help for mytop version $main::VERSION by
@@ -173
8
,7 +178
6
,7 @@
Help for mytop version $main::VERSION by
r - reset the status counters (via FLUSH STATUS on your server)
R - change reverse IP lookup
s - change the delay between screen updates
...
...
@@ -279,7 +277,7 @@ index 17a87e9..e8cc902 100644
t - switch to thread view (default)
u - show only a specific user
V - show variables
@@ -174
5
,7 +179
3
,7 @@
Help for mytop version $main::VERSION by
@@ -174
6
,7 +179
4
,7 @@
Help for mytop version $main::VERSION by
! - Skip an error that has stopped replications (at your own risk)
L - show full queries (do not strip to terminal width)
...
...
@@ -288,7 +286,7 @@ index 17a87e9..e8cc902 100644
This version comes as part of the ${GREEN}MariaDB${RESET} distribution.
];
@@ -180
5
,6 +185
3
,9 @@
sub Hashes($)
@@ -180
6
,6 +185
4
,9 @@
sub Hashes($)
sub Execute($)
{
my $sql = shift;
...
...
@@ -298,7 +296,7 @@ index 17a87e9..e8cc902 100644
my $sth = $dbh->prepare($sql);
if (not $sth) { ReadMode($RM_RESET); die $DBI::errstr; }
@@ -186
1
,7 +191
2
,7 @@
B<mytop> [options]
@@ -186
2
,7 +191
3
,7 @@
B<mytop> [options]
=head1 AVAILABILITY
...
...
@@ -307,7 +305,7 @@ index 17a87e9..e8cc902 100644
This version comes as part of the B<MariaDB> distribution. See B<http://mariadb.org/>.
@@ -187
5
,6 +192
6
,7 @@
In order for B<mytop> to function proper
@@ -187
6
,6 +192
7
,7 @@
In order for B<mytop> to function proper
following:
* Perl 5.005 or newer
...
...
@@ -315,7 +313,7 @@ index 17a87e9..e8cc902 100644
* Getopt::Long
* DBI and DBD::mysql
* Term::ReadKey from CPAN
@@ -201
6
,46 +206
8
,49 @@
have two dashes `--'. Short arguments on
@@ -201
7
,46 +206
9
,49 @@
have two dashes `--'. Short arguments on
=over
...
...
@@ -377,7 +375,7 @@ index 17a87e9..e8cc902 100644
If you're running B<mytop> on the same host as MariaDB, you may wish to
have it use the MariaDB socket directly rather than a standard TCP/IP
@@ -207
0
,7 +212
5
,7 @@
Default: none.
@@ -207
1
,7 +212
6
,7 @@
Default: none.
=item B<--header> or B<--noheader>
...
...
@@ -386,7 +384,7 @@ index 17a87e9..e8cc902 100644
with the B<h> key while B<mytop> is running.
Default: header.
@@ -209
6
,7 +215
1
,7 @@
Default: idle.
@@ -209
7
,7 +215
2
,7 @@
Default: idle.
Specify if you want to be prompted to type in your database password.
This provides a little bit more security since it not only prevents
the password from viewable in a process list, but also doesn't require
...
...
@@ -395,7 +393,7 @@ index 17a87e9..e8cc902 100644
You will B<only> be prompted if a password has not been specified in
your config file or through another command line option.
@@ -211
0
,6 +216
5
,27 @@
with hostnames but toggling this option.
@@ -211
1
,6 +216
6
,27 @@
with hostnames but toggling this option.
Default: noresolve
...
...
@@ -423,7 +421,7 @@ index 17a87e9..e8cc902 100644
=back
Command-line arguments will always take precedence over config file
@@ -215
3
,6 +22
29
,13 @@
you want them to, of course).
@@ -215
4
,6 +22
30
,13 @@
you want them to, of course).
You may have white space on either side of the C<=> in lines of the
config file.
...
...
@@ -437,7 +435,7 @@ index 17a87e9..e8cc902 100644
=head2 Shortcut Keys
The following keys perform various actions while B<mytop> is
@@ -220
4
,8 +228
7
,8 @@
running queries appear at the top of the
@@ -220
5
,8 +228
8
,8 @@
running queries appear at the top of the
=item B<I>
...
...
@@ -448,7 +446,7 @@ index 17a87e9..e8cc902 100644
summarize that data rather than producing raw output.
=item B<k>
@@ -225
8
,8 +234
1
,8 @@
Show only threads owned by a giver user.
@@ -225
9
,8 +234
2
,8 @@
Show only threads owned by a giver user.
The B<s> key has a command-line counterpart: B<-s>.
...
...
@@ -459,7 +457,7 @@ index 17a87e9..e8cc902 100644
=head1 BUGS
@@ -229
2
,9 +237
5
,6 @@
width. If you have fairly long database/
@@ -229
3
,9 +237
6
,6 @@
width. If you have fairly long database/
may appear odd. I have no good idea as to how best to deal with that
yet. Suggestions are welcome.
...
...
@@ -469,7 +467,7 @@ index 17a87e9..e8cc902 100644
You should be able to specify the columns you'd like to see in the
display and the order in which they appear. If you only have one
username that connects to your database, it's probably not worth
@@ -241
1
,12 +249
1
,12 @@
terminals don't freak out.
@@ -241
2
,12 +249
2
,12 @@
terminals don't freak out.
=item jon r. luini <falcon@chime.com>
...
...
debian/patches/remove_rename_mariadb-server_files_in.patch
View file @
850a770a
...
...
@@ -8,7 +8,7 @@ Subject: remove_rename_mariadb-server_files_in
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -45
0
,12 +45
0
,6 @@
CONFIGURE_FILE(
@@ -45
6
,12 +45
6
,6 @@
CONFIGURE_FILE(
${CMAKE_SOURCE_DIR}/cmake/info_macros.cmake.in
${CMAKE_BINARY_DIR}/info_macros.cmake @ONLY)
...
...
debian/patches/scripts__mysql_install_db.sh__no_test.patch
View file @
850a770a
...
...
@@ -13,7 +13,7 @@ Subject: scripts__mysql_install_db.sh__no_test
--- a/scripts/mysql_install_db.sh
+++ b/scripts/mysql_install_db.sh
@@ -4
1
9,7 +4
1
9,7 @@
then
@@ -4
2
9,7 +4
2
9,7 @@
then
fi
# Create database directories
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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