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
d077cf03
Commit
d077cf03
authored
Feb 18, 2011
by
Vasil Dimov
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql-5.5-innodb -> mysql-5.5
parents
76fcda9c
b4e44527
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
8 deletions
+24
-8
mysql-test/collections/default.experimental
mysql-test/collections/default.experimental
+0
-2
mysql-test/suite/innodb/t/innodb_bug60049.test
mysql-test/suite/innodb/t/innodb_bug60049.test
+1
-1
mysql-test/suite/innodb/t/innodb_information_schema.test
mysql-test/suite/innodb/t/innodb_information_schema.test
+23
-5
No files found.
mysql-test/collections/default.experimental
View file @
d077cf03
...
@@ -5,8 +5,6 @@ binlog.binlog_multi_engine # joro : NDB tests marked as experiment
...
@@ -5,8 +5,6 @@ binlog.binlog_multi_engine # joro : NDB tests marked as experiment
funcs_1.charset_collation_1 # depends on compile-time decisions
funcs_1.charset_collation_1 # depends on compile-time decisions
innodb.innodb_information_schema # Bug#48883 2010-05-11 alik Test "innodb_information_schema" takes fewer locks than expected
main.func_math @freebsd # Bug#43020 2010-05-04 alik main.func_math fails on FreeBSD in PB2
main.func_math @freebsd # Bug#43020 2010-05-04 alik main.func_math fails on FreeBSD in PB2
main.gis-rtree @freebsd # Bug#38965 2010-05-04 alik test cases gis-rtree, type_float, type_newdecimal fail in embedded server
main.gis-rtree @freebsd # Bug#38965 2010-05-04 alik test cases gis-rtree, type_float, type_newdecimal fail in embedded server
main.lock_multi_bug38499 # Bug#47448 2009-09-19 alik main.lock_multi_bug38499 times out sporadically
main.lock_multi_bug38499 # Bug#47448 2009-09-19 alik main.lock_multi_bug38499 times out sporadically
...
...
mysql-test/suite/innodb/t/innodb_bug60049.test
View file @
d077cf03
...
@@ -13,7 +13,7 @@ let $MYSQLD_DATADIR=`select @@datadir`;
...
@@ -13,7 +13,7 @@ let $MYSQLD_DATADIR=`select @@datadir`;
# Shut down the server
# Shut down the server
--
exec
echo
"wait"
>
$MYSQLTEST_VARDIR
/
tmp
/
mysqld
.
1.
expect
--
exec
echo
"wait"
>
$MYSQLTEST_VARDIR
/
tmp
/
mysqld
.
1.
expect
--
shutdown_server
1
0
--
shutdown_server
3
0
--
source
include
/
wait_until_disconnected
.
inc
--
source
include
/
wait_until_disconnected
.
inc
# Check the tail of ID_IND (SYS_TABLES.ID)
# Check the tail of ID_IND (SYS_TABLES.ID)
...
...
mysql-test/suite/innodb/t/innodb_information_schema.test
View file @
d077cf03
...
@@ -118,11 +118,29 @@ SELECT * FROM ```t'\"_str` WHERE c1 = '4' FOR UPDATE;
...
@@ -118,11 +118,29 @@ SELECT * FROM ```t'\"_str` WHERE c1 = '4' FOR UPDATE;
# executes before some of them, resulting in less than expected number
# executes before some of them, resulting in less than expected number
# of rows being selected from innodb_locks. If there is a bug and there
# of rows being selected from innodb_locks. If there is a bug and there
# are no 14 rows in innodb_locks then this test will fail with timeout.
# are no 14 rows in innodb_locks then this test will fail with timeout.
let
$count
=
14
;
# Notice that if we query INNODB_LOCKS more often than once per 0.1 sec
let
$table
=
INFORMATION_SCHEMA
.
INNODB_LOCKS
;
# then its contents will never change because the cache from which it is
--
source
include
/
wait_until_rows_count
.
inc
# filled is updated only if it has not been read for 0.1 seconds. See
# the above enables the query log, re-disable it
# CACHE_MIN_IDLE_TIME_US in trx/trx0i_s.c.
--
disable_query_log
let
$cnt
=
10
;
while
(
$cnt
)
{
let
$success
=
`SELECT COUNT(*) = 14 FROM INFORMATION_SCHEMA.INNODB_LOCKS`
;
if
(
$success
)
{
let
$cnt
=
0
;
}
if
(
!
$success
)
{
real_sleep
0.2
;
dec
$cnt
;
}
}
if
(
!
$success
)
{
--
echo
Timeout
waiting
for
rows
in
INNODB_LOCKS
to
appear
}
SELECT
lock_mode
,
lock_type
,
lock_table
,
lock_index
,
lock_rec
,
lock_data
SELECT
lock_mode
,
lock_type
,
lock_table
,
lock_index
,
lock_rec
,
lock_data
FROM
INFORMATION_SCHEMA
.
INNODB_LOCKS
ORDER
BY
lock_data
;
FROM
INFORMATION_SCHEMA
.
INNODB_LOCKS
ORDER
BY
lock_data
;
...
...
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