Nirbhay Choubey
6fcbb55fa2
Merge of fix for bug#12329909 from mysql-5.1 -> mysql-5.5.
2011-04-27 17:27:51 +05:30
Nirbhay Choubey
c08c4e1fd7
BUG#12329909 - BUILDING MYSQL WITH DEBUG SUPPORT
...
FAILS WITH LIBEDIT
Fixed by checking the return value of the write()
function calls and handling the open files and fd
appropriately.
2011-04-27 17:24:10 +05:30
Vladislav Vaintroub
a97677944b
Fix detection of tgoto declaration:
...
it needs curses.h to be included before term.h
on Solaris Express 11
2010-11-27 02:51:14 +01:00
Davi Arnaut
f6deb00a56
WL#5665: Removal of the autotools-based build system
...
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.
2010-11-20 12:47:50 -02:00
Davi Arnaut
69aea87d5f
Merge of mysql-5.1-bugteam into mysql-5.5-bugteam.
2010-10-19 20:51:34 -02:00
Davi Arnaut
39e9bde2c0
Bug#45288: pb2 returns a lot of compilation warnings
...
Tag or remove unused arguments and variables.
2010-10-19 20:36:59 -02:00
Alexander Nozdrin
13ec2a1625
Patch for Bug#55854 (MySQL AB should not be AUTHOR, copyright incorrect).
...
Fixing copyright text.
2010-08-12 19:19:57 +04:00
Tor Didriksen
d8536dfbdd
Bug #53445 Build with -Wall and fix warnings that it generates
...
Add -Wall to gcc/g++
Fix most warnings reported in dbg and opt mode.
2010-05-26 16:12:23 +02:00
Vladislav Vaintroub
5c7a62287e
Fix build with LDFLAGS=--Wl,--as-needed on Linux
2009-12-19 22:15:10 +01:00
Vladislav Vaintroub
3d6465d987
Fix libedit out-of-source build
2009-11-10 18:24:59 +01:00
Vladislav Vaintroub
2dced72b27
remove debug output
2009-11-10 02:43:23 +01:00
Vladislav Vaintroub
c69715f36b
refactor libedit, generate files in binary tree, not in source tree
2009-11-10 02:19:58 +01:00
Vladislav Vaintroub
13cd7170cc
WL#5161 : Cross-platform build with CMake
2009-11-09 12:32:48 +01:00
Staale Smedseng
4387f01efd
Bug#42430 Final commit to 5.0-bugteam
2009-04-16 11:40:51 +02:00
kent.boortz@sun.com
677b00faf6
cmd-line-utils/libedit/readline/readline.h
...
- 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"
2009-03-19 16:40:54 +01:00
kent.boortz@sun.com
e60cecab80
Back patched libedit portability changes from 5.1.32
2009-03-09 22:16:24 +01:00
Georgi Kodinov
1a7b0ec920
fixed a libedit compilation problem
2009-02-10 20:19:03 +02:00
Georgi Kodinov
773b18e69a
From jperkin : Merge libedit 2.11 and related files,
...
based on NetBSD CVS as of 2009/02/06 20:09:00.
2009-02-10 14:39:14 +02:00
bar@mysql.com/bar.myoffice.izhnet.ru
640a4d59fd
Bug#23097 mysql can't insert korean on mysql prompt.
...
Problem: libedit is a very pure-ASCII oriented library,
and it is not aware of extended (0x80..0xFF) or even multi-byte
characters. It considered such characters as non-printable
and didn't allow to input them.
Fix: make libedit think that all bytes >= 0x80 are printable.
2008-03-04 16:13:08 +04:00
kent@mysql.com/kent-amd64.(none)
2f88dce6ff
Makefile.am:
...
Ensure use of libedit "config.h" by adding "-I. -I$(srcdir)" to DEFS,
work around for problem with automake 1.10 (bug#24809)
2007-10-30 20:54:31 +01:00
kent@mysql.com/kent-amd64.(none)
a9d2569cba
Generate "config.h" directly into the "include" directory, later copied
...
to "my_config.h". Not to pollute the top directory, and to get more control
over what is included. Made the include path for "libedit" pick up its own
"config.h" first.
2007-07-30 21:09:45 +02:00
msvensson@pilot.(none)
7368985cfa
Merge pilot.(none):/data/msvensson/mysql/mysql-4.1-maint
...
into pilot.(none):/data/msvensson/mysql/mysql-5.0-maint
2007-06-07 09:21:33 +02:00
msvensson@pilot.(none)
5df790445a
Bug#10218 Command line recall rolls into Segmentation Fault(coredump)'
...
- Declare 'tgoto' if not already declared in system header files.
2007-06-04 16:42:42 +02:00
joerg@trift2.
e56eb2288c
Fix bug#23293 "readline detection broken on NetBSD":
...
Its root cause is a difference between the "readline" and "libedit" (header files)
definitions of "rl_completion_entry_function", where the "libedit" one is wrong anyway:
This variable is used as a pointer to a function returning "char *",
but "libedit" declares it as returning "int" and then adds casts on usage.
Change it to "CPFunction *" and get rid of the casts.
2007-01-31 15:25:56 +01:00
msvensson@neptunus.(none)
7786d075e7
Merge neptunus.(none):/home/msvensson/mysql/bug16557/my50-bug16557
...
into neptunus.(none):/home/msvensson/mysql/mysql-5.0
2006-02-21 08:58:19 +01:00
msvensson@neptunus.(none)
26d5e2d832
Bug#16557 mysql cmd-line client does not rename .mysql_history.TMP to .mysql_history
...
- Return error only if 'history' returns -1
2006-02-13 14:02:39 +01:00
serg@serg.mylan
14f94dc0ca
many warnings (practically safe but annoying) corrected
2006-01-03 17:54:54 +01:00
kent@mysql.com
095efe48a5
Makefile.am, configure.in:
...
Enable "make distcheck" to work
2005-09-24 15:51:45 +02:00
joerg@mysql.com
b323a77375
QNX does not know "uint", so the cast is rewritten as "unsigned int".
2005-07-18 13:52:18 +02:00
joerg@mysql.com
e3feff334f
cmd-line-utils/libedit/chared.c: Fix compile problem caused by use of "uint" which is undefined on QNX.
2005-07-11 15:59:49 +02:00
kent@mysql.com
a7be42163a
Makefile.am:
...
Added -I$(top_builddir)/include for searching
generated header files, when builddir != srcdir
2005-07-05 23:24:48 +02:00
matt@mysql.com
8ed0aaacdf
Merge bk-internal:/home/bk/mysql-4.1
...
into mysql.com:/data0/mysqldev/my/mysql-4.1-build
2005-05-18 04:06:27 +02:00
kent@mysql.com
a628878bbf
Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mysql.com:/Users/kent/mysql/cw/mysql-4.1
2005-05-14 23:48:15 +02:00
jimw@mysql.com
20037b11fd
Merge mysql.com:/home/jimw/my/mysql-4.1-9603
...
into mysql.com:/home/jimw/my/mysql-4.1-clean
2005-05-13 10:03:16 -07:00
kent@mysql.com
3eebfde644
readline.h:
...
Include <sys/ttydefaults.h> for CodeWarrior and CTRL define
2005-05-13 11:59:17 +02:00
lenz@mysql.com
27ab139dfa
- don't include sys.h directly in the autogenerated libedit source
...
files - include config.h instead (compile fix for FreeBSD and AIX
4.3/5.2)
2005-05-13 10:04:35 +02:00
kent@mysql.com
7209906093
readline.c:
...
Include readline/readline.h earlier, to avoid redifinition of term.h macros on AIX 5.2
search.c:
FreeBSD needs <sys/types.h> to get 'off_t' defined
2005-05-12 19:02:26 +02:00
lenz@mysql.com
b8a94814c9
- added cmd-line-utils/libedit/vis.h to the source distribution
2005-05-09 00:35:48 +02:00
jimw@mysql.com
45058e100a
Eliminate gcc 4.0 warning in libedit code. (Bug #9603 )
2005-05-07 08:16:43 -07:00
kent@mysql.com
c4acdc6e0f
terminal.c, sql_bitmap.h, my_sys.h, configure.in, config.h:
...
Initial Metrowerks CodeWarrior compiler support
2005-05-05 09:15:14 +02:00
lenz@mysql.com
210969a3d9
- added missing el_term.h to the source distribution (BUG#10352)
2005-05-04 10:49:42 +02:00
msvensson@neptunus.(none)
b5e96531a7
Merge neptunus.(none):/home/msvensson/mysql/bug9954
...
into neptunus.(none):/home/msvensson/mysql/mysql-4.1
2005-04-27 12:19:18 +02:00
msvensson@neptunus.(none)
f3c72cc891
Bug #9954 mysql-4.1.11/cmd-line-utils/libedit/makelist.sh is not portable
...
- Changed makelist.sh
- Bump up required version of autoconf
- Use new style to init mutex in my_thr_init
2005-04-27 09:59:12 +02:00
msvensson@neptunus.(none)
0c8c032f0d
Reverting back to original path of readline.h
2005-04-21 12:36:23 +02:00
msvensson@neptunus.(none)
3aecb8acce
Upgrade to libedit-2.9
2005-04-21 12:06:46 +02:00
serg@sergbook.mylan
e98e64cea8
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
...
into sergbook.mylan:/usr/home/serg/Abk/mysql-4.1
2005-01-08 21:27:22 +01:00
serg@sergbook.mylan
247052fecc
few harmless warnings from automated code-checking tools fixed
2005-01-08 21:25:31 +01:00
jimw@mysql.com
6d03688422
Fix unportable 'tr' usage in libedit build process. (Bug #7669 )
2005-01-08 05:32:47 +01:00
jani@a193-229-222-105.elisa-laajakaista.fi
af7ecf4c78
Fixed a bug in vis.c
2004-10-22 19:21:54 +03:00
jani@a80-186-41-201.elisa-laajakaista.fi
f3696879db
Fixed Bug#6109, 'mysql' command line client segfaults on 'quit' command.
...
It also did not write ~/.mysql_history file. The problem was in alloc(),
which probably does not work on HP-UX-11.23 ia64 platform. Changed some
macros into functions for better maintenance and debugging.
2004-10-21 17:17:03 +03:00