Skip to content

Commit

Permalink
Merge branch 'mysql-5.6' into mysql-5.7
Browse files Browse the repository at this point in the history
  • Loading branch information
marcalff committed Feb 15, 2017
2 parents 23dc12f + d034396 commit da4ed6d
Show file tree
Hide file tree
Showing 12 changed files with 26 additions and 25 deletions.
7 changes: 4 additions & 3 deletions storage/perfschema/unittest/pfs-t.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2008, 2016, Oracle and/or its affiliates. All rights reserved.
/* Copyright (c) 2008, 2017, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -1386,7 +1386,8 @@ void test_locker_disabled()
ok(socket_A1 != NULL, "instrumented");
/* Socket thread owner has not been set */
socket_locker= psi->start_socket_wait(&socket_state, socket_A1, PSI_SOCKET_SEND, 12, "foo.cc", 12);
ok(socket_locker == NULL, "no locker (no thread owner)");
ok(socket_locker != NULL, "locker (owner not used)");
psi->end_socket_wait(socket_locker, 10);

/* Pretend the running thread is not instrumented */
/* ---------------------------------------------- */
Expand Down Expand Up @@ -1872,6 +1873,6 @@ int main(int, char **)

MY_INIT("pfs-t");
do_all_tests();
return 0;
return (exit_status());
}

4 changes: 2 additions & 2 deletions storage/perfschema/unittest/pfs_account-oom-t.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
/* Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -162,5 +162,5 @@ int main(int, char **)
plan(12);
MY_INIT("pfs_account-oom-t");
do_all_tests();
return 0;
return (exit_status());
}
4 changes: 2 additions & 2 deletions storage/perfschema/unittest/pfs_connect_attr-t.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.
/* Copyright (c) 2008, 2017, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -341,5 +341,5 @@ int main(int, char **)
diag("skipping the cp1251 tests : missing character set");
plan(59 + (cs_cp1251 ? 10 : 0));
do_all_tests();
return 0;
return (exit_status());
}
4 changes: 2 additions & 2 deletions storage/perfschema/unittest/pfs_host-oom-t.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
/* Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -135,6 +135,6 @@ int main(int, char **)
plan(6);
MY_INIT("pfs_host-oom-t");
do_all_tests();
return 0;
return (exit_status());
}

4 changes: 2 additions & 2 deletions storage/perfschema/unittest/pfs_instr-oom-t.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2008, 2016, Oracle and/or its affiliates. All rights reserved.
/* Copyright (c) 2008, 2017, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -446,6 +446,6 @@ int main(int, char **)
plan(32);
MY_INIT("pfs_instr-oom-t");
do_all_tests();
return 0;
return (exit_status());
}

4 changes: 2 additions & 2 deletions storage/perfschema/unittest/pfs_instr-t.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2008, 2016, Oracle and/or its affiliates. All rights reserved.
/* Copyright (c) 2008, 2017, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -476,6 +476,6 @@ int main(int, char **)
plan(103);
MY_INIT("pfs_instr-t");
do_all_tests();
return 0;
return (exit_status());
}

4 changes: 2 additions & 2 deletions storage/perfschema/unittest/pfs_instr_class-oom-t.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.
/* Copyright (c) 2008, 2017, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -101,6 +101,6 @@ int main(int, char **)
plan(11);
MY_INIT("pfs_instr_info-oom-t");
do_all_tests();
return 0;
return (exit_status());
}

4 changes: 2 additions & 2 deletions storage/perfschema/unittest/pfs_instr_class-t.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.
/* Copyright (c) 2008, 2017, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -738,6 +738,6 @@ int main(int, char **)
plan(209);
MY_INIT("pfs_instr_info-t");
do_all_tests();
return 0;
return (exit_status());
}

4 changes: 2 additions & 2 deletions storage/perfschema/unittest/pfs_misc-t.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
/* Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -83,5 +83,5 @@ int main(int, char **)
plan(3);
MY_INIT("pfs_misc-t");
do_all_tests();
return exit_status();
return (exit_status());
}
4 changes: 2 additions & 2 deletions storage/perfschema/unittest/pfs_noop-t.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
/* Copyright (c) 2013, 2017, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -229,6 +229,6 @@ int main(int, char **)

MY_INIT("pfs_noop-t");
test_noop();
return 0;
return (exit_status());
}

4 changes: 2 additions & 2 deletions storage/perfschema/unittest/pfs_timer-t.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.
/* Copyright (c) 2008, 2017, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -117,6 +117,6 @@ int main(int, char **)
plan(5);
MY_INIT("pfs_timer-t");
do_all_tests();
return 0;
return (exit_status());
}

4 changes: 2 additions & 2 deletions storage/perfschema/unittest/pfs_user-oom-t.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
/* Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -133,6 +133,6 @@ int main(int, char **)
plan(6);
MY_INIT("pfs_user-oom-t");
do_all_tests();
return 0;
return (exit_status());
}

0 comments on commit da4ed6d

Please sign in to comment.