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
c21c89cd
Commit
c21c89cd
authored
Dec 23, 2000
by
serg@serg.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
raid.h moved my_raid_type() out of #ifdef USE_RAID
sql_show.cc #define USE_RAID removed
parent
4949aea3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
8 deletions
+13
-8
include/raid.h
include/raid.h
+13
-6
sql/sql_show.cc
sql/sql_show.cc
+0
-2
No files found.
include/raid.h
View file @
c21c89cd
...
@@ -25,7 +25,15 @@
...
@@ -25,7 +25,15 @@
extern
const
char
*
raid_type_string
[];
extern
const
char
*
raid_type_string
[];
#if defined(USE_RAID)
#ifdef __cplusplus
extern
"C"
{
#endif
const
char
*
my_raid_type
(
int
raid_type
);
#ifdef __cplusplus
}
#endif
#ifdef USE_RAID
#ifdef __GNUC__
#ifdef __GNUC__
#pragma interface
/* gcc class implementation */
#pragma interface
/* gcc class implementation */
...
@@ -84,7 +92,6 @@ extern "C" {
...
@@ -84,7 +92,6 @@ extern "C" {
int
my_raid_close
(
File
,
myf
MyFlags
);
int
my_raid_close
(
File
,
myf
MyFlags
);
int
my_raid_fstat
(
int
Filedes
,
struct
stat
*
buf
,
myf
MyFlags
);
int
my_raid_fstat
(
int
Filedes
,
struct
stat
*
buf
,
myf
MyFlags
);
const
char
*
my_raid_type
(
int
raid_type
);
#ifdef __cplusplus
#ifdef __cplusplus
}
}
...
...
sql/sql_show.cc
View file @
c21c89cd
...
@@ -21,8 +21,6 @@
...
@@ -21,8 +21,6 @@
#include "sql_select.h" // For select_describe
#include "sql_select.h" // For select_describe
#include "sql_acl.h"
#include "sql_acl.h"
#include <my_dir.h>
#include <my_dir.h>
#undef USE_RAID
#define USE_RAID
#ifdef HAVE_BERKELEY_DB
#ifdef HAVE_BERKELEY_DB
#include "ha_berkeley.h" // For berkeley_show_logs
#include "ha_berkeley.h" // For berkeley_show_logs
...
...
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