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
0f71e337
Commit
0f71e337
authored
Dec 05, 2001
by
monty@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small changes to mysql_config.sh
parent
81ea1a6e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
10 deletions
+25
-10
Docs/manual.texi
Docs/manual.texi
+5
-2
scripts/mysql_config.sh
scripts/mysql_config.sh
+20
-8
No files found.
Docs/manual.texi
View file @
0f71e337
...
...
@@ -46784,7 +46784,7 @@ users use this code as the rest of the code and because of this we are
not yet 100% confident in this code.
@menu
* News-3.23.47::
* News-3.23.47::
Changes in release 3.23.47
* News-3.23.46:: Changes in release 3.23.46
* News-3.23.45:: Changes in release 3.23.45
* News-3.23.44:: Changes in release 3.23.44
...
...
@@ -46836,9 +46836,12 @@ not yet 100% confident in this code.
@end menu
@node News-3.23.47, News-3.23.46, News-3.23.x, News-3.23.x
@appendixsubsec Changes in release 3.23.4
6
@appendixsubsec Changes in release 3.23.4
7
@itemize @bullet
@item
Fixed bug when using @code{t1 LEFT JOIN t2 ON t2.key=constant}.
@item
@code{mysqlconfig} now also work with binary (relocated) distributions.
@end itemize
@node News-3.23.46, News-3.23.45, News-3.23.47, News-3.23.x
scripts/mysql_config.sh
View file @
0f71e337
...
...
@@ -37,20 +37,32 @@ which ()
IFS
=
"
$save_ifs
"
}
#
# If we can find the given directory relatively to where mysql_config is
# we should use this instead of the incompiled one.
# This is to ensure that this script also works with the binary MySQL
# version
fix_path
()
{
eval
path
=
\$
"
$1
"
if
[
!
-f
"
$path
"
]
;
then
eval
"
$1
"
=
$basedir
/
$2
fi
var
=
$1
shift
for
filename
do
path
=
$basedir
/
$filename
if
[
-d
"
$path
"
]
;
then
eval
"
$var
"
=
$path
return
fi
done
}
abs_path
=
`
expr
\(
substr
$0
1 1
\)
=
'/'
`
if
[
"x
$abs_path
"
=
"x1"
]
;
then
me
=
$0
else
me
=
`
which
mysql_config
`
me
=
`
which
$0
`
fi
basedir
=
`
echo
$me
|
sed
-e
's;/bin/mysql_config;;'
`
...
...
@@ -59,9 +71,9 @@ ldata='@localstatedir@'
execdir
=
'@libexecdir@'
bindir
=
'@bindir@'
pkglibdir
=
'@pkglibdir@'
fix_path pkglibdir lib/mysql
fix_path pkglibdir lib/mysql
lib
pkgincludedir
=
'@pkgincludedir@'
fix_path pkgincludedir include/mysql
fix_path pkgincludedir include/mysql
include
version
=
'@VERSION@'
socket
=
'@MYSQL_UNIX_ADDR@'
port
=
'@MYSQL_TCP_PORT@'
...
...
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