summaryrefslogtreecommitdiff
path: root/cmd-line-utils
Commit message (Collapse)AuthorAgeFilesLines
* Remove configuration preprocessor symbols 'THREAD'Magne Mahre2011-01-111-1/+1
| | | | | | | | | | and 'THREAD_SAFE_CLIENT'. As of MySQL 5.5, we no longer support non-threaded builds. This patch removes all references to the obsolete THREAD and THREAD_SAFE_CLIENT preprocessor symbols. These were used to distinguish between threaded and non-threaded builds.
* Fix detection of tgoto declaration:Vladislav Vaintroub2010-11-271-0/+15
| | | | | it needs curses.h to be included before term.h on Solaris Express 11
* WL#5665: Removal of the autotools-based build systemDavi Arnaut2010-11-203-147/+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.
* Merge of mysql-5.1-bugteam into mysql-5.5-bugteam.Davi Arnaut2010-11-161-1/+1
|\
| * Bug#58057: 5.1 libmysql/libmysql.c unused variable/compile failureDavi Arnaut2010-11-101-1/+1
| | | | | | | | | | | | | | | | | | | | Bug#57995: Compiler flag change build error on OSX 10.4: my_getncpus.c Bug#57996: Compiler flag change build error on OSX 10.5 : bind.c Bug#57994: Compiler flag change build error : my_redel.c Bug#57993: Compiler flag change build error on FreeBsd 7.0 : regexec.c Bug#57992: Compiler flag change build error on FreeBsd : mf_keycache.c Bug#57997: Compiler flag change build error on OSX 10.6: debug_sync.cc Fix assorted compiler generated warnings.
* | Merge of mysql-5.1-bugteam into mysql-5.5-bugteam.Davi Arnaut2010-10-207-13/+16
|\ \ | |/
| * Bug#45288: pb2 returns a lot of compilation warningsDavi Arnaut2010-10-207-13/+16
| | | | | | | | | | | | | | | | Fix assorted warnings that are generated in optimized builds. Most of it is silencing variables that are set but unused. This patch also introduces the MY_ASSERT_UNREACHABLE macro which helps the compiler to deduce that a certain piece of code is unreachable.
* | Merge of mysql-5.1-bugteam into mysql-5.5-bugteam.Davi Arnaut2010-10-193-24/+33
|\ \ | |/
| * Bug#45288: pb2 returns a lot of compilation warningsDavi Arnaut2010-10-194-26/+34
| | | | | | Tag or remove unused arguments and variables.
* | Merge of mysql-5.1-bugteam into mysql-5.5-bugteam.Davi Arnaut2010-10-191-4/+4
|\ \ | |/
| * Bug#45288: pb2 returns a lot of compilation warnings on linuxDavi Arnaut2010-10-191-4/+4
| | | | | | Fix assorted compiler warnings on Mac OS X.
* | Patch for Bug#55854 (MySQL AB should not be AUTHOR, copyright incorrect).Alexander Nozdrin2010-08-122-6/+6
| | | | | | Fixing copyright text.
* | Merge of mysql-5.1-bugteam into mysql-trunk-merge.Davi Arnaut2010-07-021-1/+1
|\ \ | |/
| * Bug#53445: Build with -Wall and fix warnings that it generatesDavi Arnaut2010-07-022-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Apart strict-aliasing warnings, fix the remaining warnings generated by GCC 4.4.4 -Wall and -Wextra flags. One major source of warnings was the in-house function my_bcmp which (unconventionally) took pointers to unsigned characters as the byte sequences to be compared. Since my_bcmp and bcmp are deprecated functions whose only difference with memcmp is the return value, every use of the function is replaced with memcmp as the special return value wasn't actually being used by any caller. There were also various other warnings, mostly due to type mismatches, missing return values, missing prototypes, dead code (unreachable) and ignored return values.
* | Bug#53445: Build with -Wall and fix warnings that it generatesDavi Arnaut2010-05-311-0/+2
| | | | | | | | | | | | | | | | Fix various mismatches between function's language linkage. Any particular function that is declared in C++ but should be callable from C must have C linkage. Note that function types with different linkages are also distinct. Thus, if a function type is declared in C code, it will have C linkage (same if declared in a extern "C" block).
* | Bug #53445 Build with -Wall and fix warnings that it generatesTor Didriksen2010-05-261-2/+1
| | | | | | | | | | Add -Wall to gcc/g++ Fix most warnings reported in dbg and opt mode.
* | Another incarnation of the patch for Bug#30708Alexander Nozdrin2010-05-192-6/+0
| | | | | | | | | | | | | | | | | | (make relies GNU extentions). The patch was partially backport from 6.0. Original comment: bug#30708: make relies GNU extensions. Now that we no longer use BitKeeper we can safely remove the SCCS handling with no loss of functionality.
* | Manual merge from mysql-trunk-merge.Alexander Nozdrin2010-02-242-3/+3
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: - client/mysql.cc - client/mysqldump.c - configure.in - mysql-test/r/csv.result - mysql-test/r/func_time.result - mysql-test/r/show_check.result - mysql-test/r/sp-error.result - mysql-test/r/sp.result - mysql-test/r/sp_trans.result - mysql-test/r/type_blob.result - mysql-test/r/type_timestamp.result - mysql-test/r/warnings.result - mysql-test/suite/rpl/r/rpl_sp.result - sql/mysql_priv.h - sql/mysqld.cc - sql/sp.cc - sql/sql_base.cc - sql/sql_table.cc - sql/sql_trigger.cc - sql/sql_view.cc - sql/table.h - sql/share/errmsg.txt - mysql-test/suite/sys_vars/r/log_bin_trust_routine_creators_basic.result
| * \ Manual merge of mysql-5.1-bugteam to mysql-trunk-merge.Alexey Kopytov2010-02-232-3/+3
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | Conflicts: Text conflict in client/mysqltest.cc Text conflict in configure.in Text conflict in mysql-test/include/mtr_warnings.sql
| | * Bug #43414 Parenthesis (and other) warnings compiling Staale Smedseng2010-02-222-3/+3
| | | | | | | | | | | | | | | MySQL with gcc 4.3.2 This is the final patch in the context of this bug.
* | | Fix build with LDFLAGS=--Wl,--as-needed on LinuxVladislav Vaintroub2009-12-191-1/+1
| | |
* | | mergeVladislav Vaintroub2009-12-161-3/+0
|\ \ \ | |/ /
| * | Remove .cvsignore files (attempt #2).Alexander Nozdrin2009-12-161-3/+0
| |/
* | Fix libedit out-of-source buildVladislav Vaintroub2009-11-101-1/+1
| |
* | remove debug outputVladislav Vaintroub2009-11-101-1/+0
| |
* | refactor libedit, generate files in binary tree, not in source treeVladislav Vaintroub2009-11-101-82/+83
| |
* | WL#5161 : Cross-platform build with CMakeVladislav Vaintroub2009-11-094-2/+229
|/
* Bug #43414 Parenthesis (and other) warnings compiling MySQLStaale Smedseng2009-09-231-3/+3
| | | | | | with gcc 4.3.2 Cleaning up warnings not present in 5.0.
* Merge from mysql-5.1.38-releaseJonathan Perkin2009-09-031-2/+7
|\
| * Build fixes for Windows, AIX, HP/UX and Sun Studio11, from Timothy Smith.Jonathan Perkin2009-08-141-2/+7
| |
* | Merge from 5.0 for 43414Staale Smedseng2009-08-283-8/+8
|\ \ | |/ |/|
| * Bug #43414 Parenthesis (and other) warnings compiling MySQLStaale Smedseng2009-08-283-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with gcc 4.3.2 This patch fixes a number of GCC warnings about variables used before initialized. A new macro UNINIT_VAR() is introduced for use in the variable declaration, and LINT_INIT() usage will be gradually deprecated. (A workaround is used for g++, pending a patch for a g++ bug.) GCC warnings for unused results (attribute warn_unused_result) for a number of system calls (present at least in later Ubuntus, where the usual void cast trick doesn't work) are also fixed.
* | Bug #43397 mysql headers redefine pthread_mutex_initStaale Smedseng2009-07-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | unnecessarily The problem is that libmysqlclient.so is built with THREAD undefined, while a client compiling against the same header files will see THREAD as defined and definitions in my_pthread.h will be included, possibly resulting in undefined symbols that cannot be resolved with libmysqlclient.so. The suggested solution is to require that clients wanting to link with libmysqlclient.so should be built with MYSQL_CLIENT_NO_THREADS defined. This requires a documentation change, and more details for this will be supplied if this patch is approved. The MYSQL_CLIENT_NO_THREADS define was renamed from UNDEF_THREADS_HACK, to get a more suitable (less suspicious) name for the define. (The UNDEF_THREADS_HACK is retained for backwards compatibility, though.) This patch is also in anticipation of WL#4958, which will remove this problem altogether by dropping the building of libmysqlclient.
* | Merge from 5.0Staale Smedseng2009-06-2924-201/+217
|\ \ | |/
| * Merge from 5.0-btStaale Smedseng2009-06-2924-201/+217
| |
* | Addendum to Bug #45286: backport macro name form other treeTatiana A. Nurnberg2009-06-063-4/+4
| | | | | | | | use same (slightly unwieldy) name in all trees; fix before this version goes "public". bless ctype to avoid upmerge conflict, le sigh.
* | merged 5.0-bugteam -> 5.1-bugteamGeorgi Kodinov2009-06-053-6/+5
|\ \ | |/
| * Addendum to Bug #45286 : implement reviewer's remarks.Georgi Kodinov2009-06-051-4/+2
| |
| * Bug #45286: compilation warnings on mysql-5.0-bugteam on MacOSXGeorgi Kodinov2009-06-052-2/+3
| | | | | | | | | | Implemented a way to circumvent the always true comparison by having nested macros (as suggested on review).
* | automergeGeorgi Kodinov2009-06-052-2/+4
|\ \ | |/
| * Bug #45286: compilation warnings on mysql-5.0-bugteam on MacOSXGeorgi Kodinov2009-06-052-2/+4
| | | | | | Fixed the 5.0-bugteam MacOSX warnings.
* | Merge from 5.0-bugteamStaale Smedseng2009-04-161-1/+1
|\ \ | |/
| * Bug#42430 Final commit to 5.0-bugteamStaale Smedseng2009-04-161-1/+1
| |
* | merge -5.0 into -5.1 (minor conflicts resolved)Timothy Smith2009-04-011-1/+1
|\ \ | |/
| * cmd-line-utils/libedit/readline/readline.hkent.boortz@sun.com2009-03-191-1/+1
| | | | | | | | | | | | | | | | | | - Header <sys/ttydefaults.h> missing or not usable on QNX and OpenServer 6 include/my_global.h - Moved down definition of function rint(), as for some platforms (in this case Netware) 'longlong' is not defined until later in "my_global.h"
| * Back patched libedit portability changes from 5.1.32kent.boortz@sun.com2009-03-094-9/+6
| |
* | Disabled libedit use of '__weak_reference' on FreeBSD, doesn't compilekent.boortz@sun.com2009-02-141-2/+2
| |
* | More portability fixes.jperkin@sun.com2009-02-122-6/+3
| |
* | Exclude libedit inclusion of <sys/ttydefaults.h> on AIX as wellkent.boortz@sun.com2009-02-121-1/+1
| |
* | Changed to use the correct "__sun" and "__hpux" predefinedkent.boortz@sun.com2009-02-111-1/+1
| | | | | | | | preprocessor symbols in libedit