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
4644cefd
Commit
4644cefd
authored
Apr 10, 2003
by
Sinisa@sinisa.nasamreza.org
Browse files
Options
Browse Files
Download
Plain Diff
Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.0
into sinisa.nasamreza.org:/mnt/work/mysql-4.0
parents
48a6e3d3
dbe145f0
Changes
37
Hide whitespace changes
Inline
Side-by-side
Showing
37 changed files
with
175 additions
and
61 deletions
+175
-61
BUILD/SETUP.sh
BUILD/SETUP.sh
+3
-1
innobase/btr/Makefile.am
innobase/btr/Makefile.am
+1
-1
innobase/buf/Makefile.am
innobase/buf/Makefile.am
+1
-1
innobase/com/Makefile.am
innobase/com/Makefile.am
+1
-1
innobase/data/Makefile.am
innobase/data/Makefile.am
+1
-1
innobase/dict/Makefile.am
innobase/dict/Makefile.am
+1
-1
innobase/dyn/Makefile.am
innobase/dyn/Makefile.am
+1
-1
innobase/eval/Makefile.am
innobase/eval/Makefile.am
+1
-1
innobase/fil/Makefile.am
innobase/fil/Makefile.am
+1
-1
innobase/fsp/Makefile.am
innobase/fsp/Makefile.am
+1
-1
innobase/fut/Makefile.am
innobase/fut/Makefile.am
+1
-1
innobase/ha/Makefile.am
innobase/ha/Makefile.am
+1
-1
innobase/ibuf/Makefile.am
innobase/ibuf/Makefile.am
+1
-1
innobase/include/Makefile.i
innobase/include/Makefile.i
+0
-2
innobase/lock/Makefile.am
innobase/lock/Makefile.am
+1
-1
innobase/log/Makefile.am
innobase/log/Makefile.am
+1
-1
innobase/mach/Makefile.am
innobase/mach/Makefile.am
+1
-1
innobase/mem/Makefile.am
innobase/mem/Makefile.am
+1
-1
innobase/mtr/Makefile.am
innobase/mtr/Makefile.am
+1
-1
innobase/odbc/Makefile.am
innobase/odbc/Makefile.am
+1
-1
innobase/os/Makefile.am
innobase/os/Makefile.am
+1
-1
innobase/page/Makefile.am
innobase/page/Makefile.am
+1
-1
innobase/pars/Makefile.am
innobase/pars/Makefile.am
+1
-1
innobase/que/Makefile.am
innobase/que/Makefile.am
+1
-1
innobase/read/Makefile.am
innobase/read/Makefile.am
+1
-1
innobase/rem/Makefile.am
innobase/rem/Makefile.am
+1
-1
innobase/row/Makefile.am
innobase/row/Makefile.am
+1
-1
innobase/srv/Makefile.am
innobase/srv/Makefile.am
+1
-1
innobase/sync/Makefile.am
innobase/sync/Makefile.am
+1
-1
innobase/thr/Makefile.am
innobase/thr/Makefile.am
+1
-1
innobase/trx/Makefile.am
innobase/trx/Makefile.am
+1
-1
innobase/usr/Makefile.am
innobase/usr/Makefile.am
+1
-1
innobase/ut/Makefile.am
innobase/ut/Makefile.am
+1
-1
scripts/mysql_fix_privilege_tables.sh
scripts/mysql_fix_privilege_tables.sh
+15
-9
support-files/my-huge.cnf.sh
support-files/my-huge.cnf.sh
+40
-14
support-files/my-large.cnf.sh
support-files/my-large.cnf.sh
+45
-4
support-files/my-medium.cnf.sh
support-files/my-medium.cnf.sh
+41
-0
No files found.
BUILD/SETUP.sh
View file @
4644cefd
...
...
@@ -71,4 +71,6 @@ else
make
=
make
fi
CXX
=
gcc
if
test
-z
$CXX
;
then
CXX
=
gcc
fi
innobase/btr/Makefile.am
View file @
4644cefd
...
...
@@ -17,7 +17,7 @@
include
../include/Makefile.i
libs
_LIBRARIES
=
libbtr.a
noinst
_LIBRARIES
=
libbtr.a
libbtr_a_SOURCES
=
btr0btr.c btr0cur.c btr0pcur.c btr0sea.c
...
...
innobase/buf/Makefile.am
View file @
4644cefd
...
...
@@ -17,7 +17,7 @@
include
../include/Makefile.i
libs
_LIBRARIES
=
libbuf.a
noinst
_LIBRARIES
=
libbuf.a
libbuf_a_SOURCES
=
buf0buf.c buf0flu.c buf0lru.c buf0rea.c
...
...
innobase/com/Makefile.am
View file @
4644cefd
...
...
@@ -17,7 +17,7 @@
include
../include/Makefile.i
libs
_LIBRARIES
=
libcom.a
noinst
_LIBRARIES
=
libcom.a
libcom_a_SOURCES
=
com0com.c com0shm.c
...
...
innobase/data/Makefile.am
View file @
4644cefd
...
...
@@ -17,7 +17,7 @@
include
../include/Makefile.i
libs
_LIBRARIES
=
libdata.a
noinst
_LIBRARIES
=
libdata.a
libdata_a_SOURCES
=
data0data.c data0type.c
...
...
innobase/dict/Makefile.am
View file @
4644cefd
...
...
@@ -17,7 +17,7 @@
include
../include/Makefile.i
libs
_LIBRARIES
=
libdict.a
noinst
_LIBRARIES
=
libdict.a
libdict_a_SOURCES
=
dict0boot.c dict0crea.c dict0dict.c dict0load.c
\
dict0mem.c
...
...
innobase/dyn/Makefile.am
View file @
4644cefd
...
...
@@ -17,7 +17,7 @@
include
../include/Makefile.i
libs
_LIBRARIES
=
libdyn.a
noinst
_LIBRARIES
=
libdyn.a
libdyn_a_SOURCES
=
dyn0dyn.c
...
...
innobase/eval/Makefile.am
View file @
4644cefd
...
...
@@ -17,7 +17,7 @@
include
../include/Makefile.i
libs
_LIBRARIES
=
libeval.a
noinst
_LIBRARIES
=
libeval.a
libeval_a_SOURCES
=
eval0eval.c eval0proc.c
...
...
innobase/fil/Makefile.am
View file @
4644cefd
...
...
@@ -17,7 +17,7 @@
include
../include/Makefile.i
libs
_LIBRARIES
=
libfil.a
noinst
_LIBRARIES
=
libfil.a
libfil_a_SOURCES
=
fil0fil.c
...
...
innobase/fsp/Makefile.am
View file @
4644cefd
...
...
@@ -18,7 +18,7 @@
include
../include/Makefile.i
libs
_LIBRARIES
=
libfsp.a
noinst
_LIBRARIES
=
libfsp.a
libfsp_a_SOURCES
=
fsp0fsp.c
...
...
innobase/fut/Makefile.am
View file @
4644cefd
...
...
@@ -17,7 +17,7 @@
include
../include/Makefile.i
libs
_LIBRARIES
=
libfut.a
noinst
_LIBRARIES
=
libfut.a
libfut_a_SOURCES
=
fut0fut.c fut0lst.c
...
...
innobase/ha/Makefile.am
View file @
4644cefd
...
...
@@ -17,7 +17,7 @@
include
../include/Makefile.i
libs
_LIBRARIES
=
libha.a
noinst
_LIBRARIES
=
libha.a
libha_a_SOURCES
=
ha0ha.c hash0hash.c
...
...
innobase/ibuf/Makefile.am
View file @
4644cefd
...
...
@@ -17,7 +17,7 @@
include
../include/Makefile.i
libs
_LIBRARIES
=
libibuf.a
noinst
_LIBRARIES
=
libibuf.a
libibuf_a_SOURCES
=
ibuf0ibuf.c
...
...
innobase/include/Makefile.i
View file @
4644cefd
# Makefile included in Makefile.am in every subdirectory
libsdir
=
../libs
INCLUDES
=
-I
$(srcdir)
/../include
-I
$(srcdir)
/../../include
-I
../../include
# Don't update the files from bitkeeper
...
...
innobase/lock/Makefile.am
View file @
4644cefd
...
...
@@ -17,7 +17,7 @@
include
../include/Makefile.i
libs
_LIBRARIES
=
liblock.a
noinst
_LIBRARIES
=
liblock.a
liblock_a_SOURCES
=
lock0lock.c
...
...
innobase/log/Makefile.am
View file @
4644cefd
...
...
@@ -17,7 +17,7 @@
include
../include/Makefile.i
libs
_LIBRARIES
=
liblog.a
noinst
_LIBRARIES
=
liblog.a
liblog_a_SOURCES
=
log0log.c log0recv.c
...
...
innobase/mach/Makefile.am
View file @
4644cefd
...
...
@@ -17,7 +17,7 @@
include
../include/Makefile.i
libs
_LIBRARIES
=
libmach.a
noinst
_LIBRARIES
=
libmach.a
libmach_a_SOURCES
=
mach0data.c
...
...
innobase/mem/Makefile.am
View file @
4644cefd
...
...
@@ -17,7 +17,7 @@
include
../include/Makefile.i
libs
_LIBRARIES
=
libmem.a
noinst
_LIBRARIES
=
libmem.a
libmem_a_SOURCES
=
mem0mem.c mem0pool.c
...
...
innobase/mtr/Makefile.am
View file @
4644cefd
...
...
@@ -17,7 +17,7 @@
include
../include/Makefile.i
libs
_LIBRARIES
=
libmtr.a
noinst
_LIBRARIES
=
libmtr.a
libmtr_a_SOURCES
=
mtr0mtr.c mtr0log.c
...
...
innobase/odbc/Makefile.am
View file @
4644cefd
...
...
@@ -17,7 +17,7 @@
include
../include/Makefile.i
libs
_LIBRARIES
=
libodbc.a
noinst
_LIBRARIES
=
libodbc.a
libodbc_a_SOURCES
=
odbc0odbc.c
...
...
innobase/os/Makefile.am
View file @
4644cefd
...
...
@@ -17,7 +17,7 @@
include
../include/Makefile.i
libs
_LIBRARIES
=
libos.a
noinst
_LIBRARIES
=
libos.a
libos_a_SOURCES
=
os0proc.c os0shm.c os0sync.c os0thread.c os0file.c
...
...
innobase/page/Makefile.am
View file @
4644cefd
...
...
@@ -17,7 +17,7 @@
include
../include/Makefile.i
libs
_LIBRARIES
=
libpage.a
noinst
_LIBRARIES
=
libpage.a
libpage_a_SOURCES
=
page0page.c page0cur.c
...
...
innobase/pars/Makefile.am
View file @
4644cefd
...
...
@@ -17,7 +17,7 @@
include
../include/Makefile.i
libs
_LIBRARIES
=
libpars.a
noinst
_LIBRARIES
=
libpars.a
noinst_HEADERS
=
pars0grm.h
...
...
innobase/que/Makefile.am
View file @
4644cefd
...
...
@@ -17,7 +17,7 @@
include
../include/Makefile.i
libs
_LIBRARIES
=
libque.a
noinst
_LIBRARIES
=
libque.a
libque_a_SOURCES
=
que0que.c
...
...
innobase/read/Makefile.am
View file @
4644cefd
...
...
@@ -17,7 +17,7 @@
include
../include/Makefile.i
libs
_LIBRARIES
=
libread.a
noinst
_LIBRARIES
=
libread.a
libread_a_SOURCES
=
read0read.c
...
...
innobase/rem/Makefile.am
View file @
4644cefd
...
...
@@ -17,7 +17,7 @@
include
../include/Makefile.i
libs
_LIBRARIES
=
librem.a
noinst
_LIBRARIES
=
librem.a
librem_a_SOURCES
=
rem0rec.c rem0cmp.c
...
...
innobase/row/Makefile.am
View file @
4644cefd
...
...
@@ -17,7 +17,7 @@
include
../include/Makefile.i
libs
_LIBRARIES
=
librow.a
noinst
_LIBRARIES
=
librow.a
librow_a_SOURCES
=
row0ins.c row0mysql.c row0purge.c row0row.c row0sel.c
\
row0uins.c row0umod.c row0undo.c row0upd.c row0vers.c
...
...
innobase/srv/Makefile.am
View file @
4644cefd
...
...
@@ -17,7 +17,7 @@
include
../include/Makefile.i
libs
_LIBRARIES
=
libsrv.a
noinst
_LIBRARIES
=
libsrv.a
libsrv_a_SOURCES
=
srv0srv.c srv0que.c srv0start.c
...
...
innobase/sync/Makefile.am
View file @
4644cefd
...
...
@@ -17,7 +17,7 @@
include
../include/Makefile.i
libs
_LIBRARIES
=
libsync.a
noinst
_LIBRARIES
=
libsync.a
libsync_a_SOURCES
=
sync0arr.c sync0ipm.c sync0rw.c sync0sync.c
...
...
innobase/thr/Makefile.am
View file @
4644cefd
...
...
@@ -17,7 +17,7 @@
include
../include/Makefile.i
libs
_LIBRARIES
=
libthr.a
noinst
_LIBRARIES
=
libthr.a
libthr_a_SOURCES
=
thr0loc.c
...
...
innobase/trx/Makefile.am
View file @
4644cefd
...
...
@@ -17,7 +17,7 @@
include
../include/Makefile.i
libs
_LIBRARIES
=
libtrx.a
noinst
_LIBRARIES
=
libtrx.a
libtrx_a_SOURCES
=
trx0purge.c trx0rec.c trx0roll.c trx0rseg.c
\
trx0sys.c trx0trx.c trx0undo.c
...
...
innobase/usr/Makefile.am
View file @
4644cefd
...
...
@@ -17,7 +17,7 @@
include
../include/Makefile.i
libs
_LIBRARIES
=
libusr.a
noinst
_LIBRARIES
=
libusr.a
libusr_a_SOURCES
=
usr0sess.c
...
...
innobase/ut/Makefile.am
View file @
4644cefd
...
...
@@ -17,7 +17,7 @@
include
../include/Makefile.i
libs
_LIBRARIES
=
libut.a
noinst
_LIBRARIES
=
libut.a
libut_a_SOURCES
=
ut0byte.c ut0dbg.c ut0mem.c ut0rnd.c ut0ut.c
...
...
scripts/mysql_fix_privilege_tables.sh
View file @
4644cefd
#!/bin/sh
echo
"This scripts updates the mysql.user, mysql.db, mysql.host and the"
echo
"mysql.func tables to MySQL 3.22.14 and above."
echo
""
echo
"This is needed if you want to use the new GRANT functions,"
echo
"CREATE AGGREGATE FUNCTION or want to use the more secure passwords in 3.23"
echo
""
echo
"If you get 'Access denied' errors, you should run this script again"
echo
"and give the MySQL root user password as an argument!"
root_password
=
"
$1
"
host
=
"localhost"
user
=
"root"
...
...
@@ -20,6 +11,21 @@ else
cmd
=
"@bindir@/mysql -f --user=
$user
--password=
$root_password
--host=
$host
mysql"
fi
# Debian addition
if
[
"
$1
"
=
"--sql-only"
]
;
then
root_password
=
""
cmd
=
"/usr/share/mysql/echo_stderr"
fi
echo
"This scripts updates the mysql.user, mysql.db, mysql.host and the"
echo
"mysql.func tables to MySQL 3.22.14 and above."
echo
""
echo
"This is needed if you want to use the new GRANT functions,"
echo
"CREATE AGGREGATE FUNCTION or want to use the more secure passwords in 3.23"
echo
""
echo
"If you get 'Access denied' errors, you should run this script again"
echo
"and give the MySQL root user password as an argument!"
echo
"Converting all privilege tables to MyISAM format"
$cmd
<<
END_OF_DATA
ALTER TABLE user type=MyISAM;
...
...
support-files/my-huge.cnf.sh
View file @
4644cefd
...
...
@@ -31,27 +31,53 @@ set-variable = max_allowed_packet=1M
set-variable
=
table_cache
=
512
set-variable
=
sort_buffer
=
2M
set-variable
=
record_buffer
=
2M
set-variable
=
myisam_sort_buffer_size
=
64M
set-variable
=
thread_cache
=
8
# Try number of CPU's*2 for thread_concurrency
set-variable
=
thread_concurrency
=
8
set-variable
=
myisam_sort_buffer_size
=
64M
# Don't listen on a TCP/IP port at all. This can be a security enhancement,
# if all processes that need to connect to mysqld run on the same host.
# All interaction with mysqld must be made via Unix sockets or named pipes.
# Note that using this option without enabling named pipes on Windows
# (via the "pipe" option) will render mysqld useless!
#
#skip-networking
# Replication Master Server (default)
log-bin
# required for replication
server-id
=
1
# required unique id between 1 and 2^32 - 1
# defaults to 1 if master-host is not set
# but will not function as a master if omitted
# binary logging is required for replication
log-bin
# required unique id between 1 and 2^32 - 1
# defaults to 1 if master-host is not set
# but will not function as a master if omitted
server-id
=
1
# Replication Slave Server (comment out master section to use this)
#master-host = # MUST BE SET
#master-user = # MUST BE SET
#master-password = # MUST BE SET
#master-port = # optional--defaults to 3306
#log-bin # not required for slaves, but recommended
#server-id = 2 # required unique id between 2 and 2^32 - 1
# (and different from the master)
# defaults to 2 if master-host is set
# but will not function as a slave if omitted
#
# required unique id between 2 and 2^32 - 1
# (and different from the master)
# defaults to 2 if master-host is set
# but will not function as a slave if omitted
#server-id = 2
#
# The replication master for this slave - required
#master-host = <hostname>
#
# The username the slave will use for authentication when connecting
# to the master - required
#master-user = <username>
#
# The password the slave will authenticate with when connecting to
# the master - required
#master-password = <password>
#
# The port the master is listening on.
# optional - defaults to 3306
#master-port = <port>
#
# binary logging - not required for slaves, but recommended
#log-bin
# Point the following paths to different dedicated disks
#tmpdir = /tmp/
...
...
support-files/my-large.cnf.sh
View file @
4644cefd
...
...
@@ -35,9 +35,54 @@ set-variable = myisam_sort_buffer_size=64M
set-variable
=
thread_cache
=
8
# Try number of CPU's*2 for thread_concurrency
set-variable
=
thread_concurrency
=
8
# Don't listen on a TCP/IP port at all. This can be a security enhancement,
# if all processes that need to connect to mysqld run on the same host.
# All interaction with mysqld must be made via Unix sockets or named pipes.
# Note that using this option without enabling named pipes on Windows
# (via the "pipe" option) will render mysqld useless!
#
#skip-networking
# Replication Master Server (default)
# binary logging is required for replication
log-bin
# required unique id between 1 and 2^32 - 1
# defaults to 1 if master-host is not set
# but will not function as a master if omitted
server-id
=
1
# Replication Slave Server (comment out master section to use this)
#
# required unique id between 2 and 2^32 - 1
# (and different from the master)
# defaults to 2 if master-host is set
# but will not function as a slave if omitted
#server-id = 2
#
# The replication master for this slave - required
#master-host = <hostname>
#
# The username the slave will use for authentication when connecting
# to the master - required
#master-user = <username>
#
# The password the slave will authenticate with when connecting to
# the master - required
#master-password = <password>
#
# The port the master is listening on.
# optional - defaults to 3306
#master-port = <port>
#
# binary logging - not required for slaves, but recommended
#log-bin
# Point the following paths to different dedicated disks
#tmpdir = /tmp/
#log-update = /path-to-dedicated-directory/hostname
# Uncomment the following if you are using BDB tables
#set-variable = bdb_cache_size=64M
#set-variable = bdb_max_lock=100000
...
...
@@ -57,10 +102,6 @@ server-id = 1
#innodb_flush_log_at_trx_commit=1
#set-variable = innodb_lock_wait_timeout=50
# Point the following paths to different dedicated disks
#tmpdir = /tmp/
#log-update = /path-to-dedicated-directory/hostname
[
mysqldump]
quick
set-variable
=
max_allowed_packet
=
16M
...
...
support-files/my-medium.cnf.sh
View file @
4644cefd
...
...
@@ -33,9 +33,50 @@ set-variable = table_cache=64
set-variable
=
sort_buffer
=
512K
set-variable
=
net_buffer_length
=
8K
set-variable
=
myisam_sort_buffer_size
=
8M
# Don't listen on a TCP/IP port at all. This can be a security enhancement,
# if all processes that need to connect to mysqld run on the same host.
# All interaction with mysqld must be made via Unix sockets or named pipes.
# Note that using this option without enabling named pipes on Windows
# (via the "pipe" option) will render mysqld useless!
#
#skip-networking
# Replication Master Server (default)
# binary logging is required for replication
log-bin
# required unique id between 1 and 2^32 - 1
# defaults to 1 if master-host is not set
# but will not function as a master if omitted
server-id
=
1
# Replication Slave Server (comment out master section to use this)
#
# required unique id between 2 and 2^32 - 1
# (and different from the master)
# defaults to 2 if master-host is set
# but will not function as a slave if omitted
#server-id = 2
#
# The replication master for this slave - required
#master-host = <hostname>
#
# The username the slave will use for authentication when connecting
# to the master - required
#master-user = <username>
#
# The password the slave will authenticate with when connecting to
# the master - required
#master-password = <password>
#
# The port the master is listening on.
# optional - defaults to 3306
#master-port = <port>
#
# binary logging - not required for slaves, but recommended
#log-bin
# Point the following paths to different dedicated disks
#tmpdir = /tmp/
#log-update = /path-to-dedicated-directory/hostname
...
...
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