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
71638dd2
Commit
71638dd2
authored
Apr 29, 2013
by
Rich Prohaska
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add usage
parent
2a97a05b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
1 deletion
+22
-1
scripts/make.mysql.new.bash
scripts/make.mysql.new.bash
+22
-1
No files found.
scripts/make.mysql.new.bash
View file @
71638dd2
...
@@ -4,8 +4,25 @@ set -e
...
@@ -4,8 +4,25 @@ set -e
set
-u
set
-u
function
usage
()
{
function
usage
()
{
echo
"make mysql with the tokudb storage engine from github repo's"
echo
"--git_tag=
$git_tag
"
echo
"--mysqlbuild=
$mysqlbuild
"
echo
"--mysqlbuild=
$mysqlbuild
"
echo
"--mysql=
$mysql
"
echo
"--mysql=
$mysql
"
echo
"--tokudb_version=
$tokudb_version
"
echo
echo
"community release builds using the tokudb-7.0.1 git tag"
echo
" make.mysql.bash --mysqlbuild=mysql-5.5.30-tokudb-7.0.1-linux-x86_64"
echo
" make.mysql.bash --mysqlbuild=mariadb-5.5.30-tokudb-7.0.1-linux-x86_64"
echo
" make.mysql.bash --git_tag=tokudb-7.0.1 --mysql=mysql-5.5.30"
echo
echo
"community debug builds using the tokudb-7.0.1 git tag"
echo
" make.mysql.bash --mysqlbuild=mysql-5.5.30-tokudb-7.0.1-debug-linux-x86_64"
echo
echo
"enterprise release builds at the HEAD of the repos"
echo
" make.mysql.bash --mysqlbuild=mysql-5.5.30-tokudb-test-e-linux-x86_64"
echo
echo
"community release builds of a branch"
echo
" make.mysql.bash --mysql=mysql-5.5.30 --mysql_tree=<your mysql tree name> --ftengine_tree=<your ft-engine tree name> --tokudb_version=<your test string>>"
return
1
return
1
}
}
...
@@ -77,13 +94,14 @@ if [ -z $mysqlbuild ] ; then
...
@@ -77,13 +94,14 @@ if [ -z $mysqlbuild ] ; then
fi
fi
fi
fi
# download all the source
# download all the
mysql
source
if
[
!
-d
$mysql_distro
]
;
then
if
[
!
-d
$mysql_distro
]
;
then
github_download Tokutek/
$mysql_distro
$(
git_tree
$git_tag
$mysql_tree
)
$mysql_distro
github_download Tokutek/
$mysql_distro
$(
git_tree
$git_tag
$mysql_tree
)
$mysql_distro
fi
fi
cd
$mysql_distro
cd
$mysql_distro
# install the backup source
if
[
!
-d
toku_backup
]
;
then
if
[
!
-d
toku_backup
]
;
then
github_download Tokutek/backup-
$build_type
$(
git_tree
$git_tag
$backup_tree
)
backup-
$build_type
github_download Tokutek/backup-
$build_type
$(
git_tree
$git_tag
$backup_tree
)
backup-
$build_type
cp
-r
backup-
$build_type
/backup toku_backup
cp
-r
backup-
$build_type
/backup toku_backup
...
@@ -92,13 +110,16 @@ fi
...
@@ -92,13 +110,16 @@ fi
if
[
!
-d
ft-engine
]
;
then
if
[
!
-d
ft-engine
]
;
then
github_download Tokutek/ft-engine
$(
git_tree
$git_tag
$ftengine_tree
)
ft-engine
github_download Tokutek/ft-engine
$(
git_tree
$git_tag
$ftengine_tree
)
ft-engine
# install the tokudb storage engine source
cp
-r
ft-engine/storage/tokudb storage/
cp
-r
ft-engine/storage/tokudb storage/
# merge the mysql tests
mv
mysql-test mysql-test-save
mv
mysql-test mysql-test-save
cp
-r
ft-engine/mysql-test
.
cp
-r
ft-engine/mysql-test
.
cp
-r
mysql-test-save/
*
mysql-test
cp
-r
mysql-test-save/
*
mysql-test
rm
-rf
mysql-test-save
rm
-rf
mysql-test-save
# install the tokudb scripts
cp
-r
ft-engine/scripts/
*
scripts/
cp
-r
ft-engine/scripts/
*
scripts/
fi
fi
...
...
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