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
6447e3fa
Commit
6447e3fa
authored
Aug 30, 2006
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add 2 placeholder values for config and system variables.
parent
c4f731ed
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 @
6447e3fa
...
...
@@ -60,7 +60,7 @@ __MYSQL_DECLARE_PLUGIN(NAME, \
builtin_ ## NAME ## _sizeof_struct_st_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
...
...
@@ -96,6 +96,8 @@ struct st_mysql_plugin
int
(
*
deinit
)(
void
);
/* the function to invoke when plugin is unloaded */
unsigned
int
version
;
/* plugin version (for SHOW PLUGINS) */
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 @
6447e3fa
...
...
@@ -225,7 +225,9 @@ mysql_declare_plugin(ftexample)
simple_parser_plugin_init
,
/* init function (when loaded) */
simple_parser_plugin_deinit
,
/* deinit function (when unloaded) */
0x0001
,
/* version */
simple_status
/* status variables */
simple_status
,
/* status variables */
NULL
,
/* system variables */
NULL
/* config options */
}
mysql_declare_plugin_end
;
sql/ha_innodb.cc
View file @
6447e3fa
...
...
@@ -7623,7 +7623,9 @@ mysql_declare_plugin(innobase)
innobase_init
,
/* Plugin Init */
NULL
,
/* Plugin Deinit */
0x0100
/* 1.0 */
,
innodb_status_variables_export
innodb_status_variables_export
,
/* status variables */
NULL
,
/* system variables */
NULL
/* config options */
}
mysql_declare_plugin_end
;
sql/ha_ndbcluster.cc
View file @
6447e3fa
...
...
@@ -10598,7 +10598,9 @@ mysql_declare_plugin(ndbcluster)
ndbcluster_init
,
/* Plugin Init */
NULL
,
/* Plugin Deinit */
0x0100
/* 1.0 */
,
ndb_status_variables_export
ndb_status_variables_export
,
/* status variables */
NULL
,
/* system variables */
NULL
/* config options */
}
mysql_declare_plugin_end
;
...
...
sql/ha_partition.cc
View file @
6447e3fa
...
...
@@ -5598,7 +5598,9 @@ mysql_declare_plugin(partition)
partition_initialize
,
/* Plugin Init */
NULL
,
/* Plugin Deinit */
0x0100
,
/* 1.0 */
0
NULL
,
/* status variables */
NULL
,
/* system variables */
NULL
/* config options */
}
mysql_declare_plugin_end
;
...
...
sql/log.cc
View file @
6447e3fa
...
...
@@ -4678,6 +4678,8 @@ mysql_declare_plugin(binlog)
binlog_init
,
/* Plugin Init */
NULL
,
/* Plugin Deinit */
0x0100
/* 1.0 */
,
0
NULL
,
/* status variables */
NULL
,
/* system variables */
NULL
/* config options */
}
mysql_declare_plugin_end
;
storage/archive/ha_archive.cc
View file @
6447e3fa
...
...
@@ -1583,7 +1583,9 @@ mysql_declare_plugin(archive)
archive_db_init
,
/* Plugin Init */
archive_db_done
,
/* Plugin Deinit */
0x0100
/* 1.0 */
,
0
NULL
,
/* status variables */
NULL
,
/* system variables */
NULL
/* config options */
}
mysql_declare_plugin_end
;
storage/blackhole/ha_blackhole.cc
View file @
6447e3fa
...
...
@@ -223,6 +223,8 @@ mysql_declare_plugin(blackhole)
blackhole_init
,
/* Plugin Init */
NULL
,
/* Plugin Deinit */
0x0100
/* 1.0 */
,
0
NULL
,
/* status variables */
NULL
,
/* system variables */
NULL
/* config options */
}
mysql_declare_plugin_end
;
storage/csv/ha_tina.cc
View file @
6447e3fa
...
...
@@ -1529,7 +1529,9 @@ mysql_declare_plugin(csv)
tina_init_func
,
/* Plugin Init */
tina_done_func
,
/* Plugin Deinit */
0x0100
/* 1.0 */
,
0
NULL
,
/* status variables */
NULL
,
/* system variables */
NULL
/* config options */
}
mysql_declare_plugin_end
;
storage/example/ha_example.cc
View file @
6447e3fa
...
...
@@ -715,7 +715,9 @@ mysql_declare_plugin(example)
example_init_func
,
/* Plugin Init */
example_done_func
,
/* Plugin Deinit */
0x0001
/* 0.1 */
,
0
NULL
,
/* status variables */
NULL
,
/* system variables */
NULL
/* config options */
}
mysql_declare_plugin_end
;
storage/federated/ha_federated.cc
View file @
6447e3fa
...
...
@@ -2896,7 +2896,9 @@ mysql_declare_plugin(federated)
federated_db_init
,
/* Plugin Init */
NULL
,
/* Plugin Deinit */
0x0100
/* 1.0 */
,
0
NULL
,
/* status variables */
NULL
,
/* system variables */
NULL
/* config options */
}
mysql_declare_plugin_end
;
storage/heap/ha_heap.cc
View file @
6447e3fa
...
...
@@ -708,6 +708,8 @@ mysql_declare_plugin(heap)
heap_init
,
NULL
,
0x0100
,
/* 1.0 */
0
NULL
,
/* status variables */
NULL
,
/* system variables */
NULL
/* config options */
}
mysql_declare_plugin_end
;
storage/myisam/ha_myisam.cc
View file @
6447e3fa
...
...
@@ -1800,7 +1800,9 @@ mysql_declare_plugin(myisam)
myisam_init
,
/* Plugin Init */
NULL
,
/* Plugin Deinit */
0x0100
,
/* 1.0 */
0
NULL
,
/* status variables */
NULL
,
/* system variables */
NULL
/* config options */
}
mysql_declare_plugin_end
;
storage/myisammrg/ha_myisammrg.cc
View file @
6447e3fa
...
...
@@ -573,6 +573,8 @@ mysql_declare_plugin(myisammrg)
myisammrg_init
,
/* Plugin Init */
NULL
,
/* Plugin Deinit */
0x0100
,
/* 1.0 */
0
NULL
,
/* status variables */
NULL
,
/* system variables */
NULL
/* config options */
}
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