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
4dace2c4
Commit
4dace2c4
authored
Sep 19, 2005
by
brian@zim.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.0
into zim.(none):/home/brian/mysql/mysql-5.0
parents
46861063
616c3244
Changes
13
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
222 additions
and
99 deletions
+222
-99
sql/examples/ha_archive.cc
sql/examples/ha_archive.cc
+1
-1
sql/examples/ha_example.cc
sql/examples/ha_example.cc
+1
-1
sql/examples/ha_tina.cc
sql/examples/ha_tina.cc
+1
-1
sql/ha_berkeley.cc
sql/ha_berkeley.cc
+1
-1
sql/ha_blackhole.cc
sql/ha_blackhole.cc
+1
-1
sql/ha_federated.cc
sql/ha_federated.cc
+1
-1
sql/ha_heap.cc
sql/ha_heap.cc
+1
-1
sql/ha_innodb.cc
sql/ha_innodb.cc
+1
-1
sql/ha_myisam.cc
sql/ha_myisam.cc
+1
-1
sql/ha_myisammrg.cc
sql/ha_myisammrg.cc
+2
-2
sql/ha_ndbcluster.cc
sql/ha_ndbcluster.cc
+1
-1
sql/handler.cc
sql/handler.cc
+196
-80
sql/handler.h
sql/handler.h
+14
-7
No files found.
sql/examples/ha_archive.cc
View file @
4dace2c4
...
@@ -136,7 +136,7 @@ static HASH archive_open_tables;
...
@@ -136,7 +136,7 @@ static HASH archive_open_tables;
#define ARCHIVE_CHECK_HEADER 254 // The number we use to determine corruption
#define ARCHIVE_CHECK_HEADER 254 // The number we use to determine corruption
/* dummy handlerton - only to have something to return from archive_db_init */
/* dummy handlerton - only to have something to return from archive_db_init */
static
handlerton
archive_hton
=
{
handlerton
archive_hton
=
{
"archive"
,
"archive"
,
0
,
/* slot */
0
,
/* slot */
0
,
/* savepoint size. */
0
,
/* savepoint size. */
...
...
sql/examples/ha_example.cc
View file @
4dace2c4
...
@@ -73,7 +73,7 @@
...
@@ -73,7 +73,7 @@
#include "ha_example.h"
#include "ha_example.h"
static
handlerton
example_hton
=
{
handlerton
example_hton
=
{
"CSV"
,
"CSV"
,
0
,
/* slot */
0
,
/* slot */
0
,
/* savepoint size. */
0
,
/* savepoint size. */
...
...
sql/examples/ha_tina.cc
View file @
4dace2c4
...
@@ -54,7 +54,7 @@ pthread_mutex_t tina_mutex;
...
@@ -54,7 +54,7 @@ pthread_mutex_t tina_mutex;
static
HASH
tina_open_tables
;
static
HASH
tina_open_tables
;
static
int
tina_init
=
0
;
static
int
tina_init
=
0
;
static
handlerton
tina_hton
=
{
handlerton
tina_hton
=
{
"CSV"
,
"CSV"
,
0
,
/* slot */
0
,
/* slot */
0
,
/* savepoint size. */
0
,
/* savepoint size. */
...
...
sql/ha_berkeley.cc
View file @
4dace2c4
...
@@ -107,7 +107,7 @@ static int berkeley_close_connection(THD *thd);
...
@@ -107,7 +107,7 @@ static int berkeley_close_connection(THD *thd);
static
int
berkeley_commit
(
THD
*
thd
,
bool
all
);
static
int
berkeley_commit
(
THD
*
thd
,
bool
all
);
static
int
berkeley_rollback
(
THD
*
thd
,
bool
all
);
static
int
berkeley_rollback
(
THD
*
thd
,
bool
all
);
static
handlerton
berkeley_hton
=
{
handlerton
berkeley_hton
=
{
"BerkeleyDB"
,
"BerkeleyDB"
,
0
,
/* slot */
0
,
/* slot */
0
,
/* savepoint size */
0
,
/* savepoint size */
...
...
sql/ha_blackhole.cc
View file @
4dace2c4
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
/* Blackhole storage engine handlerton */
/* Blackhole storage engine handlerton */
static
handlerton
blackhole_hton
=
{
handlerton
blackhole_hton
=
{
"BLACKHOLE"
,
"BLACKHOLE"
,
0
,
/* slot */
0
,
/* slot */
0
,
/* savepoint size. */
0
,
/* savepoint size. */
...
...
sql/ha_federated.cc
View file @
4dace2c4
...
@@ -693,7 +693,7 @@ error:
...
@@ -693,7 +693,7 @@ error:
/* Federated storage engine handlerton */
/* Federated storage engine handlerton */
static
handlerton
federated_hton
=
{
handlerton
federated_hton
=
{
"FEDERATED"
,
"FEDERATED"
,
0
,
/* slot */
0
,
/* slot */
0
,
/* savepoint size. */
0
,
/* savepoint size. */
...
...
sql/ha_heap.cc
View file @
4dace2c4
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
#include <myisampack.h>
#include <myisampack.h>
#include "ha_heap.h"
#include "ha_heap.h"
static
handlerton
heap_hton
=
{
handlerton
heap_hton
=
{
"MEMORY"
,
"MEMORY"
,
0
,
/* slot */
0
,
/* slot */
0
,
/* savepoint size. */
0
,
/* savepoint size. */
...
...
sql/ha_innodb.cc
View file @
4dace2c4
...
@@ -206,7 +206,7 @@ static int innobase_rollback_to_savepoint(THD* thd, void *savepoint);
...
@@ -206,7 +206,7 @@ static int innobase_rollback_to_savepoint(THD* thd, void *savepoint);
static
int
innobase_savepoint
(
THD
*
thd
,
void
*
savepoint
);
static
int
innobase_savepoint
(
THD
*
thd
,
void
*
savepoint
);
static
int
innobase_release_savepoint
(
THD
*
thd
,
void
*
savepoint
);
static
int
innobase_release_savepoint
(
THD
*
thd
,
void
*
savepoint
);
static
handlerton
innobase_hton
=
{
handlerton
innobase_hton
=
{
"InnoDB"
,
"InnoDB"
,
0
,
/* slot */
0
,
/* slot */
sizeof
(
trx_named_savept_t
),
/* savepoint size. TODO: use it */
sizeof
(
trx_named_savept_t
),
/* savepoint size. TODO: use it */
...
...
sql/ha_myisam.cc
View file @
4dace2c4
...
@@ -46,7 +46,7 @@ TYPELIB myisam_recover_typelib= {array_elements(myisam_recover_names)-1,"",
...
@@ -46,7 +46,7 @@ TYPELIB myisam_recover_typelib= {array_elements(myisam_recover_names)-1,"",
/* MyISAM handlerton */
/* MyISAM handlerton */
static
handlerton
myisam_hton
=
{
handlerton
myisam_hton
=
{
"MyISAM"
,
"MyISAM"
,
0
,
/* slot */
0
,
/* slot */
0
,
/* savepoint size. */
0
,
/* savepoint size. */
...
...
sql/ha_myisammrg.cc
View file @
4dace2c4
...
@@ -34,8 +34,8 @@
...
@@ -34,8 +34,8 @@
/* MyISAM MERGE handlerton */
/* MyISAM MERGE handlerton */
static
handlerton
myisammrg_hton
=
{
handlerton
myisammrg_hton
=
{
"MRG_M
y
ISAM"
,
"MRG_M
Y
ISAM"
,
0
,
/* slot */
0
,
/* slot */
0
,
/* savepoint size. */
0
,
/* savepoint size. */
NULL
,
/* close_connection */
NULL
,
/* close_connection */
...
...
sql/ha_ndbcluster.cc
View file @
4dace2c4
...
@@ -49,7 +49,7 @@ static int ndbcluster_close_connection(THD *thd);
...
@@ -49,7 +49,7 @@ static int ndbcluster_close_connection(THD *thd);
static
int
ndbcluster_commit
(
THD
*
thd
,
bool
all
);
static
int
ndbcluster_commit
(
THD
*
thd
,
bool
all
);
static
int
ndbcluster_rollback
(
THD
*
thd
,
bool
all
);
static
int
ndbcluster_rollback
(
THD
*
thd
,
bool
all
);
static
handlerton
ndbcluster_hton
=
{
handlerton
ndbcluster_hton
=
{
"ndbcluster"
,
"ndbcluster"
,
0
,
/* slot */
0
,
/* slot */
0
,
/* savepoint size */
0
,
/* savepoint size */
...
...
sql/handler.cc
View file @
4dace2c4
This diff is collapsed.
Click to expand it.
sql/handler.h
View file @
4dace2c4
...
@@ -177,13 +177,6 @@ enum db_type
...
@@ -177,13 +177,6 @@ enum db_type
DB_TYPE_DEFAULT
// Must be last
DB_TYPE_DEFAULT
// Must be last
};
};
struct
show_table_type_st
{
const
char
*
type
;
SHOW_COMP_OPTION
*
value
;
const
char
*
comment
;
enum
db_type
db_type
;
};
enum
row_type
{
ROW_TYPE_NOT_USED
=-
1
,
ROW_TYPE_DEFAULT
,
ROW_TYPE_FIXED
,
enum
row_type
{
ROW_TYPE_NOT_USED
=-
1
,
ROW_TYPE_DEFAULT
,
ROW_TYPE_FIXED
,
ROW_TYPE_DYNAMIC
,
ROW_TYPE_COMPRESSED
,
ROW_TYPE_DYNAMIC
,
ROW_TYPE_COMPRESSED
,
ROW_TYPE_REDUNDANT
,
ROW_TYPE_COMPACT
};
ROW_TYPE_REDUNDANT
,
ROW_TYPE_COMPACT
};
...
@@ -363,6 +356,20 @@ typedef struct
...
@@ -363,6 +356,20 @@ typedef struct
uint32
flags
;
/* global handler flags */
uint32
flags
;
/* global handler flags */
}
handlerton
;
}
handlerton
;
struct
show_table_type_st
{
const
char
*
type
;
SHOW_COMP_OPTION
*
value
;
const
char
*
comment
;
enum
db_type
db_type
;
handlerton
*
ht
;
};
struct
show_table_alias_st
{
const
char
*
alias
;
const
char
*
type
;
show_table_type_st
*
st
;
};
/* Possible flags of a handlerton */
/* Possible flags of a handlerton */
#define HTON_NO_FLAGS 0
#define HTON_NO_FLAGS 0
#define HTON_CLOSE_CURSORS_AT_COMMIT 1
#define HTON_CLOSE_CURSORS_AT_COMMIT 1
...
...
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