(thanks to Haakon Innerdal for spotting this one)
support-files/mysql.spec.sh:
- added a missing %define
(thanks to Haakon Innerdal for spotting this one)
for Mac OS X and add it to the installation Disk Image.
Build-tools/Do-pkg:
- added code to build the StartupItem PKG along with the MySQL PKG and
add it to the resulting Disk Image (can be skipped with --skip-si)
- lots of cleanups (use more builtin Perl functions instead of
subprocesses, enable a full dry run without errors)
support-files/MacOSX/StartupItem.Info.plist:
- removed IFPkgFlagOverwritePermissions and IFPkgFlagUseUserMask
startup item: MySQL (the startup script), StartupItem.Description.plist,
StartupItem.Info.plist (PKGMaker control files), StartupItem.postinstall
(post-installation script for the Startup Item package)
- modified support-files/MacOSX/Makefile.am to include the newly added files
in the source distribution
BitKeeper/etc/ignore:
Added scripts/make_win_src_distribution to the ignore list
support-files/MacOSX/Makefile.am:
- added the Mac OS X StartupItem files to the source distribution
- Fixed BUG#959 (libmysqld not being compiled properly)
- Fixed BUG#998 (RPM build errors): added missing files to the
distribution (mysql_fix_extensions, mysql_tableinfo, mysqldumpslow,
mysql_fix_privilege_tables.1), removed "-n" from %install section.
support-files/mysql.spec.sh:
- Fixed BUG#959 (libmysqld not being compiled properly)
- Fixed BUG#998 (RPM build errors): added missing files to the
distribution (mysql_fix_extensions, mysql_tableinfo, mysqldumpslow,
mysql_fix_privilege_tables.1), removed "-n" from %install section.
override CC/CXX when using a special compiler)
- the RPM should now build on AMD64 and IA64, too
support-files/MySQL-shared-compat.spec.sh:
- use %_libdir macro instead of hardcoded value (required on AMD64,
where %_libdir is /usr/lib64 instead)
support-files/mysql.spec.sh:
- removed the GIF Icon (file was not included in the sources anyway)
- removed unused variable %shared_lib_version
- do not run automake before building the standard binary
(should not be necessary)
- add server suffix '-standard' to standard binary (to be in line
with the binary tarball distributions)
- Use more RPM macros (_exec_prefix, _sbindir, _libdir, _sysconfdir,
_datadir, _includedir) throughout the spec file (using _libdir was
required to be used anyway to be able to build on AMD64).
- allow overriding CC and CXX (required when building with other compilers)
to set CXX=gcc (cannot link the code with g++) - this should help to
recompile the RPM on Distributions using gcc 3
- Added a symlink /usr/sbin/rcmysql -> /etc/init.d/mysql
the installation to make sure the privilege tables are being
installed even if the DNS configuration is broken, which seems
to be quite common (reverse lookups to "hostname" fail).
This should resolve the problem many Mac OS users experience
("Fatal error: Can't open privilege tables: Table 'mysql.host' doesn't
exist") when they try to start MySQL after installing the PKG.
can be used to build a compatibility package that includes the shared
libraries of MySQL 3.23.xx and MySQL 4.0.xx for backwards compatibility
with dynamically linked applications. It simply repackages the two
MySQL-shared RPMs, so these need to be created or downloaded separately.
support-files/Makefile.am:
- added MySQL-shared-compat.spec(.sh) to the distribution
instead of being an individual file to avoid redundancy
BitKeeper/deleted/.del-ReadMe.txt~bd880aa05a0baccd:
Delete: support-files/MacOSX/ReadMe.txt
Docs/Makefile.am:
- Generate the MacOS ReadMe.txt from the manual
support-files/MacOSX/Makefile.am:
- Added MacOS X ReadMe.txt to CLEANFILES now that it's being autogenerated
sql/ha_innodb.cc:
Auto merged
sql/ha_innodb.h:
Auto merged
sql/mysqld.cc:
Auto merged
sql/sql_list.h:
Auto merged
support-files/my-huge.cnf.sh:
Added query_cache_size
support-files/my-large.cnf.sh:
Added query_cache_size
Added optimzation for clustered index
Fixed bug in UPDATE ... ORDER BY
Fixed handling of UPDATE ... LIMIT
BitKeeper/deleted/.del-.cvsignore~7e29af89a3559f4c:
Delete: Images/.cvsignore
BitKeeper/deleted/.del-README~d5a4e7ca3a2e87a9:
Delete: repl-tests/README
BitKeeper/deleted/.del-run-all-tests~4deb6479a13e4568:
Delete: repl-tests/run-all-tests
BitKeeper/deleted/.del-run.test~3dc5b9bd1e9feea5:
Delete: repl-tests/test-repl-alter/run.test
BitKeeper/deleted/.del-run.test~4020771cff278f14:
Delete: repl-tests/test-bad-query/run.test
BitKeeper/deleted/.del-run.test~452f2b66537404a8:
Delete: repl-tests/test-dump/run.test
BitKeeper/deleted/.del-run.test~b1f0c1f96554df8:
Delete: repl-tests/test-auto-inc/run.test
BitKeeper/deleted/.del-table-dump-check.master~e13afeb8c79264b5:
Delete: repl-tests/test-dump/table-dump-check.master
BitKeeper/deleted/.del-table-dump-select.master~744acb955e33f3db:
Delete: repl-tests/test-dump/table-dump-select.master
BitKeeper/deleted/.del-x.master~29a93ed7956c8693:
Delete: repl-tests/test-auto-inc/x.master
BitKeeper/deleted/.del-x.master~3b248cbac9abda2b:
Delete: repl-tests/test-bad-query/x.master
BitKeeper/deleted/.del-foo-dump-master.master~b49ae6bec1e918ee:
Delete: repl-tests/test-repl/foo-dump-master.master
BitKeeper/deleted/.del-foo-dump-slave.master~f16ed20457d59be9:
Delete: repl-tests/test-repl/foo-dump-slave.master
BitKeeper/deleted/.del-repl-timestamp.master.reject~3492d2b74b413771:
Delete: repl-tests/test-repl-ts/repl-timestamp.master.reject
BitKeeper/deleted/.del-repl-timestamp.master~4b7782da5cc13161:
Delete: repl-tests/test-repl-ts/repl-timestamp.master
BitKeeper/deleted/.del-run.test~a1e32ea1e4253af4:
Delete: repl-tests/test-repl/run.test
BitKeeper/deleted/.del-run.test~ce5e626c91b760ec:
Delete: repl-tests/test-repl-ts/run.test
BitKeeper/deleted/.del-sum-wlen-master.master~1a5ea625c79e978:
Delete: repl-tests/test-repl/sum-wlen-master.master
BitKeeper/deleted/.del-sum-wlen-slave.master~f016d98833433084:
Delete: repl-tests/test-repl/sum-wlen-slave.master
BitKeeper/deleted/.del-test.master~5829e7b3770179db:
Delete: repl-tests/test-repl-alter/test.master
BitKeeper/deleted/.del-master-slave.inc~6775f6ae10137c39:
Delete: repl-tests/include/master-slave.inc
include/my_global.h:
Fix for purify/valgrind
myisam/mi_info.c:
Updated comment
mysql-test/r/group_by.result:
New test results
mysql-test/r/innodb.result:
New test results
mysql-test/r/join_outer.result:
New test results
mysql-test/r/multi_update.result:
New test results
mysql-test/r/null_key.result:
New test results
mysql-test/r/update.result:
New test results
mysql-test/t/group_by.test:
Added extra explain to 'suspicious' test.
mysql-test/t/innodb.test:
Added test for UPDATE ... ORDER BY
mysql-test/t/join_outer.test:
Changed test to be repeatable
mysql-test/t/multi_update.test:
Slight change of test to catch more bugs
mysql-test/t/update.test:
Better test for UPDATE ... ORDER BY
sql/field.cc:
Simple optimization
sql/ha_heap.h:
Added optimzation for clustered index
sql/ha_innodb.cc:
Added optimzation for clustered index
sql/ha_innodb.h:
Added optimzation for clustered index
sql/handler.h:
Added optimzation for clustered index
sql/item_sum.cc:
Removed some usage of current_thd
sql/mysqld.cc:
Fix bug when compiling for purify/valgrind
sql/opt_range.cc:
Added optimzation for clustered index
sql/records.cc:
Fixed comment
sql/sql_list.h:
Fixed comment
sql/sql_select.cc:
Removed some usage of current_thd
sql/sql_select.h:
Removed some usage of current_thd
sql/sql_union.cc:
Removed some usage of current_thd
sql/sql_update.cc:
Fixed bug in UPDATE ... ORDER BY
Fixed handling of UPDATE ... LIMIT
support-files/my-huge.cnf.sh:
Added default size for query cache
support-files/my-large.cnf.sh:
Added default size for query cache
(bug #223)
- Added more detailed info about how to set up replication
support-files/my-huge.cnf.sh:
- updated variable names that have been renamed in 4.0 (bug #223)
- added more detailed info about how to set up replication (suggestion
made by Guilhem)
support-files/my-large.cnf.sh:
- updated variable names that have been renamed in 4.0 (bug #223)
- added more detailed info about how to set up replication (suggestion
made by Guilhem)
support-files/my-medium.cnf.sh:
- updated variable names that have been renamed in 4.0 (bug #223)
- added more detailed info about how to set up replication (suggestion
made by Guilhem)
support-files/my-small.cnf.sh:
- updated variable names that have been renamed in 4.0 (bug #223)
- added hint and commented out sample about skip-networking option
(security enhancement)
in the sample configuration files
- reworked the replication options and comments a bit
- added option "skip-networking" (commented out by default) to the
sample configuration files (enhancement request from bug report #234)
support-files/my-huge.cnf.sh:
- work around bug #235 (comments at the end of configuration options lead
to errors) by reformatting the comments to be above the options instead
- enhanced comments on the replication options a bit
- added option "skip-networking" (commented out by default) with an
appropriate comment (bug #234)
support-files/my-large.cnf.sh:
- work around bug #235 (comments at the end of configuration options lead
to errors) by reformatting the comments to be above the options instead
- enhanced comments on the replication options a bit
- added option "skip-networking" (commented out by default) with an
appropriate comment (bug #234)
support-files/my-medium.cnf.sh:
- work around bug #235 (comments at the end of configuration options lead
to errors) by reformatting the comments to be above the options instead
- enhanced comments on the replication options a bit
- added option "skip-networking" (commented out by default) with an
appropriate comment (bug #234)
(bug #141) (please merge with 4.1 and onwards)
support-files/mysql.spec.sh:
- added missing file mysql_secure_installation to server RPM subpackage
(bug #141)
- moved helper functions from Bootstrap script to logger.pm
Build-tools/Bootstrap:
- renamed logfile -> LOGFILE
- moved functions abort() and run_command() to logger.pm for better
reusability
Build-tools/Do-pkg:
- heavily reworked: now make use of the logger.pm helper functions
- added new options: --dry-run, --log, --mail, --verbose
Build-tools/logger.pm:
- added functions run_command() and abort() from Bootstrap script for
better code reusability
support-files/MacOSX/postinstall.sh:
- made script more robust
distribution
- added Bootstrap, logger.pm and Do-pkg to Build-tools:
Bootstrap is used to build the source distribution for the binary builds
logger.pm includes some helper functions
Do-pkg converts a binary distribution into a Mac OS X PKG (still needs
some polishing)
support-files/MacOSX/Description.plist.sh:
- Shortened IFPkgDescriptionDescription a bit
support-files/MacOSX/Makefile.am:
- Added more files (StartupParameters.plist, postinstall, preinstall) to
distribution
- re-added missing pre- and post(un)install scripts to server subpackage
- added config file /etc/my.cnf to the file list (just for completeness)
- make sure to create the datadir with 755 permissions
support-files/mysql.spec.sh:
- re-added missing pre- and post(un)install scripts to server subpackage
- added config file /etc/my.cnf to the file list (just for completeness)
- make sure to create the datadir with 755 permissions
- renamed MySQL.rpm to MySQL-server.rpm
scripts/make_binary_distribution.sh:
- added mysql_waitpid to binary distribution (required for mysql-test-run)
support-files/mysql.spec.sh:
- renamed package "MySQL" to "MySQL-server"
- fixed Copyright tag
- added mysql_waitpid to "client" subpackage (required for mysql-test-run)
BitKeeper/etc/ignore:
auto-union
configure.in:
Auto merged
BitKeeper/deleted/.del-global.h~e80d28157acfdcb5:
Auto merged
libmysql/password.c:
Auto merged
mysys/hash.c:
Auto merged
mysys/my_static.c:
Auto merged
mysys/my_static.h:
Auto merged
mysys/my_tempnam.c:
Auto merged
sql/sql_analyse.cc:
Auto merged
sql/sql_table.cc:
Auto merged
support-files/mysql.server.sh:
Auto merged
mysql-test/t/temp_table.test:
Added comment
sql/mysqld.cc:
Don't apply change from 3.23
sql/sql_show.cc:
Don't apply change from 3.23
sql/structs.h:
Don't apply change from 3.23
compatibility of the RPMs
- added "restart" action to the mysql.server init script
support-files/mysql.server.sh:
- added "restart" action
support-files/mysql.spec.sh:
- moved init script from /etc/rc.d/init.d to /etc/init.d (the majority of
Linux distributions now support this scheme as proposed by the LSB either
directly or via a compatibility symlink)
- relaxed the Perl requirements a bit
- Use new "restart" init script action instead of starting and stopping
separately
- Be more flexible in activating the automatic bootup - use insserv (on
older SuSE versions) or chkconfig (Red Hat, newer SuSE versions and
others) to create the respective symlinks
- reverted some incompatible/non-portable modifications
support-files/mysql.server.sh:
- reverted non-portable change ("echo -n" does not work on all platforms)
- reverted incompatible change (better fix the docs than break existing
installations)
- fixed some typos and wording (merged from 3.23 tree)
- fixed parsing the correct section in /etc/my.cnf ([mysql_server] ->
[mysql.server]) as documented in the manual
support-files/mysql.server.sh:
- fixed some typos and wording (merged from 3.23 tree)
- fixed parsing the correct section in /etc/my.cnf ([mysql_server] ->
[mysql.server]) as documented in the manual
- fix setting of niceness level
support-files/mysql.server.sh
- applied some fixes from 4.0 mysql.server script
- fix my.cnf parsing
scripts/safe_mysqld.sh:
- fix setting of niceness level, if one adds "renice -20 $$" to safe_mysqld
as hinted in the manual (which could result in NOHUP_NICENESS having a
value of "-15" and hence there would be one dash too much)
support-files/mysql.server.sh:
- applied some fixes from 4.0 mysql.server script
- fix to actually parse the documented section ([mysql.server] not
[mysql_server]) in my.cnf on startup
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
scripts/mysqlhotcopy.sh:
Auto merged
sql-bench/test-create.sh:
Auto merged
support-files/mysql.server.sh:
Auto merged
- Updated scripts/make_binary_distribution.sh to include the correct
ChangeLog and the LICENSE file for non-GPL builds
scripts/make_binary_distribution.sh:
- Add BK ChangeLog (if existing) instead of sql/ChangeLog, which is
not updated anymore since we switched to BK
- Add LICENSE, if exists (required for non-GPL binary builds)
support-files/mysql.spec.sh:
- MySQL-Max now requires MySQL to be the same version (to
avoid version mismatches e.g. mixing 3.23.xx and 4.0 packages)
common, especially on our main build systems
- cosmetical fix in mysql.spec
Build-tools/mysql-copyright:
- rename gtar -> tar (more common on most systems)
support-files/mysql.spec.sh:
- fix non ASCII accent and replace it with something that does not
mess my syntax highlighting :)
- mysql.spec.sh: MySQL-Max now requires MySQL >= 4.0 to avoid version
mismatches (people were mixing MySQL 3.23 and 4.0 RPMs)
Docs/manual.texi:
- Added Changelog entry
support-files/mysql.spec.sh:
- MySQL-Max now requires MySQL >= 4.0 to avoid version mismatching
Fix when using --localstatedir
Cleaned up mysql.server
Build-tools/Do-compile:
Remove test file timestamp2
Docs/manual.texi:
Changelog
client/mysqladmin.c:
Portability fix
scripts/make_binary_distribution.sh:
Fix for mysql.server
sql/mysqld.cc:
Fix when using --localstatedir
support-files/mysql.server.sh:
More comments for usage of 'basedir'