# changelog

author: David Axmark <david@detron.se>
changelog:
  - A developers changelog for MySQL is available in the source RPM. And
    there is a history of major user visible changed in the Reference
    Manual.  Only RPM specific changes will be documented here.


author: David Axmark <david@detron.se>
changelog:
  - Removed unportable cc switches from the spec file. The defaults can
    now be overridden with environment variables. This feature is used
    to compile the official RPM with optimal (but compiler version
    specific) switches.

  - Removed the repetitive description parts for the sub rpms. Maybe add
    again if RPM gets a multiline macro capability.

  - Added support for a pt_BR translation. Translation contributed by
    Jorge Godoy <jorge@bestway.com.br>.


author: David Axmark <davida@mysql.com>
changelog:
  - Added support for shared libraries in a separate sub
    package. Original fix by David Fox (dsfox@cogsci.ucsd.edu)

  - The --enable-assembler switch is now automatically disables on
    platforms there assembler code is unavailable. This should allow
    building this RPM on non i386 systems.


author: David Axmark <davida@mysql.com>
changelog:
  - Added the support-files/my-example.cnf to the docs directory.

  - Removed devel dependency on base since it is about client
    development.


author: Lenz Grimmer <lenz@mysql.com>
changelog:
  - Use more RPM macros (e.g. infodir, mandir) to make the spec
    file more portable
  - reorganized the installation of documentation files: let RPM
    take care of this
  - reorganized the file list: actually install man pages along
    with the binaries of the respective subpackage
  - do not include libmysqld.a in the devel subpackage as well, if we
    have a special "embedded" subpackage
  - reworked the package descriptions


author: Lenz Grimmer <lenz@mysql.com>
changelog:
  - Updated Packager information
  - Fixed the build options: the regular package is supposed to
    include InnoDB and linked statically, while the Max package
    should include BDB and SSL support


author: Lenz Grimmer <lenz@mysql.com>
changelog:
  - Reworked the build steps a little bit: the Max binary is supposed
    to include OpenSSL, which cannot be linked statically, thus trying
    to statically link against a special glibc is futile anyway
  - because of this, it is not required to make yet another build run
    just to compile the shared libs (saves a lot of time)
  - updated package description of the Max subpackage
  - clean up the BuildRoot directory afterwards


author: Lenz Grimmer <lenz@mysql.com>
changelog:
  - Turn off OpenSSL in MySQL-Max for now until it works properly again
  - enable RAID for the Max binary instead
  - added compatibility link: safe_mysqld -> mysqld_safe to ease the
    transition from 3.23


author: Lenz Grimmer <lenz@mysql.com>
changelog:
  - 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)
  - 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


author: Lenz Grimmer <lenz@mysql.com>
changelog:
  - renamed package "MySQL" to "MySQL-server"
  - fixed Copyright tag
  - added mysql_waitpid to client subpackage (required for mysql-test-run)


author: Lenz Grimmer <lenz@mysql.com>
changelog:
  - 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


author: Lenz Grimmer <lenz@mysql.com>
changelog:
  - disabled MyISAM RAID (--with-raid) - it throws an assertion which
    needs to be investigated first.


author: Lenz Grimmer <lenz@mysql.com>
changelog:
  - 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.
  - allow overriding CC and CXX (required when building with other compilers)


author: Lenz Grimmer <lenz@mysql.com>
changelog:
  - 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.


author: Lenz Grimmer <lenz@mysql.com>
changelog:
  - Fixed BUG 1162 (removed macro names from the changelog)
  - Really fixed BUG 998 (disable the checking for installed but
    unpackaged files)


author: Lenz Grimmer <lenz@mysql.com>
changelog:
  - removed dependency on MySQL-client from the MySQL-devel subpackage
    as it is not really required. (BUG 1610)


author: Lenz Grimmer <lenz@mysql.com>
changelog:
  - when using gcc, _always_ use CXX=gcc
  - replaced Copyright with License field (Copyright is obsolete)


author: Lenz Grimmer <lenz@mysql.com>
changelog:
  - disabled OpenSSL in the Max binaries again (the RPM packages were the
    only exception to this anyway) (BUG 1043)


author: Lenz Grimmer <lenz@mysql.com>
changelog:
  - Added libmygcc.a to the devel subpackage (required to link applications
    against the the embedded server libmysqld.a) (BUG 4921)


author: Lenz Grimmer <lenz@mysql.com>
changelog:
  - enabled the "Archive" storage engine for the max binary
  - enabled the "CSV" storage engine for the max binary
  - enabled the "Example" storage engine for the max binary


