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
463811e9
Commit
463811e9
authored
Nov 06, 2005
by
svoj@poseidon.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
monty review: fixes after reapplying plugin patch from "crashed" 5.1 tree
parent
3791197f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
13 deletions
+6
-13
include/my_global.h
include/my_global.h
+0
-10
sql/mysqld.cc
sql/mysqld.cc
+3
-3
sql/table.cc
sql/table.cc
+3
-0
No files found.
include/my_global.h
View file @
463811e9
...
...
@@ -1380,16 +1380,6 @@ do { doubleget_union _tmp; \
#define dlerror() ""
#endif
#ifdef HAVE_DLOPEN
#if defined(__WIN__)
#define dlsym(lib, name) GetProcAddress((HMODULE)lib, name)
#define dlopen(libname, unused) LoadLibraryEx(libname, NULL, 0)
#define dlclose(lib) FreeLibrary((HMODULE)lib)
#elif !defined(OS2)
#include <dlfcn.h>
#endif
#endif
/* FreeBSD 2.2.2 does not define RTLD_NOW) */
#ifndef RTLD_NOW
#define RTLD_NOW 1
...
...
sql/mysqld.cc
View file @
463811e9
...
...
@@ -6303,9 +6303,6 @@ static void mysql_init_variables(void)
sizeof
(
mysql_real_data_home
)
-
1
);
mysql_data_home_buff
[
0
]
=
FN_CURLIB
;
// all paths are relative from here
mysql_data_home_buff
[
1
]
=
0
;
strmake
(
opt_plugin_dir
,
get_relative_path
(
LIBDIR
),
sizeof
(
opt_plugin_dir
)
-
1
);
opt_plugin_dir_ptr
=
opt_plugin_dir
;
/* Replication parameters */
master_user
=
(
char
*
)
"test"
;
...
...
@@ -7229,6 +7226,9 @@ static void fix_paths(void)
(
void
)
my_load_path
(
mysql_home
,
mysql_home
,
""
);
// Resolve current dir
(
void
)
my_load_path
(
mysql_real_data_home
,
mysql_real_data_home
,
mysql_home
);
(
void
)
my_load_path
(
pidfile_name
,
pidfile_name
,
mysql_real_data_home
);
strmake
(
opt_plugin_dir
,
get_relative_path
(
LIBDIR
),
sizeof
(
opt_plugin_dir
)
-
1
);
opt_plugin_dir_ptr
=
opt_plugin_dir
;
(
void
)
my_load_path
(
opt_plugin_dir
,
opt_plugin_dir_ptr
,
mysql_home
);
char
*
sharedir
=
get_relative_path
(
SHAREDIR
);
...
...
sql/table.cc
View file @
463811e9
...
...
@@ -1074,7 +1074,10 @@ int closefrm(register TABLE *table)
for
(
idx
=
table
->
s
->
keys
;
idx
;
idx
--
,
key_info
++
)
{
if
(
key_info
->
flags
&
HA_USES_PARSER
)
{
plugin_unlock
(
key_info
->
parser
);
key_info
->
flags
=
0
;
}
}
my_free
((
char
*
)
table
->
alias
,
MYF
(
MY_ALLOW_ZERO_PTR
));
table
->
alias
=
0
;
...
...
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