Commit graph

178 commits

Author SHA1 Message Date
unknown
a90c14b6f4 - fixed typo so make dist does not fail 2004-08-28 09:31:15 +02:00
unknown
0830992f2d - Updated RPM spec file: MySQL-Max now requires MySQL-server instead
of MySQL (BUG#3860)
2004-08-26 12:25:14 +02:00
unknown
8b11e715bb - make sure to recreate all autoconf/automake-related files after
modifying configure.in for the commercial tarballs
 - added my-innodb-heavy-4G.cnf to the distribution


Build-tools/mysql-copyright:
   - make sure to recreate all autoconf/automake-related files after
     modifying configure.in
support-files/Makefile.am:
   - added my-innodb-heavy-4G.cnf to the distribution
2004-08-24 13:51:28 +02:00
unknown
4ba06ba7b8 - Fixed two small version number issues in MySQL-shared-compat.spec
support-files/MySQL-shared-compat.spec.sh:
   - fixed using the correct version number
   - bumped up the 3.23 version number to current
2004-08-12 21:40:34 +02:00
unknown
d758fc8ec3 - Added libmygcc.a to the "devel" RPM subpackage (required to link
applications against the the embedded server libmysqld.a) 
   (BUG#4921)
2004-08-10 16:50:29 +02:00
unknown
fd2544c4ba - added EXCEPTIONS-CLIENT to the "devel" RPM subpackage and added
a note to the RPM ChangeLog about it
2004-08-09 14:36:59 +02:00
unknown
06cd2efc2e - rename: EXCEPTIONS->EXCEPTIONS-CLIENT 2004-08-05 17:05:11 +02:00
unknown
d62dff227d - applied the required changes to create the FOSS License exception
file "EXCEPTIONS" and include it in the source and binary 
   distributions


Build-tools/mysql-copyright:
   - remove COPYING and EXCEPTIONS from the commercial packages
Docs/Makefile.am:
   - create the EXCEPTIONS file that includes the FOSS License exception
scripts/make_binary_distribution.sh:
   - include EXCEPTIONS in the binary distribution, too.
support-files/mysql.spec.sh:
   - add EXCEPTIONS to the server RPM
2004-08-05 01:54:04 +02:00
unknown
7a00d199a4 Fix for BUG#4038 "rpm postinstall script leaves files as owned by root":
the rpm postinstall script must call mysql_install_db with --user=mysql,
and mysql_install_db must then pass this to mysqld. Otherwise, mysqld
runs as root, and if you have --log-bin=somewhere_out_of_var_lib_mysql
it creates binlog files owned by root in this dir, and this dir is not
fixed by the 'chmod mysql', so files remain owned by root, and later mysqld
(running as 'mysql') can't read them.
I'm hardcoding 'mysql' in the postinstall script, but it's already hardcoded
there in many places (see the useradd and chown) so it's ok.


scripts/mysql_install_db.sh:
  Pass --user to mysqld
support-files/mysql.spec.sh:
  in postinstall, call mysql_install_db with --user=mysql, so that mysqld (which installs the grant tables)
  is started with --user=mysql.
2004-06-09 17:07:11 +02:00
unknown
427590f865 Touchups to .cnf file comments. 2004-06-02 12:56:26 -05:00
unknown
d30a350d7a my-medium.cnf.sh:
Correct typo, and fix up rest of sentence as well.


support-files/my-medium.cnf.sh:
  Correct typo, and fix up rest of sentence as well.
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
2004-04-28 11:50:32 -05:00
unknown
f6d992be47 - added ncurses-devel to the build prerequisites (BUG#3377) 2004-04-05 14:38:17 +02:00
unknown
9c91900458 - Replaced obsolete "Copyright" field with "License" in the RPM spec file
support-files/mysql.spec.sh:
   - Replaced obsolete "Copyright" field with "License"
2004-02-12 17:12:08 +01:00
unknown
99472547d4 - fixed broken shellcode 2004-02-12 16:51:52 +01:00
unknown
96634253b7 - always use CXX=gcc (not only when using gcc 3) to avoid a dependency
on libstdc++ and exceptions
2004-02-12 15:53:47 +01:00
unknown
5185075ce6 Merge lgrimmer@build.mysql.com:/home/bk/mysql-4.0
into mysql.com:/space/my/mysql-4.0
2004-02-04 12:44:34 +01:00
unknown
595e46704f - renamed myisam/ft_dump to myisam/mysam_ftdump and added it to the
binary distribution and Server RPM


myisam/myisam_ftdump.c:
  Rename: myisam/ft_dump.c -> myisam/myisam_ftdump.c
BitKeeper/etc/ignore:
  Added myisam/myisam_ftdump to the ignore list
myisam/Makefile.am:
   - renamed ft_dump to myisam_ftdump and added it to bin_PROGRAMS
scripts/make_binary_distribution.sh:
   - added myisam_ftdump to the binary distribution
support-files/mysql.spec.sh:
   - added myisam_ftdump to the Server package
2004-02-03 22:25:02 +01:00
unknown
1e4d0a12d0 extra newline removed 2004-02-03 21:15:20 +01:00
unknown
2dc266aff4 another variant (bug #2185: mysql.server script echo bug) 2004-02-03 16:45:29 +04:00
unknown
b3fd7528c5 a fix (#2185: mysql.server script echo bug)
thnx Paul.                                             
              
<monty> can you get the above into configure and make Makefile.am patch         
mysql.server.sh with the right values for mysql.server ?                        
<monty> or do you think we should just put the above in mysql.server.sh directly
<ramil> as you want                                                             
<monty> the last is kind of hard to do with variables, so lets put the          
above in mysql.server.sh directly                                               
                                                                  


support-files/mysql.server.sh:
  #2185: mysql.server script echo bug
2004-02-02 15:25:20 +04:00
unknown
4ee3e7dc69 - be able to build MySQL-shared-compat RPMs for other archs than i386 2004-01-13 19:44:33 +01:00
unknown
9cd4e65081 - marked /etc/logrotate.d/mysql as a config file in the RPM spec file
(BUG#2156)


support-files/mysql.spec.sh:
   - marked /etc/logrotate.d/mysql as a config file (BUG#2156)
2003-12-22 14:56:06 +01:00
unknown
afb0756618 Extend max_allowed_packet to 2G in mysql and mysqldump (Bug #2105)
Don't dump data for MRG_ISAM or MRG_MYISAM tables. (Bug #1846)
Ensure that 'lower_case_table_names' is always set on case insensitive file systems. (Bug #1812)
One can now configure MySQL as windows service as a normal user. (Bug #1802)
Database names is now compared with lower case in ON clause when lower_case_table_names is set. (Bug #1736)
IGNORE ... LINES option didn't work when used with fixed length rows. (Bug #1704)
Change INSERT DELAYED ... SELECT... to INSERT .... SELECT (Bug #1983)
Safety fix for service 'mysql start' (Bug #1815)


client/mysql.cc:
  Extend max_allowed_packet to 2G (Bug #2105)
client/mysqldump.c:
  Extend max_allowed_packet to 2G (Bug #2105)
  Don't dump data for MRG_ISAM or MRG_MYISAM tables. (Bug #1846)
configure.in:
  Test for file linux/config.h
include/my_global.h:
  Portability fix (Bug #1924)
mysql-test/r/insert.result:
  Update test results
mysql-test/r/loaddata.result:
  Update test results
mysql-test/r/lowercase_table.result:
  Update test results
mysql-test/t/insert.test:
  Test INSERT ... DELAYED ... SELECT
mysql-test/t/loaddata.test:
  Added test of LOAD DATA INFILE ... IGNORE # LINES for fixed size tables
mysql-test/t/lowercase_table.test:
  Test mixed lower/uppercase database names
sql/item.cc:
  Made function not inline (to make it easier to modify it without recompilation of all files)
sql/item.h:
  Moved function to item.cc
sql/mysqld.cc:
  Merge pidfile create code
  Ensure that 'lower_case_table_names' is always set on case insensitive file systems. (Bug #1812)
sql/nt_servc.cc:
  One can now configure MySQL as windows service as a normal user. (Bug #1802)
sql/sql_base.cc:
  Database names is now compared with lower case in ON clause when lower_case_table_names is set. (Bug #1736)
sql/sql_class.h:
  Fixed type
sql/sql_load.cc:
  IGNORE ... LINES option didn't work when used with fixed length rows. (Bug #1704)
sql/sql_parse.cc:
  Change INSERT DELAYED ... SELECT... to INSERT .... SELECT
strings/ctype-tis620.c:
  Ensure that memory is freed properly (Partly becasue of bug #1770)
  Bar should check the proposed patch in #1770 if we can use it
support-files/mysql.server.sh:
  Safety fix (Bug #1815)
2003-12-14 06:39:52 +02:00
unknown
707cb99eef - fixed file permissions for the server RPM docs directory (BUG 1672)
support-files/mysql.spec.sh:
   - fixed file permissions for the server docs directory (BUG 1672)
2003-12-13 03:52:19 +01:00
unknown
77ca2ff180 - Reworked the Do-rpm build script to be more flexible
- Reworked testing for gcc3 in the RPM spec file a bit


Build-tools/Do-rpm:
  Big overhaul:
  
   - Give the spec file name as the option, not the version number (required
     to be able to build commercial RPMs, too)
   - Some more logging and debugging, more documentation
support-files/mysql.spec.sh:
   - made testing for gcc3 a bit more robust and not to stomp on user
     settings for CXX
2003-12-12 23:06:26 +01:00
unknown
930f94bf17 - Bugfix for the Mac OS X startup script: Suppress the annoying
"$1: unbound variable" error when no option was given


support-files/MacOSX/MySQL:
   - Suppress the annoying "$1: unbound variable" error when no option
     was given
2003-12-03 13:56:33 +01:00
unknown
ea280fd3ff - Removed COPYING.LIB from all source and binary distributions
after it was removed from manual.texi (where it was automatically
   generated from).


Docs/Makefile.am:
   - don't create COPYING.LIB anymore (was removed from manual.texi)
Makefile.am:
   - Removed COPYING.LIB from the source distribution
scripts/make_binary_distribution.sh:
   - Removed COPYING.LIB from the binary distribution
scripts/make_win_src_distribution.sh:
   - Removed COPYING.LIB from the windows source distribution
support-files/mysql.spec.sh:
   - Removed COPYING.LIB from the Server RPM
2003-11-25 17:52:12 +01:00
unknown
9c5fb81fc0 - removed dependency on MySQL-client from the MySQL-devel RPM subpackage
as it is not really required. (BUG 1610) Thanks to Scott Harrison for
   the suggestion.


support-files/mysql.spec.sh:
   - removed dependency on MySQL-client from the MySQL-devel subpackage
     as it is not really required. (BUG 1610)
2003-11-21 13:22:49 +01:00
unknown
e05ea7b8ea Move the pid file testing after arguments are parsed (previous patch was not correct) 2003-10-24 14:22:54 +03:00
unknown
a0e2753e87 Ride hobby horse.
mysql-test/mysql-test-run.sh:
  deamon -> daemon
scripts/mysql_install_db.sh:
  deamon -> daemon
support-files/my-small.cnf.sh:
  deamon -> daemon
2003-10-04 17:41:17 -05:00
unknown
e03265d4d5 Removed random chars after filename for LOAD DATA INFILE (in mysqlbinlog)
Add quoting for use `database` for mysqlbinlog
Removed test ins0000001
Add support for --replace for exec in mysqltest
Don't refer to install dir in mysqlbinlog.result


BitKeeper/deleted/.del-ins000001.result~f45c599efdf8352b:
  Delete: mysql-test/r/ins000001.result
BitKeeper/deleted/.del-ins000001.test~2428ee5c9b1bc483:
  Delete: mysql-test/t/ins000001.test
client/mysqlbinlog.cc:
  Removed random chars after filename for LOAD DATA INFILE
client/mysqltest.c:
  Add support for --replace for 'exec'
mysql-test/r/drop_temp_table.result:
  Updated results after quoting change
mysql-test/r/fulltext_multi.result:
  Updated results after quoting change
mysql-test/r/fulltext_order_by.result:
  Updated results after quoting change
mysql-test/r/insert.result:
  New tests
mysql-test/r/insert_select.result:
  Updated results after quoting change
mysql-test/r/mix_innodb_myisam_binlog.result:
  Updated results after quoting change
mysql-test/r/mysqlbinlog.result:
  Updated results after quoting change
mysql-test/r/rpl_log.result:
  Updated results after quoting change
mysql-test/t/fulltext_multi.test:
  Remove 'use'
mysql-test/t/fulltext_order_by.test:
  Remove 'use'
mysql-test/t/insert.test:
  Merge test with ins0000001.test
mysql-test/t/mysqlbinlog.test:
  Don't refer to install dir in result
sql/log_event.cc:
  Add quoting for use `database` for mysqlbinlog
support-files/mysql.server.sh:
  Move pid_file test after arguments have been parsed
2003-09-29 12:31:35 +03:00
unknown
31109b2cf3 - force the removal of /var/lock/subsys/mysql on MySQL shutdown 2003-09-17 22:41:01 +02:00
unknown
c8e41b5da4 - added a missing %define in the RPM spec file
(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)
2003-09-01 12:25:39 +02:00
unknown
0683244c1f - Fixed BUG 1162 (removed macro names from the changelog)
- Really fixed BUG 998 (disable the checking for installed but
   unpackaged files)
2003-08-29 19:14:42 +02:00
unknown
a8aaa3ef46 - Do-pkg can now create a separate package including a MySQL Startup Item
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
2003-08-19 13:57:58 +02:00
unknown
4363c28c24 - Added some files to support-files/MacOSX to enable building the Mac OS X
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
2003-08-15 14:55:05 +02:00
unknown
0940443b39 Some fixes for the RPM spec file:
- 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.
2003-08-06 11:42:48 +02:00
unknown
3ea4fb3812 - heavily reworked the comments and layout of the new sample my.cnf file
as requested by PeterZ


support-files/my-innodb-heavy-4G.cnf.sh:
   - heavily reworked the comments and layout as requested by PeterZ
2003-07-16 17:13:45 +02:00
unknown
a71c2b3bb3 - enhanced the RPM spec file (use more RPM macros, cleanups, allow to
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)
2003-07-09 15:51:31 +02:00
unknown
ac5b125546 New Sample config file.
The changes for actual loads and memory sizes are to be done after
text and format are  improved.
2003-07-03 16:41:46 +04:00
unknown
497e11035d - fixed a path to init script in RPM spec file (/sbin/init.d is obsolete)
support-files/mysql.spec.sh:
   - fixed path to init script (/sbin/init.d is obsolete)
2003-06-11 13:38:02 +02:00
unknown
bd49ae5f74 - When compiling the Max package incl. RAID support using gcc, make sure
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
2003-06-04 22:31:06 +02:00
unknown
487bf48ad6 - Updated Default-Stop run levels in the LSB header section to satisfy
Red Hat's chkconfig (Bug #272) (The LSB spec is a bit ambigous about
   what actually needs to be put into this field)
2003-06-04 17:31:21 +02:00
unknown
d57d45bb10 - re-enabled RAID support for the Max subpackage again 2003-05-16 13:36:13 +02:00
unknown
9cbcdfa26a - On Mac OS X, better call mysql_install_db with "-IN-RPM" during
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.
2003-05-12 17:09:31 +02:00
unknown
03706ea4b6 - added MySQL-shared-compat.spec(.sh) to the distribution. This spec file
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
2003-05-06 22:33:08 +02:00
unknown
fff9e2722b - fixed Max RPM package description (removed RAID) 2003-04-30 11:30:45 +02:00
unknown
f84febcde6 - disabled MyISAM RAID (--with-raid) for the 4.0 Max binaries for now
(several users reported crashes, even when not using RAID) (see bug #346)
2003-04-30 11:27:13 +02:00
unknown
546097b95f Use my.cnf file from datadir even if datadir is different from the default one. 2003-04-28 12:00:04 +03:00
unknown
616b717db5 - support-files/MacOSX/ReadMe.txt is now autogenerated from the manual
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
2003-04-25 13:02:44 +02:00