author: Petr Chardin <petr@mysql.com>
changelog:
  - ISAM and merge storage engines were purged. As well as appropriate
    tools and manpages (isamchk and isamlog)


author: Tomas Ulin <tomas@mysql.com>
changelog:
  - enabled the "Ndbcluster" storage engine for the max binary
  - added extra make install in ndb subdir after Max build to get ndb binaries
  - added packages for ndbcluster storage engine


author: Lenz Grimmer <lenz@mysql.com>
changelog:
  - Fixed the compilation comments and moved them into the separate build sections
    for Max and Standard


author: Lenz Grimmer <lenz@mysql.com>
changelog:
  - Disabled RAID in the Max binaries once and for all (it has finally been
    removed from the source tree)


author: Petr Chardin <petr@mysql.com>
changelog:
  - old mysqlmanager, mysqlmanagerc and mysqlmanager-pwger renamed into
    mysqltestmanager, mysqltestmanager and mysqltestmanager-pwgen respectively


author: Lenz Grimmer <lenz@mysql.com>
changelog:
  - removed the MySQL manual files (html/ps/texi) - they have been removed
    from the MySQL sources and are now available seperately.


author: Lenz Grimmer <lenz@mysql.com>
changelog:
  - use "mysqldatadir" variable instead of hard-coding the path multiple times
  - use the "mysqld_user" variable on all occasions a user name is referenced
  - removed (incomplete) Brazilian translations
  - removed redundant release tags from the subpackage descriptions


author: Lenz Grimmer <lenz@mysql.com>
changelog:
  - added mysql_client_test to the "bench" subpackage (BUG 10676)
  - added the libndbclient static and shared libraries (BUG 10676)


author: Lenz Grimmer <lenz@mysql.com>
changelog:
  - Do not build statically on i386 by default, only when adding either "--with
    static" or "--define '_with_static 1'" to the RPM build options. Static
    linking really only makes sense when linking against the specially patched
    glibc 2.2.5.


author: Lenz Grimmer <lenz@mysql.com>
changelog:
  - create a "mysql" user group and assign the mysql user account to that group
    in the server postinstall section. (BUG 10984)


author: Lenz Grimmer <lenz@mysql.com>
changelog:
  - Fixed the creation of the mysql user group account in the postinstall
    section (BUG 12348)
  - Fixed enabling the Archive storage engine in the Max binary


author: Lenz Grimmer <lenz@mysql.com>
changelog:
  - fixed the removing of the RPM_BUILD_ROOT in the %clean section (the
    $RBR variable did not get expanded, thus leaving old build roots behind)


