Skip to content

Commit ea2bc97

Browse files
committed
Merge 10.1 into 10.2
2 parents fbfb5b5 + 1ea266f commit ea2bc97

File tree

129 files changed

+1426
-138
lines changed

Some content is hidden

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

129 files changed

+1426
-138
lines changed

cmake/configure.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/perl
1+
#!/usr/bin/env perl
22

33
# Copyright (c) 2009, 2012, Oracle and/or its affiliates. All rights reserved.
44
#

cmake/dtrace.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ MACRO(CHECK_DTRACE)
4343
IF(DTRACE AND NOT CMAKE_SYSTEM_NAME MATCHES "FreeBSD"
4444
AND NOT BUGGY_GCC_NO_DTRACE_MODULES
4545
AND NOT BUGGY_LINUX_DTRACE
46-
AND NOT CMAKE_SYSTEM_NAME MATCHES "SunOS")
46+
AND NOT CMAKE_SYSTEM_NAME MATCHES "SunOS"
47+
AND NOT WIN32)
4748
SET(ENABLE_DTRACE ON CACHE BOOL "Enable dtrace")
4849
ENDIF()
4950
# On GNU/Hurd, dtrace is not supported

dbug/dbug.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -486,17 +486,17 @@ static int DbugParse(CODE_STATE *cs, const char *control)
486486
rel= control[0] == '+' || control[0] == '-';
487487
if ((!rel || (!stack->out_file && !stack->next)))
488488
{
489+
LockIfInitSettings(cs);
489490
FreeState(cs, 0);
490491
stack->flags= 0;
491492
stack->delay= 0;
492493
stack->maxdepth= 0;
493494
stack->sub_level= 0;
494495
stack->out_file= sstderr;
495496
stack->functions= NULL;
496-
LockIfInitSettings(cs);
497497
stack->keywords= NULL;
498-
UnlockIfInitSettings(cs);
499498
stack->processes= NULL;
499+
UnlockIfInitSettings(cs);
500500
}
501501
else if (!stack->out_file)
502502
{

dbug/dbug_add_tags.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/perl
1+
#!/usr/bin/env perl
22

33
# Copyright (c) 2002 MySQL AB, 2009 Sun Microsystems, Inc.
44
# Use is subject to license terms.

dbug/remove_function_from_trace.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/perl
1+
#!/usr/bin/env perl
22

33
die <<EEE unless @ARGV;
44
Usage: $0 func1 [func2 [ ...] ]

debian/additions/mysqlreport

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/perl -w
1+
#!/usr/bin/env perl -w
22

33
# mysqlreport v4.0 Oct 23 2015
44
# http://hackmysql.com/mysqlreport

extra/yassl/include/openssl/generate_prefix_files.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/perl
1+
#!/usr/bin/env perl
22

33
# Copyright (C) 2006 MySQL AB
44
# Use is subject to license terms

mysql-test/lib/process-purecov-annotations.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/perl
1+
#!/usr/bin/env perl
22
# -*- cperl -*-
33

44
# This script processes a .gcov coverage report to honor purecov

mysql-test/lib/t/SafeProcessStress.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/perl
1+
#!/usr/bin/env perl
22
# -*- cperl -*-
33

44
# Copyright (c) 2007, 2008 MySQL AB

mysql-test/lib/t/copytree.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/perl
1+
#!/usr/bin/env perl
22
# -*- cperl -*-
33

44
# Copyright (c) 2007 MySQL AB

0 commit comments

Comments
 (0)