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
df9dac8c
Commit
df9dac8c
authored
Apr 15, 2010
by
Vasil Dimov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove outdated (and now useful anymore) scripts
parent
19bfc7fd
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
92 deletions
+0
-92
storage/innobase/scripts/export.sh
storage/innobase/scripts/export.sh
+0
-74
storage/innobase/scripts/install_innodb_plugins.sql
storage/innobase/scripts/install_innodb_plugins.sql
+0
-9
storage/innobase/scripts/install_innodb_plugins_win.sql
storage/innobase/scripts/install_innodb_plugins_win.sql
+0
-9
No files found.
storage/innobase/scripts/export.sh
deleted
100755 → 0
View file @
19bfc7fd
#!/bin/bash
#
# export current working directory in a format suitable for sending to MySQL
# as a snapshot. also generates the actual snapshot and sends it to MySQL.
set
-eu
die
()
{
echo
$*
exit
1
}
if
[
$#
-ne
2
]
;
then
die
"Usage: export.sh revision-number-of-last-snapshot current-revision-number"
fi
# If we are run from within the scripts/ directory then change directory to
# one level up so that the relative paths work.
DIR
=
`
basename
$PWD
`
if
[
"
${
DIR
}
"
=
"scripts"
]
;
then
cd
..
fi
START_REV
=
$((
$1
+
1
))
END_REV
=
$2
set
+u
if
test
-z
$EDITOR
;
then
die
"
\$
EDITOR is not set"
fi
set
-u
rm
-rf
to-mysql
mkdir
to-mysql
{
,/storage,/patches,/mysql-test
{
,/t,/r,/include
}}
svn log
-v
-r
"
$START_REV
:BASE"
>
to-mysql/log
svn
export
-q
.
to-mysql/storage/innobase
REV
=
$START_REV
while
[
$REV
-le
$END_REV
]
do
PATCH
=
to-mysql/patches/r
$REV
.patch
svn log
-v
-r
$REV
>
$PATCH
if
[
$(
wc
-c
<
$PATCH
)
-gt
73
]
then
svn diff
-r
$((
$REV
-
1
))
:
$REV
>>
$PATCH
else
rm
$PATCH
fi
REV
=
$((
$REV
+
1
))
done
cd
to-mysql/storage/innobase
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 revert_gen.sh compile-innodb-debug compile-innodb
cd
../..
$EDITOR
log
cd
..
fname
=
"innodb-5.1-ss
$2
.tar.gz"
rm
-f
$fname
tar
czf
$fname
to-mysql
scp
$fname
mysql:snapshots
rm
$fname
rm
-rf
to-mysql
echo
"Sent
$fname
to MySQL"
storage/innobase/scripts/install_innodb_plugins.sql
deleted
100644 → 0
View file @
19bfc7fd
-- execute these to install InnoDB if it is built as a dynamic plugin
INSTALL
PLUGIN
innodb
SONAME
'ha_innodb.so'
;
INSTALL
PLUGIN
innodb_trx
SONAME
'ha_innodb.so'
;
INSTALL
PLUGIN
innodb_locks
SONAME
'ha_innodb.so'
;
INSTALL
PLUGIN
innodb_lock_waits
SONAME
'ha_innodb.so'
;
INSTALL
PLUGIN
innodb_cmp
SONAME
'ha_innodb.so'
;
INSTALL
PLUGIN
innodb_cmp_reset
SONAME
'ha_innodb.so'
;
INSTALL
PLUGIN
innodb_cmpmem
SONAME
'ha_innodb.so'
;
INSTALL
PLUGIN
innodb_cmpmem_reset
SONAME
'ha_innodb.so'
;
storage/innobase/scripts/install_innodb_plugins_win.sql
deleted
100644 → 0
View file @
19bfc7fd
-- execute these to install InnoDB if it is built as a dynamic plugin
INSTALL
PLUGIN
innodb
SONAME
'ha_innodb.dll'
;
INSTALL
PLUGIN
innodb_trx
SONAME
'ha_innodb.dll'
;
INSTALL
PLUGIN
innodb_locks
SONAME
'ha_innodb.dll'
;
INSTALL
PLUGIN
innodb_lock_waits
SONAME
'ha_innodb.dll'
;
INSTALL
PLUGIN
innodb_cmp
SONAME
'ha_innodb.dll'
;
INSTALL
PLUGIN
innodb_cmp_reset
SONAME
'ha_innodb.dll'
;
INSTALL
PLUGIN
innodb_cmpmem
SONAME
'ha_innodb.dll'
;
INSTALL
PLUGIN
innodb_cmpmem_reset
SONAME
'ha_innodb.dll'
;
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