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
dfa8edb5
Commit
dfa8edb5
authored
Nov 07, 2005
by
osku
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
export.sh: Store log messages in export directory and refactor operations
to avoid warnings.
parent
81f79a50
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
9 deletions
+17
-9
export.sh
export.sh
+17
-9
No files found.
export.sh
View file @
dfa8edb5
...
...
@@ -3,21 +3,29 @@
# export current working directory in a format suitable for sending to
# MySQL as a snapshot.
set
-eu
if
[
$#
-ne
1
]
;
then
echo
"Usage: export.sh revision-number-of-last-snapshot"
exit
1
fi
rm
-rf
to-mysql
svn
export
.
to-mysql
mkdir
-p
to-mysql/storage/
svn log
-v
-r
"
$1
:BASE"
>
to-mysql/log
svn
export
.
to-mysql/storage/innobase
cd
to-mysql
mkdir
innobase
mv
*
innobase
mkdir
-p
sql mysql-test/t mysql-test/r mysql-test/include
cd
innobase
cd
storage/
innobase
mv
handler/
*
../sql
mv
handler/
*
../
../
sql
rmdir
handler
mv
mysql-test/
*
.test mysql-test/
*
.opt ../mysql-test/t
mv
mysql-test/
*
.result ../mysql-test/r
mv
mysql-test/
*
.inc ../mysql-test/include
mv
mysql-test/
*
.test mysql-test/
*
.opt ../
../
mysql-test/t
mv
mysql-test/
*
.result ../
../
mysql-test/r
mv
mysql-test/
*
.inc ../
../
mysql-test/include
rmdir
mysql-test
rm
setup.sh export.sh
rm
setup.sh export.sh compile-innodb-debug
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