author: Lenz Grimmer <lenz@mysql.com>
changelog:
  - added a usermod call to assign a potential existing mysql user to the
    correct user group (BUG#12823)
  - Save the perror binary built during Max build so it supports the NDB
    error codes (BUG#13740)
  - added a separate macro "mysqld_group" to be able to define the
    user group of the mysql user seperately, if desired.


author: Kent Boortz <kent@mysql.com>
changelog:
  - Removed unneeded/obsolete configure options
  - Added archive engine to standard server
  - Removed the embedded server from experimental server
  - Changed suffix "-Max" => "-max"
  - Changed comment string "Max" => "Experimental"


author: Kent Boortz <kent@mysql.com>
changelog:
  - For 5.x, always compile with --with-big-tables
  - Copy the config.log file to location outside
    the build tree


author: Kent Boortz <kent@mysql.com>
changelog:
  - Give mode arguments the same way in all places
  - Moved copy of mysqld.a to "standard" build, but
    disabled it as we don't do embedded yet in 5.0


author: Joerg Bruehe <joerg@mysql.com>
changelog:
  - Extend the file existence check for "init.d/mysql" on un-install
    to also guard the call to "insserv"/"chkconfig".


author: Joerg Bruehe <joerg@mysql.com>
changelog:
  - Avoid using the "bundled" zlib on "shared" builds:
    As it is not installed (on the build system), this gives dependency
    problems with "libtool" causing the build to fail.
    (Change was done on Nov 11, but left uncommented.)


author: Rodrigo Novo <rodrigo@mysql.com>
changelog:
  - Added zlib to the list of (static) libraries installed
  - Added check against libtool wierdness (WRT: sql/mysqld || sql/.libs/mysqld)
  - Compile MySQL with bundled zlib
  - Fixed Percona MySQL Development Team <mysqldev@percona.com> name to "MySQL Production Engineering Team"


author: Kent Boortz <kent@mysql.com>
changelog:
  - Pass '-static' to libtool, link static with our own libraries, dynamic
    with system libraries.  Link with the bundled zlib.


author: Kent Boortz <kent@mysql.com>
changelog:
  - Reintroduced a max build
  - Limited testing of 'debug' and 'max' servers
  - Berkeley DB only in 'max'


author: Jim Winstead <jimw@mysql.com>
changelog:
  - Remove sql-bench, and MySQL-bench RPM (will be built as an independent
    project from the mysql-bench repository)


author: Kent Boortz <kent@mysql.com>
changelog:
  - Use "./libtool --mode=execute" instead of searching for the
    executable in current directory and ".libs".


author: Kent Boortz <kent@mysql.com>
changelog:
  - Use character set "all" when compiling with Cluster, to make Cluster
    nodes independent on the character set directory, and the problem
    that two RPM sub packages both wants to install this directory.


author: Joerg Bruehe <joerg@mysql.com>
changelog:
  - To run "mysql_upgrade", we need a running server;
    start it in isolation and skip password checks.


author: Joerg Bruehe <joerg@mysql.com>
changelog:
  - Close a gap of the previous version by explicitly using
    a newly created temporary directory for the socket to be used
    in the "mysql_upgrade" operation, overriding any local setting.


author: Joerg Bruehe <joerg@mysql.com>
changelog:
  - move "mysqldumpslow" from the client RPM to the server RPM (bug#20216)

  - Revert all previous attempts to call "mysql_upgrade" during RPM upgrade,
    there are some more aspects which need to be solved before this is possible.
    For now, just ensure the binary "mysql_upgrade" is delivered and installed.


author: Joerg Bruehe <joerg@mysql.com>
changelog:
  - Use the Perl script to run the tests, because it will automatically check
    whether the server is configured with SSL.


author: Joerg Bruehe <joerg@mysql.com>
changelog:
  - The "max" server is removed from packages, effective from 5.1.12-beta.
    Delete all steps to build, package, or install it.


author: Joerg Bruehe <joerg@mysql.com>
changelog:
  - Add "--with-partition" to all server builds.

  - Use "--report-features" in one test run per server build.


author: Joerg Bruehe <joerg@mysql.com>
changelog:
  - Explicitly note that the "MySQL-shared" RPMs (as built by MySQL AB)
    replace "mysql-shared" (as distributed by SuSE) to allow easy upgrading
    (bug#22081).


author: Joerg Bruehe <joerg@mysql.com>
changelog:
  - Call "make install" using "benchdir_root=/usr/share",
    because that is affecting the regression test suite as well.


author: Joerg Bruehe <joerg@mysql.com>
changelog:
  - Include the new man pages for "my_print_defaults" and "mysql_tzinfo_to_sql"
    in the server RPM.
  - The "mysqlmanager" man page got moved from section 1 to 8.


author: Kent Boortz <kent@mysql.com>
changelog:
  - Put back "libmygcc.a", found no real reason it was removed.

  - Add CFLAGS to gcc call with --print-libgcc-file, to make sure the
    correct "libgcc.a" path is returned for the 32/64 bit architecture.


author: Daniel Fischer <df@mysql.com>
changelog:
  - Remove Max RPMs; the server RPMs contain a mysqld compiled with all
    features that previously only were built into Max.


author: Timothy Smith <tim@mysql.com>
changelog:
  - Require a manual upgrade if the alread-installed mysql-server is
    from another vendor, or is of a different major version.


author: Kent Boortz <kent@mysql.com>
changelog:
  - Made the "Federated" storage engine an option
  - Made the "Cluster" storage engine and sub packages an option


author: Joerg Bruehe <joerg@mysql.com>
changelog:
  - Get rid of the "warning: Installed (but unpackaged) file(s) found:"
    Some generated files aren't needed in RPMs:
    - the "sql-bench/" subdirectory
    Some files were missing:
    - /usr/share/aclocal/mysql.m4  ("devel" subpackage)
    - Manual "mysqlbug" ("server" subpackage)
    - Program "innochecksum" and its manual ("server" subpackage)
    - Manual "mysql_find_rows" ("client" subpackage)
    - Script "mysql_upgrade_shell" ("client" subpackage)
    - Program "ndb_cpcd" and its manual ("ndb-extra" subpackage)
    - Manuals "ndb_mgm" + "ndb_restore" ("ndb-tools" subpackage)


author: Joerg Bruehe <joerg@mysql.com>
changelog:
  - Modify CFLAGS and CXXFLAGS such that a debug build is not optimized.
    This should cover both gcc and icc flags.  Fixes bug#40546.


author: Joerg Bruehe <joerg@mysql.com>
changelog:
  - Correct yesterday's fix, so that it also works for the last flag,
    and fix a wrong quoting: un-quoted quote marks must not be escaped.


author: Jonathan Perkin <jperkin@sun.com>
changelog:
  - Install plugin libraries in appropriate packages.
  - Disable libdaemon_example and ftexample plugins.


author: Joerg Bruehe <joerg.bruehe@sun.com>
changelog:
  - This version does not contain the "Instance manager", "mysqlmanager":
    Remove it from the spec file so that packaging succeeds.


author: Joerg Bruehe <joerg.bruehe@sun.com>
changelog:
  - Fix some problems with the directives around "tcmalloc" (experimental),
    remove erroneous traces of the InnoDB plugin (that is 5.1 only).


author: Joerg Bruehe <joerg.bruehe@sun.com>
changelog:
  - The "semisync" plugin file name has lost its introductory "lib",
    adapt the file lists for the subpackages.
    This is a part missing from the fix for bug#48351.
  - Remove the "fix_privilege_tables" manual, it does not exist in 5.5
    (and likely, the whole script will go, too).


author: Joerg Bruehe <joerg.bruehe@sun.com>
changelog:
  - Change RPM file naming:
    - Suffix like "-m2", "-rc" becomes part of version as "_m2", "_rc".
    - Release counts from 1, not 0.


author: Joerg Bruehe <joerg.bruehe@sun.com>
changelog:
  - Formatting changes:
    Have a consistent structure of separator lines and of indentation
    (8 leading blanks => tab).
  - Introduce the variable "src_dir".
  - Give the environment variables "MYSQL_BUILD_CC(CXX)" precedence
    over "CC" ("CXX").
  - Drop the old "with_static" argument analysis, this is not supported
    in 5.1 since ages.
  - Introduce variables to control the handlers individually, as well
    as other options.
  - Use the new "--with-plugin" notation for the table handlers.
  - Drop handling "/etc/rc.d/init.d/mysql", the switch to "/etc/init.d/mysql"
    was done back in 2002 already.
  - Make "--with-zlib-dir=bundled" the default, add an option to disable it.
  - Add missing manual pages to the file list.
  - Improve the runtime check for "libgcc.a", protect it against being tried
    with the Intel compiler "icc".


author: Joerg Bruehe <joerg.bruehe@sun.com>
changelog:
  - Set "Oracle and/or its affiliates" as the vendor and copyright owner,
    accept upgrading from packages showing MySQL or Sun as vendor.


author: Joerg Bruehe <joerg.bruehe@sun.com>
changelog:
  - Take the result of the debug plugin build and put it into the optimized tree,
    so that it becomes part of the final installation;
    include the files in the packlist. Part of the fixes for bug#49022.


author: Joerg Bruehe <joerg.bruehe@sun.com>
changelog:
  - User "usr/lib*" to allow for both "usr/lib" and "usr/lib64",
    mask "rmdir" return code 1.
  - Remove "ha_example.*" files from the list, they aren't built.


author: Jonathan Perkin <jonathan.perkin@oracle.com>
changelog:
  - Large number of changes to build using CMake
  - Introduce distribution-specific RPMs
  - Drop debuginfo, build all binaries with debug/symbols
  - Remove __os_install_post, use native macro
  - Remove _unpackaged_files_terminate_build, make it an error to have
    unpackaged files
  - Remove cluster RPMs


author: Joerg Bruehe <joerg.bruehe@sun.com>
changelog:
  - Change the behaviour on installation and upgrade:
    On installation, do not autostart the server.
    *Iff* the server was stopped before the upgrade is started, this is taken as a
    sign the administrator is handling that manually, and so the new server will
    not be started automatically at the end of the upgrade.
    The start/stop scripts will still be installed, so the server will be started
    on the next machine boot.
    This is the 5.5 version of fixing bug#27072 (RPM autostarting the server).


author: Joerg Bruehe <joerg.bruehe@oracle.com>
changelog:
  - With a recent spec file cleanup, names have changed: A "-community" part was dropped.
    Reflect that in the "Obsoletes" specifications.
  - Add a "triggerpostun" to handle the uninstall of the "-community" server RPM.
  - This fixes bug#55015 "MySQL server is not restarted properly after RPM upgrade".


author: Jonathan Perkin <jonathan.perkin@oracle.com>
changelog:
  - EXCEPTIONS-CLIENT has been deleted, remove it from here too
  - Support MYSQL_BUILD_MAKE_JFLAG environment variable for passing
    a '-j' argument to make.


