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
38a59efb
Commit
38a59efb
authored
Aug 30, 2006
by
acurtis/antony@xiphis.org/ltantony.xiphis.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add 2 placeholder values for config and system variables.
parent
7ae3682d
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
42 additions
and
14 deletions
+42
-14
include/mysql/plugin.h
include/mysql/plugin.h
+3
-1
plugin/fulltext/plugin_example.c
plugin/fulltext/plugin_example.c
+3
-1
sql/ha_innodb.cc
sql/ha_innodb.cc
+3
-1
sql/ha_ndbcluster.cc
sql/ha_ndbcluster.cc
+3
-1
sql/ha_partition.cc
sql/ha_partition.cc
+3
-1
sql/log.cc
sql/log.cc
+3
-1
storage/archive/ha_archive.cc
storage/archive/ha_archive.cc
+3
-1
storage/blackhole/ha_blackhole.cc
storage/blackhole/ha_blackhole.cc
+3
-1
storage/csv/ha_tina.cc
storage/csv/ha_tina.cc
+3
-1
storage/example/ha_example.cc
storage/example/ha_example.cc
+3
-1
storage/federated/ha_federated.cc
storage/federated/ha_federated.cc
+3
-1
storage/heap/ha_heap.cc
storage/heap/ha_heap.cc
+3
-1
storage/myisam/ha_myisam.cc
storage/myisam/ha_myisam.cc
+3
-1
storage/myisammrg/ha_myisammrg.cc
storage/myisammrg/ha_myisammrg.cc
+3
-1
No files found.
include/mysql/plugin.h
View file @
38a59efb
...
@@ -60,7 +60,7 @@ __MYSQL_DECLARE_PLUGIN(NAME, \
...
@@ -60,7 +60,7 @@ __MYSQL_DECLARE_PLUGIN(NAME, \
builtin_ ## NAME ## _sizeof_struct_st_plugin, \
builtin_ ## NAME ## _sizeof_struct_st_plugin, \
builtin_ ## NAME ## _plugin)
builtin_ ## NAME ## _plugin)
#define mysql_declare_plugin_end ,{0,0,0,0,0,0,0,0,0}}
#define mysql_declare_plugin_end ,{0,0,0,0,0,0,0,0,0
,0,0
}}
/*
/*
declarations for SHOW STATUS support in plugins
declarations for SHOW STATUS support in plugins
...
@@ -96,6 +96,8 @@ struct st_mysql_plugin
...
@@ -96,6 +96,8 @@ struct st_mysql_plugin
int
(
*
deinit
)(
void
);
/* the function to invoke when plugin is unloaded */
int
(
*
deinit
)(
void
);
/* the function to invoke when plugin is unloaded */
unsigned
int
version
;
/* plugin version (for SHOW PLUGINS) */
unsigned
int
version
;
/* plugin version (for SHOW PLUGINS) */
struct
st_mysql_show_var
*
status_vars
;
struct
st_mysql_show_var
*
status_vars
;
void
*
__reserved1
;
/* placeholder for system variables */
void
*
__reserved2
;
/* placeholder for config options */
};
};
/*************************************************************************
/*************************************************************************
...
...
plugin/fulltext/plugin_example.c
View file @
38a59efb
...
@@ -225,7 +225,9 @@ mysql_declare_plugin(ftexample)
...
@@ -225,7 +225,9 @@ mysql_declare_plugin(ftexample)
simple_parser_plugin_init
,
/* init function (when loaded) */
simple_parser_plugin_init
,
/* init function (when loaded) */
simple_parser_plugin_deinit
,
/* deinit function (when unloaded) */
simple_parser_plugin_deinit
,
/* deinit function (when unloaded) */
0x0001
,
/* version */
0x0001
,
/* version */
simple_status
/* status variables */
simple_status
,
/* status variables */
NULL
,
/* system variables */
NULL
/* config options */
}
}
mysql_declare_plugin_end
;
mysql_declare_plugin_end
;
sql/ha_innodb.cc
View file @
38a59efb
...
@@ -7623,7 +7623,9 @@ mysql_declare_plugin(innobase)
...
@@ -7623,7 +7623,9 @@ mysql_declare_plugin(innobase)
innobase_init
,
/* Plugin Init */
innobase_init
,
/* Plugin Init */
NULL
,
/* Plugin Deinit */
NULL
,
/* Plugin Deinit */
0x0100
/* 1.0 */
,
0x0100
/* 1.0 */
,
innodb_status_variables_export
innodb_status_variables_export
,
/* status variables */
NULL
,
/* system variables */
NULL
/* config options */
}
}
mysql_declare_plugin_end
;
mysql_declare_plugin_end
;
sql/ha_ndbcluster.cc
View file @
38a59efb
...
@@ -10598,7 +10598,9 @@ mysql_declare_plugin(ndbcluster)
...
@@ -10598,7 +10598,9 @@ mysql_declare_plugin(ndbcluster)
ndbcluster_init
,
/* Plugin Init */
ndbcluster_init
,
/* Plugin Init */
NULL
,
/* Plugin Deinit */
NULL
,
/* Plugin Deinit */
0x0100
/* 1.0 */
,
0x0100
/* 1.0 */
,
ndb_status_variables_export
ndb_status_variables_export
,
/* status variables */
NULL
,
/* system variables */
NULL
/* config options */
}
}
mysql_declare_plugin_end
;
mysql_declare_plugin_end
;
...
...
sql/ha_partition.cc
View file @
38a59efb
...
@@ -5598,7 +5598,9 @@ mysql_declare_plugin(partition)
...
@@ -5598,7 +5598,9 @@ mysql_declare_plugin(partition)
partition_initialize
,
/* Plugin Init */
partition_initialize
,
/* Plugin Init */
NULL
,
/* Plugin Deinit */
NULL
,
/* Plugin Deinit */
0x0100
,
/* 1.0 */
0x0100
,
/* 1.0 */
0
NULL
,
/* status variables */
NULL
,
/* system variables */
NULL
/* config options */
}
}
mysql_declare_plugin_end
;
mysql_declare_plugin_end
;
...
...
sql/log.cc
View file @
38a59efb
...
@@ -4678,6 +4678,8 @@ mysql_declare_plugin(binlog)
...
@@ -4678,6 +4678,8 @@ mysql_declare_plugin(binlog)
binlog_init
,
/* Plugin Init */
binlog_init
,
/* Plugin Init */
NULL
,
/* Plugin Deinit */
NULL
,
/* Plugin Deinit */
0x0100
/* 1.0 */
,
0x0100
/* 1.0 */
,
0
NULL
,
/* status variables */
NULL
,
/* system variables */
NULL
/* config options */
}
}
mysql_declare_plugin_end
;
mysql_declare_plugin_end
;
storage/archive/ha_archive.cc
View file @
38a59efb
...
@@ -1583,7 +1583,9 @@ mysql_declare_plugin(archive)
...
@@ -1583,7 +1583,9 @@ mysql_declare_plugin(archive)
archive_db_init
,
/* Plugin Init */
archive_db_init
,
/* Plugin Init */
archive_db_done
,
/* Plugin Deinit */
archive_db_done
,
/* Plugin Deinit */
0x0100
/* 1.0 */
,
0x0100
/* 1.0 */
,
0
NULL
,
/* status variables */
NULL
,
/* system variables */
NULL
/* config options */
}
}
mysql_declare_plugin_end
;
mysql_declare_plugin_end
;
storage/blackhole/ha_blackhole.cc
View file @
38a59efb
...
@@ -223,6 +223,8 @@ mysql_declare_plugin(blackhole)
...
@@ -223,6 +223,8 @@ mysql_declare_plugin(blackhole)
blackhole_init
,
/* Plugin Init */
blackhole_init
,
/* Plugin Init */
NULL
,
/* Plugin Deinit */
NULL
,
/* Plugin Deinit */
0x0100
/* 1.0 */
,
0x0100
/* 1.0 */
,
0
NULL
,
/* status variables */
NULL
,
/* system variables */
NULL
/* config options */
}
}
mysql_declare_plugin_end
;
mysql_declare_plugin_end
;
storage/csv/ha_tina.cc
View file @
38a59efb
...
@@ -1529,7 +1529,9 @@ mysql_declare_plugin(csv)
...
@@ -1529,7 +1529,9 @@ mysql_declare_plugin(csv)
tina_init_func
,
/* Plugin Init */
tina_init_func
,
/* Plugin Init */
tina_done_func
,
/* Plugin Deinit */
tina_done_func
,
/* Plugin Deinit */
0x0100
/* 1.0 */
,
0x0100
/* 1.0 */
,
0
NULL
,
/* status variables */
NULL
,
/* system variables */
NULL
/* config options */
}
}
mysql_declare_plugin_end
;
mysql_declare_plugin_end
;
storage/example/ha_example.cc
View file @
38a59efb
...
@@ -715,7 +715,9 @@ mysql_declare_plugin(example)
...
@@ -715,7 +715,9 @@ mysql_declare_plugin(example)
example_init_func
,
/* Plugin Init */
example_init_func
,
/* Plugin Init */
example_done_func
,
/* Plugin Deinit */
example_done_func
,
/* Plugin Deinit */
0x0001
/* 0.1 */
,
0x0001
/* 0.1 */
,
0
NULL
,
/* status variables */
NULL
,
/* system variables */
NULL
/* config options */
}
}
mysql_declare_plugin_end
;
mysql_declare_plugin_end
;
storage/federated/ha_federated.cc
View file @
38a59efb
...
@@ -2896,7 +2896,9 @@ mysql_declare_plugin(federated)
...
@@ -2896,7 +2896,9 @@ mysql_declare_plugin(federated)
federated_db_init
,
/* Plugin Init */
federated_db_init
,
/* Plugin Init */
NULL
,
/* Plugin Deinit */
NULL
,
/* Plugin Deinit */
0x0100
/* 1.0 */
,
0x0100
/* 1.0 */
,
0
NULL
,
/* status variables */
NULL
,
/* system variables */
NULL
/* config options */
}
}
mysql_declare_plugin_end
;
mysql_declare_plugin_end
;
storage/heap/ha_heap.cc
View file @
38a59efb
...
@@ -708,6 +708,8 @@ mysql_declare_plugin(heap)
...
@@ -708,6 +708,8 @@ mysql_declare_plugin(heap)
heap_init
,
heap_init
,
NULL
,
NULL
,
0x0100
,
/* 1.0 */
0x0100
,
/* 1.0 */
0
NULL
,
/* status variables */
NULL
,
/* system variables */
NULL
/* config options */
}
}
mysql_declare_plugin_end
;
mysql_declare_plugin_end
;
storage/myisam/ha_myisam.cc
View file @
38a59efb
...
@@ -1800,7 +1800,9 @@ mysql_declare_plugin(myisam)
...
@@ -1800,7 +1800,9 @@ mysql_declare_plugin(myisam)
myisam_init
,
/* Plugin Init */
myisam_init
,
/* Plugin Init */
NULL
,
/* Plugin Deinit */
NULL
,
/* Plugin Deinit */
0x0100
,
/* 1.0 */
0x0100
,
/* 1.0 */
0
NULL
,
/* status variables */
NULL
,
/* system variables */
NULL
/* config options */
}
}
mysql_declare_plugin_end
;
mysql_declare_plugin_end
;
storage/myisammrg/ha_myisammrg.cc
View file @
38a59efb
...
@@ -573,6 +573,8 @@ mysql_declare_plugin(myisammrg)
...
@@ -573,6 +573,8 @@ mysql_declare_plugin(myisammrg)
myisammrg_init
,
/* Plugin Init */
myisammrg_init
,
/* Plugin Init */
NULL
,
/* Plugin Deinit */
NULL
,
/* Plugin Deinit */
0x0100
,
/* 1.0 */
0x0100
,
/* 1.0 */
0
NULL
,
/* status variables */
NULL
,
/* system variables */
NULL
/* config options */
}
}
mysql_declare_plugin_end
;
mysql_declare_plugin_end
;
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