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
0b9f7f86
Commit
0b9f7f86
authored
Apr 16, 2019
by
Monty
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed not used function maria_clone()
parent
2faa7dcd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
15 deletions
+0
-15
include/maria.h
include/maria.h
+0
-1
storage/maria/ma_open.c
storage/maria/ma_open.c
+0
-14
No files found.
include/maria.h
View file @
0b9f7f86
...
...
@@ -286,7 +286,6 @@ extern int maria_close(MARIA_HA *file);
extern
int
maria_delete
(
MARIA_HA
*
file
,
const
uchar
*
buff
);
extern
MARIA_HA
*
maria_open
(
const
char
*
name
,
int
mode
,
uint
wait_if_locked
);
extern
MARIA_HA
*
maria_clone
(
struct
st_maria_share
*
share
,
int
mode
);
extern
int
maria_panic
(
enum
ha_panic_function
function
);
extern
int
maria_rfirst
(
MARIA_HA
*
file
,
uchar
*
buf
,
int
inx
);
extern
int
maria_rkey
(
MARIA_HA
*
file
,
uchar
*
buf
,
int
inx
,
...
...
storage/maria/ma_open.c
View file @
0b9f7f86
...
...
@@ -249,20 +249,6 @@ static MARIA_HA *maria_clone_internal(MARIA_SHARE *share,
}
/* maria_clone_internal */
/* Make a clone of a maria table */
MARIA_HA
*
maria_clone
(
MARIA_SHARE
*
share
,
int
mode
)
{
MARIA_HA
*
new_info
;
mysql_mutex_lock
(
&
THR_LOCK_maria
);
new_info
=
maria_clone_internal
(
share
,
mode
,
share
->
data_file_type
==
BLOCK_RECORD
?
share
->
bitmap
.
file
.
file
:
-
1
,
0
);
mysql_mutex_unlock
(
&
THR_LOCK_maria
);
return
new_info
;
}
/******************************************************************************
open a MARIA table
...
...
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