summaryrefslogtreecommitdiff
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* WL#5665: Removal of the autotools-based build systemDavi Arnaut2010-11-202-328/+0
| | | | | | | | | | | | | | | | | | | | | The autotools-based build system has been superseded and is being removed in order to ease the maintenance burden on developers tweaking and maintaining the build system. In order to support tools that need to extract the server version, a new file that (only) contains the server version, called VERSION, is introduced. The file contents are human and machine-readable. The format is: MYSQL_VERSION_MAJOR=5 MYSQL_VERSION_MINOR=5 MYSQL_VERSION_PATCH=8 MYSQL_VERSION_EXTRA=-rc The CMake based version extraction in cmake/mysql_version.cmake is changed to extract the version from this file. The configure to CMake wrapper is retained for backwards compatibility and to support the BUILD/ scripts. Also, a new a makefile target show-dist-name that prints the server version is introduced.
* Bug #57551: Live upgrade fails between 5.1.52 -> 5.5.7-rcGeorgi Kodinov2010-11-191-1/+8
| | | | | | | | | | | | | | Updated the server to treat a missing mysql.proxies_priv table as empty. Added some grants to make sure tables are correctly opened when they must be opened. Fixed a mysql_upgrade omission not adding rights to root to execute GRANT PROXY on other users. Removed a redundant CREATE TABLE from mysql_system_tables_fix.sql since it's always executed after mysql_system_tables.sql and the first file has CREATE TABLE in it. Added a test case for the above. Fixed error handling code to close the cursor
* add missing COMPONENT to all CMake INSTALL commandsVladislav Vaintroub2010-11-131-1/+1
|
* Merge mysql-5.5-bugteam --> local bugfixing branchMarc Alff2010-11-083-9/+9
|\
| * Bug #57916: Fix the naming of the proxy_priv tableGeorgi Kodinov2010-11-023-9/+9
| | | | | | | | | | | | | | | | 1. Fixed the name of the table to proxies_priv 2. Fixed the column names to be of the form Capitalized_lowecarse instead of Capitalized_Capitalized 3. Added Timestamp and Grantor columns 4. Added tests to plugin_auth to check the table structure 5. Updated the existing tests
* | Bug#57609 performance_schema does not work with lower_case_table_namesMarc Alff2010-11-031-17/+17
|/ | | | | | | | | | | | Before this fix, the performance schema tables were defined in UPPERCASE. This was incompatible with the lowercase_table_names option, and caused issues with the install / upgrade process, when changing the lower case table names setting *after* the install or upgrade. With this fix, all performance schema tables are exposed with lowercase names. As a result, the name of the performance schema table is always lowercase, no matter how / if / when the lowercase_table_names setting if changed.
* Bug#57154 Rename THREADS.ID to THREADS.PROCESSLIST_ID in 5.5Marc Alff2010-10-061-2/+2
| | | | | | | | | | | | | | | This change is to align the 5.5 performance_schema.THREADS table definition with the 5.6 performance_schema.THREADS table, to facilitate the 5.5 -> 5.6 migration later. In the table performance_schema.THREADS: - renamed ID to PROCESSLIST_ID, removed not null - changed NAME from varchar(64) to varchar(128) to match the columns definitions from 5.6 Adjusted the test cases accordingly. Note: this fix is for 5.5 only, to null merge into 5.6
* Fix compile error on Windows after WL#1054 push.Vladislav Vaintroub2010-10-041-2/+0
| | | | | | | | | | The error was introduced by typo in variable name (errormsg instead of correct errmsg) - Also, precache HAVE_PEERCRED to OFF in cmake\os\WindowsCache.cmake (to avoid useless system check). - Also, add missing check for errors from FormatMessage(). - Also, remove annoying CMake debug printout of MALLOC_LIB if this is not set.
* mergeGeorgi Kodinov2010-10-041-5/+4
|\
| * Fix bug#56267:Joerg Bruehe2010-10-031-5/+4
| | | | | | | | | | | | | | | | | | | | tcmalloc lib (libtcmalloc_minimal.so) is missing from mysql 5.5 binary Ensure that a "-DMALLOC_LIB=/foo/bar/libtcmalloc_minimal.so" will ensure that this library gets included in the tar.gz binary package. It depends on the build environment to set this variable to the correct path name, if it is available.
* | merge of mysql-5.5 into mysql-5.5-wl1054Georgi Kodinov2010-09-204-53/+36
|\ \ | |/
| * Fix bug#56574:Joerg Bruehe2010-09-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | After installation from RPM, server is run under root, not mysql user The problem was that in the cmake way of building the variable "MYSQLD_USER" was not set and propagated. In the script "mysqld_safe" its value is used as the name of the user who should run the server process. The fix is to explicitly set this variable to "mysql" and propagate it in the build process. It was analyzed and proposed by Jonathan Perkin.
| * Cherry-picking patch for Bug#55846.Alexander Nozdrin2010-08-311-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original changeset: ------------------------------------------------------------ revno: 3186 revision-id: davi.arnaut@oracle.com-20100831142822-2qhufn3hho4xqr4p parent: gshchepa@mysql.com-20100830222201-ie7n43mjy4irlllk committer: Davi Arnaut <davi.arnaut@oracle.com> branch nick: mysql-5.5-merge timestamp: Tue 2010-08-31 11:28:22 -0300 message: Bug#55846: Link tests fail on Windows - my_compiler.h missing Make the my_compiler.h header, like my_attribute.h, part of the distribution. This is required due to the dependency of the former on the latter (which can undefine __attribute__). ------------------------------------------------------------
| * mergeChristopher Powers2010-08-202-0/+1
| |\
| | * Bug#54129 Missing the execute bit for scriptsAlexey Botchkov2010-08-191-0/+1
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | files for cmake had some minor bugs causing this. per-file comments: mysql-test/CMakeLists.txt Bug#54129 Missing the execute bit for scripts use same permissions as in the source folder mysql-test/t/disabled.def Bug#54129 Missing the execute bit for scripts mysqlhotcopy tests enabled scripts/CMakeLists.txt Bug#54129 Missing the execute bit for scripts chmod +x for the script files
| * Auto-merge from mysql-5.5.Alexander Nozdrin2010-08-161-2/+2
| |\
| * | Bug#55416 Renaming of performance_schema tables for 5.5Marc Alff2010-08-121-53/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removed table SETUP_OBJECTS. Renamed table PROCESSLIST to THREADS. Renamed table EVENTS_WAITS_SUMMARY_BY_EVENT_NAME to EVENTS_WAITS_SUMMARY_GLOBAL_BY_EVENT_NAME. Adjusted Makefiles, code and tests accordingly.
* | | merged mysql-5.5 into WL1054-5.5Georgi Kodinov2010-08-162-38/+35
|\ \ \ | | |/ | |/|
| * | Patch for Bug#55854 (MySQL AB should not be AUTHOR, copyright incorrect).Alexander Nozdrin2010-08-121-2/+2
| |/ | | | | Fixing copyright text.
| * Merge to mysql-5.5-bugfixingJonathan Perkin2010-08-102-36/+32
| |\
| | * Don't try to remove from an empty list.Jonathan Perkin2010-08-091-17/+19
| | |
| | * Apply wlad's fix for bug#55215Jonathan Perkin2010-08-092-36/+30
| | |
| * | Build cleanupsVladislav Vaintroub2010-08-051-0/+1
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Simplify sql-bench installation, do not try to resolve names : this leads to probem if builddir is symlink located on different filesystem. (reported by alik) - Make WITHOUT_XXX (disabling plugin) work for DEFAULT plugins. Prior to the patch is behaved just like MANDATORY. - LINK_LIBRARIES in MYSQL_ADD_PLUGIN had no effect for statically linked plugins. - Fix constant rebuild of initdb target on Windows.
* | WL#1054: Pluggable authentication supportGeorgi Kodinov2010-08-093-5/+20
|/ | | | Merged the implementation to a new base tree.
* WL#5498: Remove dead and unused source codeDavi Arnaut2010-07-231-1/+0
| | | Remove Windows related files which aren't used anymore.
* Manual merge from mysql-trunk.Alexander Nozdrin2010-07-193-9/+66
|\ | | | | | | Conflicts: - scripts/CMakeLists.txt
| * We can't rely on mysql_config for core functionality like pluginsJonathan Perkin2010-07-051-2/+23
| | | | | | | | | | | | | | as it may be part of a separate package. Work out the likliest plugin directory using similar logic to the data directory, and avoid the dependancy.
| * Include CMAKE_{C,CXX}_FLAGS.Jonathan Perkin2010-07-051-2/+2
| |
| * No need to save/restore C*FLAGS, they are only used for one script.Jonathan Perkin2010-07-051-16/+4
| | | | | | | | | | Use CMAKE_*_FLAGS_RELWITHDEBINFO for C*FLAGS expansion, they are the most likely to contain the flags we need.
| * bug#54991: mysqld_safe reports syntax error and skips part of logicJonathan Perkin2010-07-051-2/+2
| | | | | | | | | | | | while restarting server TARGET_LINUX must be 'true' or 'false'.
| * Put mysqlbug back into bin/Jonathan Perkin2010-06-301-5/+2
| |
| * bug#52737 plugin_dir is set to /usr/local/mysql/lib/plugin whileJonathan Perkin2010-06-302-1/+3
| | | | | | | | | | | | | | | | starting via mysqld_safe Rather than hardcode the plugin directory, enhance mysql_config to fix plugin path when running a relocated install, and use it to provide the plugin directory to mysqld_safe.
| * Copy-pasted the wrong line from configure.in, fix gcc detection.Jonathan Perkin2010-06-291-2/+2
| |
| * mysqlbug is Unix-only.Jonathan Perkin2010-06-281-4/+3
| |
| * Try to fix more mysqlbug problems.Jonathan Perkin2010-06-281-5/+42
| |
| * Expand some variables for mysqlbug.Jonathan Perkin2010-06-281-0/+13
| |
* | Strip maintainer mode options from the flags written toDavi Arnaut2010-07-151-4/+6
| | | | | | | | | | mysql_config. Those are mainly warning options intended to monitor the server code and shouldn't be leaked to client code.
* | Merge of mysql-trunk-bugfixing into mysql-trunk-merge.Davi Arnaut2010-07-154-320/+103
|\ \
| * | WL#5486: Remove code for unsupported platformsDavi Arnaut2010-07-152-316/+101
| | | | | | | | | Remove Netware specific code.
| * | Bug#34043: Server loops excessively in _checkchunk() when safemalloc is enabledDavi Arnaut2010-07-082-4/+2
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Essentially, the problem is that safemalloc is excruciatingly slow as it checks all allocated blocks for overrun at each memory management primitive, yielding a almost exponential slowdown for the memory management functions (malloc, realloc, free). The overrun check basically consists of verifying some bytes of a block for certain magic keys, which catches some simple forms of overrun. Another minor problem is violation of aliasing rules and that its own internal list of blocks is prone to corruption. Another issue with safemalloc is rather the maintenance cost as the tool has a significant impact on the server code. Given the magnitude of memory debuggers available nowadays, especially those that are provided with the platform malloc implementation, maintenance of a in-house and largely obsolete memory debugger becomes a burden that is not worth the effort due to its slowness and lack of support for detecting more common forms of heap corruption. Since there are third-party tools that can provide the same functionality at a lower or comparable performance cost, the solution is to simply remove safemalloc. Third-party tools can provide the same functionality at a lower or comparable performance cost. The removal of safemalloc also allows a simplification of the malloc wrappers, removing quite a bit of kludge: redefinition of my_malloc, my_free and the removal of the unused second argument of my_free. Since free() always check whether the supplied pointer is null, redudant checks are also removed. Also, this patch adds unit testing for my_malloc and moves my_realloc implementation into the same file as the other memory allocation primitives.
* | mergeGeorgi Kodinov2010-07-142-2/+2
|\ \
| * | Bug #54004 : mysql_secure_installation identifies "local host" incorrectlyGeorgi Kodinov2010-07-142-2/+2
| | | | | | | | | | | | The removal of non-local root users is overzealous in mysql_secure_installation. (Bug #54004)
* | | mergeGeorgi Kodinov2010-07-141-1/+19
|\ \ \ | |/ /
| * | Bug #52274 : Missing path to mysql in mysql_secure_installationGeorgi Kodinov2010-07-091-1/+19
| | | | | | | | | | | | | | | Added some code to try to find the mysql command line in the most common places and stop if it's not there.
* | | mergeGeorgi Kodinov2010-07-051-3/+1
|\ \ \ | |/ /
| * | Bug #53613: mysql_upgrade incorrectly revokes TRIGGER privilege on given tableGeorgi Kodinov2010-07-011-3/+1
| | | | | | | | | | | | | | | | | | Fixed an incomplete historical ALTER TABLE MODIFY trimming the trigger privilege bit from mysql.tables_priv.Table_priv column. Removed the duplicate ALTER TABLE MODIFY. Test suite added.
* | | Unset the execute bit where it's not needed.Davi Arnaut2010-07-031-0/+0
| |/ |/|
* | Auto-merge from mysql-trunk-stage.Alexander Nozdrin2010-06-212-29/+21
|\ \
| * \ mergeDaniel Fischer2010-06-181-28/+20
| |\ \
| | * | post-merge fix 1Daniel Fischer2010-05-281-1/+1
| | | |