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
ee7d4257
Commit
ee7d4257
authored
Jun 29, 2009
by
marko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
branches/zip: lock_rec_validate_page(): Add another assertion
to track down Issue #289.
parent
6bfbdb2d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
include/univ.i
include/univ.i
+1
-1
lock/lock0lock.c
lock/lock0lock.c
+4
-2
No files found.
include/univ.i
View file @
ee7d4257
...
...
@@ -170,7 +170,6 @@ command. Not tested on Windows. */
#define UNIV_COMPILE_TEST_FUNCS
*/
#
if
0
#
define
UNIV_DEBUG_VALGRIND
/* Enable extra
Valgrind instrumentation */
#
define
UNIV_DEBUG_PRINT
/* Enable the compilation of
...
...
@@ -181,6 +180,7 @@ command. Not tested on Windows. */
debugging without UNIV_DEBUG */
#
define
UNIV_DEBUG
/* Enable ut_ad() assertions
and disable UNIV_INLINE */
#
if
0
#
define
UNIV_DEBUG_FILE_ACCESSES
/* Debug .ibd file access
(field file_page_was_freed
in buf_page_t) */
...
...
lock/lock0lock.c
View file @
ee7d4257
...
...
@@ -4736,6 +4736,7 @@ lock_rec_validate_page(
ulint
nth_lock
=
0
;
ulint
nth_bit
=
0
;
ulint
i
;
ulint
zip_size
;
mtr_t
mtr
;
mem_heap_t
*
heap
=
NULL
;
ulint
offsets_
[
REC_OFFS_NORMAL_SIZE
];
...
...
@@ -4746,8 +4747,9 @@ lock_rec_validate_page(
mtr_start
(
&
mtr
);
block
=
buf_page_get
(
space
,
fil_space_get_zip_size
(
space
),
page_no
,
RW_X_LATCH
,
&
mtr
);
zip_size
=
fil_space_get_zip_size
(
space
);
ut_ad
(
zip_size
!=
ULINT_UNDEFINED
);
block
=
buf_page_get
(
space
,
zip_size
,
page_no
,
RW_X_LATCH
,
&
mtr
);
buf_block_dbg_add_level
(
block
,
SYNC_NO_ORDER_CHECK
);
page
=
block
->
frame
;
...
...
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