Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
tarantool
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
core
tarantool
Commits
706ef774
Commit
706ef774
authored
14 years ago
by
Yuriy Vostrikov
Browse files
Options
Downloads
Patches
Plain Diff
[core] hide v04 stuff
parent
5cafa032
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
core/log_io.c
+13
-0
13 additions, 0 deletions
core/log_io.c
include/log_io.h
+0
-12
0 additions, 12 deletions
include/log_io.h
with
13 additions
and
12 deletions
core/log_io.c
+
13
−
0
View file @
706ef774
...
...
@@ -76,6 +76,19 @@ struct log_io_iter {
int
io_rate_limit
;
};
struct
row_v04
{
i64
lsn
;
/* this used to be tid */
u16
type
;
u32
len
;
u8
data
[];
}
__packed__
;
static
inline
struct
row_v04
*
row_v04
(
const
struct
tbuf
*
t
)
{
return
(
struct
row_v04
*
)
t
->
data
;
}
int
confirm_lsn
(
struct
recovery_state
*
r
,
i64
lsn
)
{
...
...
This diff is collapsed.
Click to expand it.
include/log_io.h
+
0
−
12
View file @
706ef774
...
...
@@ -98,13 +98,6 @@ struct wal_write_request {
u8
data
[];
}
__packed__
;
struct
row_v04
{
i64
lsn
;
/* this used to be tid */
u16
type
;
u32
len
;
u8
data
[];
}
__packed__
;
struct
row_v11
{
u32
header_crc32c
;
i64
lsn
;
...
...
@@ -114,11 +107,6 @@ struct row_v11 {
u8
data
[];
}
__packed__
;
static
inline
struct
row_v04
*
row_v04
(
const
struct
tbuf
*
t
)
{
return
(
struct
row_v04
*
)
t
->
data
;
}
static
inline
struct
row_v11
*
row_v11
(
const
struct
tbuf
*
t
)
{
return
(
struct
row_v11
*
)
t
->
data
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment