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
0f7e70c0
Commit
0f7e70c0
authored
Mar 23, 2011
by
Bjorn Munch
Browse files
Options
Browse Files
Download
Plain Diff
merge from 5.5-mtr
parents
aee1c4ea
de773fef
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
39 additions
and
3 deletions
+39
-3
client/mysqltest.cc
client/mysqltest.cc
+5
-3
mysql-test/include/not_crashrep.inc
mysql-test/include/not_crashrep.inc
+24
-0
mysql-test/suite/binlog/t/binlog_index.test
mysql-test/suite/binlog/t/binlog_index.test
+2
-0
mysql-test/suite/innodb/t/innodb_bug53756.test
mysql-test/suite/innodb/t/innodb_bug53756.test
+3
-0
mysql-test/suite/rpl/t/rpl_sync.test
mysql-test/suite/rpl/t/rpl_sync.test
+1
-0
mysql-test/t/crash_commit_before.test
mysql-test/t/crash_commit_before.test
+2
-0
mysql-test/t/myisam_crash_before_flush_keys.test
mysql-test/t/myisam_crash_before_flush_keys.test
+2
-0
No files found.
client/mysqltest.cc
View file @
0f7e70c0
...
@@ -8334,13 +8334,15 @@ int main(int argc, char **argv)
...
@@ -8334,13 +8334,15 @@ int main(int argc, char **argv)
}
}
var_set_string
(
"MYSQLTEST_FILE"
,
cur_file
->
file_name
);
var_set_string
(
"MYSQLTEST_FILE"
,
cur_file
->
file_name
);
init_re
();
init_re
();
/* Cursor protcol implies ps protocol */
if
(
cursor_protocol
)
ps_protocol
=
1
;
ps_protocol_enabled
=
ps_protocol
;
ps_protocol_enabled
=
ps_protocol
;
sp_protocol_enabled
=
sp_protocol
;
sp_protocol_enabled
=
sp_protocol
;
view_protocol_enabled
=
view_protocol
;
view_protocol_enabled
=
view_protocol
;
cursor_protocol_enabled
=
cursor_protocol
;
cursor_protocol_enabled
=
cursor_protocol
;
/* Cursor protcol implies ps protocol */
if
(
cursor_protocol_enabled
)
ps_protocol_enabled
=
1
;
st_connection
*
con
=
connections
;
st_connection
*
con
=
connections
;
#ifdef EMBEDDED_LIBRARY
#ifdef EMBEDDED_LIBRARY
...
...
mysql-test/include/not_crashrep.inc
0 → 100644
View file @
0f7e70c0
# Check if CrashReporter is enabled and would open a window
perl
;
sub
skip_test
{
# Only relevant on Mac OS X
return
0
unless
$
^
O
eq
'darwin'
;
my
$crep
=
`defaults read com.apple.CrashReporter DialogType`
;
return
0
if
$
?
;
chomp
(
$crep
);
$crep
=
lc
$crep
;
return
(
$crep
eq
'basic'
||
$crep
eq
'developer'
);
}
my
$skip
=
skip_test
();
open
(
F
,
">"
.
$ENV
{
'MYSQL_TMP_DIR'
}
.
"/crashrep.inc"
);
print
F
"let
\$
crashrep=
$skip
;
\n
"
;
close
F
;
EOF
--
source
$MYSQL_TMP_DIR
/
crashrep
.
inc
--
remove_file
$MYSQL_TMP_DIR
/
crashrep
.
inc
if
(
$crashrep
)
{
--
skip
CrashReporter
would
popup
a
window
}
mysql-test/suite/binlog/t/binlog_index.test
View file @
0f7e70c0
...
@@ -6,6 +6,8 @@ source include/not_embedded.inc;
...
@@ -6,6 +6,8 @@ source include/not_embedded.inc;
# Don't test this under valgrind, memory leaks will occur
# Don't test this under valgrind, memory leaks will occur
--
source
include
/
not_valgrind
.
inc
--
source
include
/
not_valgrind
.
inc
source
include
/
have_debug
.
inc
;
source
include
/
have_debug
.
inc
;
# Avoid CrashReporter popup on Mac
--
source
include
/
not_crashrep
.
inc
call
mtr
.
add_suppression
(
'Attempting backtrace'
);
call
mtr
.
add_suppression
(
'Attempting backtrace'
);
call
mtr
.
add_suppression
(
'MSYQL_BIN_LOG::purge_logs failed to process registered files that would be purged.'
);
call
mtr
.
add_suppression
(
'MSYQL_BIN_LOG::purge_logs failed to process registered files that would be purged.'
);
call
mtr
.
add_suppression
(
'MSYQL_BIN_LOG::open failed to sync the index file'
);
call
mtr
.
add_suppression
(
'MSYQL_BIN_LOG::open failed to sync the index file'
);
...
...
mysql-test/suite/innodb/t/innodb_bug53756.test
View file @
0f7e70c0
...
@@ -17,6 +17,9 @@
...
@@ -17,6 +17,9 @@
# This test case needs InnoDB.
# This test case needs InnoDB.
--
source
include
/
have_innodb
.
inc
--
source
include
/
have_innodb
.
inc
# Avoid CrashReporter popup on Mac
--
source
include
/
not_crashrep
.
inc
#
#
# Precautionary clean up.
# Precautionary clean up.
#
#
...
...
mysql-test/suite/rpl/t/rpl_sync.test
View file @
0f7e70c0
...
@@ -31,6 +31,7 @@
...
@@ -31,6 +31,7 @@
--
source
include
/
not_valgrind
.
inc
--
source
include
/
not_valgrind
.
inc
--
source
include
/
have_debug
.
inc
--
source
include
/
have_debug
.
inc
--
source
include
/
have_innodb
.
inc
--
source
include
/
have_innodb
.
inc
--
source
include
/
not_crashrep
.
inc
call
mtr
.
add_suppression
(
'Attempting backtrace'
);
call
mtr
.
add_suppression
(
'Attempting backtrace'
);
call
mtr
.
add_suppression
(
"Recovery from master pos .* and file master-bin.000001"
);
call
mtr
.
add_suppression
(
"Recovery from master pos .* and file master-bin.000001"
);
...
...
mysql-test/t/crash_commit_before.test
View file @
0f7e70c0
--
source
include
/
not_embedded
.
inc
--
source
include
/
not_embedded
.
inc
# Don't test this under valgrind, memory leaks will occur
# Don't test this under valgrind, memory leaks will occur
--
source
include
/
not_valgrind
.
inc
--
source
include
/
not_valgrind
.
inc
# Avoid CrashReporter popup on Mac
--
source
include
/
not_crashrep
.
inc
# Binary must be compiled with debug for crash to occur
# Binary must be compiled with debug for crash to occur
--
source
include
/
have_debug
.
inc
--
source
include
/
have_debug
.
inc
...
...
mysql-test/t/myisam_crash_before_flush_keys.test
View file @
0f7e70c0
...
@@ -10,6 +10,8 @@
...
@@ -10,6 +10,8 @@
call
mtr
.
add_suppression
(
"Got an error from thread_id=.*ha_myisam.cc:"
);
call
mtr
.
add_suppression
(
"Got an error from thread_id=.*ha_myisam.cc:"
);
call
mtr
.
add_suppression
(
"MySQL thread id .*, query id .* localhost.*root Checking table"
);
call
mtr
.
add_suppression
(
"MySQL thread id .*, query id .* localhost.*root Checking table"
);
# Avoid CrashReporter popup on Mac
--
source
include
/
not_crashrep
.
inc
let
$MYSQLD_DATADIR
=
`select @@datadir`
;
let
$MYSQLD_DATADIR
=
`select @@datadir`
;
SET
GLOBAL
delay_key_write
=
ALL
;
SET
GLOBAL
delay_key_write
=
ALL
;
...
...
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