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
e27d2a58
Commit
e27d2a58
authored
Feb 13, 2006
by
serg@serg.mylan
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new
into serg.mylan:/usr/home/serg/Abk/mysql-5.1-nl
parents
dd92e9a3
0eb36bf0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
11 deletions
+20
-11
sql/share/errmsg.txt
sql/share/errmsg.txt
+7
-7
sql/sql_plugin.cc
sql/sql_plugin.cc
+13
-4
No files found.
sql/share/errmsg.txt
View file @
e27d2a58
...
@@ -2981,11 +2981,11 @@ ER_CANT_OPEN_LIBRARY
...
@@ -2981,11 +2981,11 @@ ER_CANT_OPEN_LIBRARY
cze "Nemohu otev-Bt sdlenou knihovnu '%-.64s' (errno: %d %s)"
cze "Nemohu otev-Bt sdlenou knihovnu '%-.64s' (errno: %d %s)"
dan "Kan ikke bne delt bibliotek '%-.64s' (errno: %d %s)"
dan "Kan ikke bne delt bibliotek '%-.64s' (errno: %d %s)"
nla "Kan shared library '%-.64s' niet openen (Errcode: %d %s)"
nla "Kan shared library '%-.64s' niet openen (Errcode: %d %s)"
eng "Can't open shared library '%-.64s' (errno: %d %
-.64
s)"
eng "Can't open shared library '%-.64s' (errno: %d %s)"
jps "shared library '%-.64s' Jł܂ (errno: %d %s)",
jps "shared library '%-.64s' Jł܂ (errno: %d %s)",
est "Ei suuda avada jagatud teeki '%-.64s' (veakood: %d %
-.64
s)"
est "Ei suuda avada jagatud teeki '%-.64s' (veakood: %d %s)"
fre "Impossible d'ouvrir la bibliothque partage '%-.64s' (errno: %d %s)"
fre "Impossible d'ouvrir la bibliothque partage '%-.64s' (errno: %d %s)"
ger "Kann Shared Library '%-.64s' nicht ffnen (Fehler: %d %
-.64
s)"
ger "Kann Shared Library '%-.64s' nicht ffnen (Fehler: %d %s)"
greek " shared library '%-.64s' ( : %d %s)"
greek " shared library '%-.64s' ( : %d %s)"
hun "A(z) '%-.64s' megosztott konyvtar nem hasznalhato (hibakod: %d %s)"
hun "A(z) '%-.64s' megosztott konyvtar nem hasznalhato (hibakod: %d %s)"
ita "Impossibile aprire la libreria condivisa '%-.64s' (errno: %d %s)"
ita "Impossibile aprire la libreria condivisa '%-.64s' (errno: %d %s)"
...
@@ -2995,13 +2995,13 @@ ER_CANT_OPEN_LIBRARY
...
@@ -2995,13 +2995,13 @@ ER_CANT_OPEN_LIBRARY
norwegian-ny "Can't open shared library '%-.64s' (errno: %d %s)"
norwegian-ny "Can't open shared library '%-.64s' (errno: %d %s)"
pol "Can't open shared library '%-.64s' (errno: %d %s)"
pol "Can't open shared library '%-.64s' (errno: %d %s)"
por "No pode abrir biblioteca compartilhada '%-.64s' (erro no. '%d' - '%-.64s')"
por "No pode abrir biblioteca compartilhada '%-.64s' (erro no. '%d' - '%-.64s')"
rum "Nu pot deschide libraria shared '%-.64s' (Eroare: %d %
-.64
s)"
rum "Nu pot deschide libraria shared '%-.64s' (Eroare: %d %s)"
rus " '%-.64s' (: %d %
-.64
s)"
rus " '%-.64s' (: %d %s)"
serbian "Ne mogu da otvorim share-ovanu biblioteku '%-.64s' (errno: %d %
-.64
s)"
serbian "Ne mogu da otvorim share-ovanu biblioteku '%-.64s' (errno: %d %s)"
slo "Nemem otvori zdiean kninicu '%-.64s' (chybov kd: %d %s)"
slo "Nemem otvori zdiean kninicu '%-.64s' (chybov kd: %d %s)"
spa "No puedo abrir libraria conjugada '%-.64s' (errno: %d %s)"
spa "No puedo abrir libraria conjugada '%-.64s' (errno: %d %s)"
swe "Kan inte ppna det dynamiska biblioteket '%-.64s' (Felkod: %d %s)"
swe "Kan inte ppna det dynamiska biblioteket '%-.64s' (Felkod: %d %s)"
ukr " צ Ħ ¦̦ '%-.64s' (: %d %
-.64
s)"
ukr " צ Ħ ¦̦ '%-.64s' (: %d %s)"
ER_CANT_FIND_DL_ENTRY
ER_CANT_FIND_DL_ENTRY
cze "Nemohu naj-Bt funkci '%-.64s' v knihovn"
cze "Nemohu naj-Bt funkci '%-.64s' v knihovn"
dan "Kan ikke finde funktionen '%-.64s' i bibliotek"
dan "Kan ikke finde funktionen '%-.64s' i bibliotek"
...
...
sql/sql_plugin.cc
View file @
e27d2a58
...
@@ -105,7 +105,7 @@ static st_plugin_dl *plugin_dl_add(LEX_STRING *dl, int report)
...
@@ -105,7 +105,7 @@ static st_plugin_dl *plugin_dl_add(LEX_STRING *dl, int report)
{
{
#ifdef HAVE_DLOPEN
#ifdef HAVE_DLOPEN
char
dlpath
[
FN_REFLEN
];
char
dlpath
[
FN_REFLEN
];
uint
plugin_dir_len
,
dummy_errors
;
uint
plugin_dir_len
,
dummy_errors
,
dlpathlen
;
struct
st_plugin_dl
*
tmp
,
plugin_dl
;
struct
st_plugin_dl
*
tmp
,
plugin_dl
;
void
*
sym
;
void
*
sym
;
DBUG_ENTER
(
"plugin_dl_add"
);
DBUG_ENTER
(
"plugin_dl_add"
);
...
@@ -133,15 +133,24 @@ static st_plugin_dl *plugin_dl_add(LEX_STRING *dl, int report)
...
@@ -133,15 +133,24 @@ static st_plugin_dl *plugin_dl_add(LEX_STRING *dl, int report)
}
}
bzero
(
&
plugin_dl
,
sizeof
(
plugin_dl
));
bzero
(
&
plugin_dl
,
sizeof
(
plugin_dl
));
/* Compile dll path */
/* Compile dll path */
strxnmov
(
dlpath
,
sizeof
(
dlpath
)
-
1
,
opt_plugin_dir
,
"/"
,
dl
->
str
,
NullS
);
dlpathlen
=
strxnmov
(
dlpath
,
sizeof
(
dlpath
)
-
1
,
opt_plugin_dir
,
"/"
,
dl
->
str
,
NullS
)
-
dlpath
;
plugin_dl
.
ref_count
=
1
;
plugin_dl
.
ref_count
=
1
;
/* Open new dll handle */
/* Open new dll handle */
if
(
!
(
plugin_dl
.
handle
=
dlopen
(
dlpath
,
RTLD_NOW
)))
if
(
!
(
plugin_dl
.
handle
=
dlopen
(
dlpath
,
RTLD_NOW
)))
{
{
const
char
*
errmsg
=
dlerror
();
if
(
!
strncmp
(
dlpath
,
errmsg
,
dlpathlen
))
{
// if errmsg starts from dlpath, trim this prefix.
errmsg
+=
dlpathlen
;
if
(
*
errmsg
==
':'
)
errmsg
++
;
if
(
*
errmsg
==
' '
)
errmsg
++
;
}
if
(
report
&
REPORT_TO_USER
)
if
(
report
&
REPORT_TO_USER
)
my_error
(
ER_CANT_OPEN_LIBRARY
,
MYF
(
0
),
dlpath
,
errno
,
dlerror
()
);
my_error
(
ER_CANT_OPEN_LIBRARY
,
MYF
(
0
),
dlpath
,
errno
,
errmsg
);
if
(
report
&
REPORT_TO_LOG
)
if
(
report
&
REPORT_TO_LOG
)
sql_print_error
(
ER
(
ER_CANT_OPEN_LIBRARY
),
dlpath
,
errno
,
dlerror
()
);
sql_print_error
(
ER
(
ER_CANT_OPEN_LIBRARY
),
dlpath
,
errno
,
errmsg
);
DBUG_RETURN
(
0
);
DBUG_RETURN
(
0
);
}
}
/* Determine interface version */
/* Determine interface version */
...
...
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