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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
42c6e65c
Commit
42c6e65c
authored
Mar 21, 2002
by
heikki@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sync0rw.ic, ut0byte.ic:
Forgot to merge these to 3.23.50
parent
1f142262
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
1 deletion
+15
-1
innobase/include/sync0rw.ic
innobase/include/sync0rw.ic
+1
-1
innobase/include/ut0byte.ic
innobase/include/ut0byte.ic
+14
-0
No files found.
innobase/include/sync0rw.ic
View file @
42c6e65c
...
@@ -356,7 +356,7 @@ rw_lock_s_unlock_func(
...
@@ -356,7 +356,7 @@ rw_lock_s_unlock_func(
/* Reset the shared lock by decrementing the reader count */
/* Reset the shared lock by decrementing the reader count */
ut_a
d
(lock->reader_count > 0);
ut_a(lock->reader_count > 0);
lock->reader_count--;
lock->reader_count--;
#ifdef UNIV_SYNC_DEBUG
#ifdef UNIV_SYNC_DEBUG
...
...
innobase/include/ut0byte.ic
View file @
42c6e65c
...
@@ -51,6 +51,20 @@ ut_dulint_get_low(
...
@@ -51,6 +51,20 @@ ut_dulint_get_low(
return(d.low);
return(d.low);
}
}
/***********************************************************
Converts a dulint (a struct of 2 ulints) to ib_longlong, which is a 64-bit
integer type. */
UNIV_INLINE
ib_longlong
ut_conv_dulint_to_longlong(
/*=======================*/
/* out: value in ib_longlong type */
dulint d) /* in: dulint */
{
return((ib_longlong)d.low
+ (((ib_longlong)d.high) << 32));
}
/***********************************************************
/***********************************************************
Tests if a dulint is zero. */
Tests if a dulint is zero. */
UNIV_INLINE
UNIV_INLINE
...
...
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