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
440d4b28
Commit
440d4b28
authored
Nov 02, 2020
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix clang -Winconsistent-missing-override
parent
504d4c1f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
18 deletions
+16
-18
storage/maria/ha_s3.h
storage/maria/ha_s3.h
+16
-18
No files found.
storage/maria/ha_s3.h
View file @
440d4b28
#ifndef HA_S3_INCLUDED
#ifndef HA_S3_INCLUDED
#define HA_S3_INCLUDED
#define HA_S3_INCLUDED
/* Copyright (C) 2019
MariaDB Corpp
ration AB
/* Copyright (C) 2019
, 2020, MariaDB Corpo
ration AB
This program is free software; you can redistribute it and/or modify
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
it under the terms of the GNU General Public License as published by
...
@@ -31,52 +31,50 @@ class ha_s3 final :public ha_maria
...
@@ -31,52 +31,50 @@ class ha_s3 final :public ha_maria
~
ha_s3
()
{}
~
ha_s3
()
{}
int
create
(
const
char
*
name
,
TABLE
*
table_arg
,
int
create
(
const
char
*
name
,
TABLE
*
table_arg
,
HA_CREATE_INFO
*
ha_create_info
);
HA_CREATE_INFO
*
ha_create_info
)
override
;
int
open
(
const
char
*
name
,
int
mode
,
uint
open_flags
);
int
open
(
const
char
*
name
,
int
mode
,
uint
open_flags
)
override
;
int
write_row
(
const
uchar
*
buf
);
int
write_row
(
const
uchar
*
buf
)
override
;
int
update_row
(
const
uchar
*
old_data
,
const
uchar
*
new_data
)
int
update_row
(
const
uchar
*
,
const
uchar
*
)
override
{
{
DBUG_ENTER
(
"update_row"
);
DBUG_ENTER
(
"update_row"
);
DBUG_RETURN
(
HA_ERR_TABLE_READONLY
);
DBUG_RETURN
(
HA_ERR_TABLE_READONLY
);
}
}
int
delete_row
(
const
uchar
*
buf
)
int
delete_row
(
const
uchar
*
)
override
{
{
DBUG_ENTER
(
"delete_row"
);
DBUG_ENTER
(
"delete_row"
);
DBUG_RETURN
(
HA_ERR_TABLE_READONLY
);
DBUG_RETURN
(
HA_ERR_TABLE_READONLY
);
}
}
int
check
(
THD
*
thd
,
HA_CHECK_OPT
*
check_opt
)
int
check
(
THD
*
,
HA_CHECK_OPT
*
)
override
{
{
DBUG_ENTER
(
"delete_row"
);
DBUG_ENTER
(
"delete_row"
);
DBUG_RETURN
(
HA_ERR_TABLE_READONLY
);
DBUG_RETURN
(
HA_ERR_TABLE_READONLY
);
}
}
int
analyze
(
THD
*
thd
,
HA_CHECK_OPT
*
check_opt
)
int
analyze
(
THD
*
,
HA_CHECK_OPT
*
)
override
{
{
DBUG_ENTER
(
"analyze"
);
DBUG_ENTER
(
"analyze"
);
DBUG_RETURN
(
HA_ERR_TABLE_READONLY
);
DBUG_RETURN
(
HA_ERR_TABLE_READONLY
);
}
}
int
repair
(
THD
*
thd
,
HA_CHECK_OPT
*
check_opt
)
int
repair
(
THD
*
,
HA_CHECK_OPT
*
)
override
{
{
DBUG_ENTER
(
"repair"
);
DBUG_ENTER
(
"repair"
);
DBUG_RETURN
(
HA_ERR_TABLE_READONLY
);
DBUG_RETURN
(
HA_ERR_TABLE_READONLY
);
}
}
int
preload_keys
(
THD
*
thd
,
HA_CHECK_OPT
*
check_opt
)
int
preload_keys
(
THD
*
,
HA_CHECK_OPT
*
)
override
{
{
DBUG_ENTER
(
"preload_keys"
);
DBUG_ENTER
(
"preload_keys"
);
DBUG_RETURN
(
HA_ERR_TABLE_READONLY
);
DBUG_RETURN
(
HA_ERR_TABLE_READONLY
);
}
}
int
external_lock
(
THD
*
thd
,
int
lock_type
);
int
external_lock
(
THD
*
thd
,
int
lock_type
)
override
;
/*
/*
drop_table() is only used for internal temporary tables,
drop_table() is only used for internal temporary tables,
not applicable for s3
not applicable for s3
*/
*/
void
drop_table
(
const
char
*
name
)
void
drop_table
(
const
char
*
)
override
{}
{
int
delete_table
(
const
char
*
name
)
override
;
}
int
rename_table
(
const
char
*
from
,
const
char
*
to
)
override
;
int
delete_table
(
const
char
*
name
);
int
rename_table
(
const
char
*
from
,
const
char
*
to
);
int
discover_check_version
()
override
;
int
discover_check_version
()
override
;
int
rebind
();
int
rebind
();
S3_INFO
*
s3_open_args
()
{
return
open_args
;
}
S3_INFO
*
s3_open_args
()
override
{
return
open_args
;
}
void
register_handler
(
MARIA_HA
*
file
);
void
register_handler
(
MARIA_HA
*
file
)
override
;
};
};
#endif
/* HA_S3_INCLUDED */
#endif
/* HA_S3_INCLUDED */
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