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
0b72d47c
Commit
0b72d47c
authored
Aug 12, 2014
by
Rich Prohaska
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#272 set TokuDB product name
parent
ec2641f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
storage/tokudb/hatoku_hton.cc
storage/tokudb/hatoku_hton.cc
+9
-0
No files found.
storage/tokudb/hatoku_hton.cc
View file @
0b72d47c
...
...
@@ -320,6 +320,9 @@ static void handle_ydb_error(int error) {
sql_print_error
(
" "
);
sql_print_error
(
"************************************************************"
);
break
;
default:
sql_print_error
(
"%s unknown error %d"
,
tokudb_hton_name
,
error
);
break
;
}
}
...
...
@@ -410,6 +413,12 @@ static int tokudb_init_func(void *p) {
tokudb_home
=
mysql_real_data_home
;
DBUG_PRINT
(
"info"
,
(
"tokudb_home: %s"
,
tokudb_home
));
r
=
db_env_set_toku_product_name
(
tokudb_hton_name
);
if
(
r
)
{
sql_print_error
(
"%s can not set product name error %d"
,
tokudb_hton_name
,
r
);
goto
error
;
}
if
((
r
=
db_env_create
(
&
db_env
,
0
)))
{
DBUG_PRINT
(
"info"
,
(
"db_env_create %d
\n
"
,
r
));
handle_ydb_error
(
r
);
...
...
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