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
7d9342be
Commit
7d9342be
authored
Mar 25, 2014
by
Kentoku SHIBA
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add version variables
parent
987f0a91
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
1 deletion
+16
-1
storage/spider/spd_include.h
storage/spider/spd_include.h
+3
-0
storage/spider/spd_param.cc
storage/spider/spd_param.cc
+13
-1
No files found.
storage/spider/spd_include.h
View file @
7d9342be
...
...
@@ -13,6 +13,9 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#define SPIDER_DETAIL_VERSION "3.1.7"
#define SPIDER_HEX_VERSION 0x0301
#if MYSQL_VERSION_ID < 50500
#else
#define my_free(A,B) my_free(A)
...
...
storage/spider/spd_param.cc
View file @
7d9342be
...
...
@@ -2827,6 +2827,17 @@ uint spider_param_log_result_errors()
DBUG_RETURN
(
spider_log_result_errors
);
}
static
char
*
spider_version
=
(
char
*
)
SPIDER_DETAIL_VERSION
;
static
MYSQL_SYSVAR_STR
(
version
,
spider_version
,
PLUGIN_VAR_NOCMDOPT
|
PLUGIN_VAR_READONLY
,
"The version of Spider"
,
NULL
,
NULL
,
SPIDER_DETAIL_VERSION
);
static
struct
st_mysql_storage_engine
spider_storage_engine
=
{
MYSQL_HANDLERTON_INTERFACE_VERSION
};
...
...
@@ -2954,6 +2965,7 @@ static struct st_mysql_sys_var* spider_system_variables[] = {
#endif
MYSQL_SYSVAR
(
general_log
),
MYSQL_SYSVAR
(
log_result_errors
),
MYSQL_SYSVAR
(
version
),
NULL
};
...
...
@@ -2967,7 +2979,7 @@ mysql_declare_plugin(spider)
PLUGIN_LICENSE_GPL
,
spider_db_init
,
spider_db_done
,
0x0301
,
SPIDER_HEX_VERSION
,
spider_status_variables
,
spider_system_variables
,
NULL
,
...
...
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