monty@mysql.com/narttu.mysql.fi
26aa385bc5
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/home/my/mysql-5.0
2007-02-21 14:07:08 +02:00
msvensson@neptunus.(none)
e4001b3b5a
Merge neptunus.(none):/home/msvensson/mysql/mysql-5.1
...
into neptunus.(none):/home/msvensson/mysql/mysql-5.1-maint
2007-02-06 15:46:17 +01:00
msvensson@neptunus.(none)
ede3afe470
Merge neptunus.(none):/home/msvensson/mysql/mysql-5.0
...
into neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
2007-02-06 14:45:08 +01:00
jani@a88-113-38-195.elisa-laajakaista.fi
cd75806b61
Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.1
...
into a88-113-38-195.elisa-laajakaista.fi:/home/my/bk/mysql-5.1
2007-02-03 00:58:09 +02:00
cmiller@zippy.cornsilk.net
ad66e7a0dd
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
...
into zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.0-maint
2007-01-31 16:23:05 -05:00
joerg@trift2.
852321c7f8
Merge trift2.:/MySQL/M50/push-5.0
...
into trift2.:/MySQL/M51/push-5.1
2007-01-31 18:20:23 +01: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@pilot.mysql.com
3bc4d45e29
Merge pilot.mysql.com:/home/msvensson/mysql/bug19474/my50-bug19474
...
into pilot.mysql.com:/home/msvensson/mysql/bug19474/my51-bug19474
2007-01-29 12:24:49 +01:00
msvensson@pilot.mysql.com
d42b919a0b
Bug#19474 readline bug: mysql: free(): invalid pointer
...
- Write to uninitialised memory occured since _rl_rapped_lines buffer
was not extended in CHECK_INV_LBREAKS macro
- Patch submitted to bug-readline@gnu.org
2007-01-29 12:24:08 +01:00
monty@narttu.mysql.fi
8a80e36ac3
Merge mysql.com:/home/my/mysql-5.0
...
into mysql.com:/home/my/mysql-5.1
Merge of 'remove compiler warnings when using -Wshadow'
2007-01-27 03:46:45 +02:00
monty@mysql.com/narttu.mysql.fi
a04157fbb3
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/home/my/mysql-5.0
2007-01-22 14:04:40 +02:00
joerg@trift2.
9d4f594ac9
cmd-line-utils/readline/undo.c : Replace an "uint" cast by the expanded "unsigned int" (compile problem on QNX).
2007-01-19 11:58:29 +01:00
kent@kent-amd64.(none)
be15e3bc15
Merge mysql.com:/home/kent/bk/main/mysql-5.0
...
into mysql.com:/home/kent/bk/main/mysql-5.1
2006-12-23 20:20:40 +01:00
kent@mysql.com/kent-amd64.(none)
226a5c833f
Many files:
...
Changed header to GPL version 2 only
2006-12-23 20:17:15 +01:00
tsmith/tim@siva.hindu.god
7c82a06dcf
Remove warnings by casting
2006-12-19 20:17:33 -07:00
monty@mysql.com/narttu.mysql.fi
88dd873de0
Fixed compiler warnings detected by option -Wshadow and -Wunused:
...
- Removed not used variables and functions
- Added #ifdef around code that is not used
- Renamed variables and functions to avoid conflicts
- Removed some not used arguments
Fixed some class/struct warnings in ndb
Added define IS_LONGDATA() to simplify code in libmysql.c
I did run gcov on the changes and added 'purecov' comments on almost all lines that was not just variable name changes
2006-12-15 00:51:37 +02:00
monty@narttu.mysql.fi
430d215c58
Merge mysql.com:/home/my/mysql-5.0
...
into mysql.com:/home/my/mysql-5.1
2006-11-30 22:38:12 +02:00
monty@mysql.com/narttu.mysql.fi
601e6f4b2a
Fixed compiler warnings
...
Don't assert if my_thread_end() is called twice (common case)
2006-11-30 21:56:03 +02:00
monty@mysql.com/nosik.monty.fi
93f246d4c1
Fixed portablity problem
...
Removed warnings from mysqltest scripts
2006-11-28 05:43:30 +02:00
monty@mysql.com/nosik.monty.fi
0e149b7170
Removed compiler warnings
...
Ensure that my_size_t is always unsigned (to get predictiable results from system to system)
Removed some %lld, as these are not portable
2006-11-27 18:16:08 +02:00
monty@nosik.monty.fi
89570bf966
Merge mysql.com:/home/my/mysql-5.0
...
into mysql.com:/home/my/mysql-5.1
2006-11-22 14:11:36 +02:00
monty@mysql.com/nosik.monty.fi
e825879800
Remove compiler warnings
...
(Mostly in DBUG_PRINT() and unused arguments)
Fixed bug in query cache when used with traceing (--with-debug)
Fixed memory leak in mysqldump
Removed warnings from mysqltest scripts (replaced -- with #)
2006-11-20 22:42:06 +02: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)
db9538c3bb
Merge neptunus.(none):/home/msvensson/mysql/bug16557/my50-bug16557
...
into neptunus.(none):/home/msvensson/mysql/bug16557/my51-bug16557
2006-02-21 08:57:18 +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
konstantin@mysql.com
92b41ba92a
Merge mysql.com:/home/kostja/mysql/tmp_merge
...
into mysql.com:/home/kostja/mysql/mysql-5.1-merge
2006-02-02 16:57:34 +03:00
serg@serg.mylan
14f94dc0ca
many warnings (practically safe but annoying) corrected
2006-01-03 17:54:54 +01:00
jani@a193-229-222-105.elisa-laajakaista.fi
5273071265
Merge a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-5.0
...
into a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-5.1-new
2005-11-23 14:57:00 +02:00
kent@mysql.com
37788da790
Reapplied portability changes, from changesets by kent, joerg and msvensson
2005-11-06 02:19:51 +01:00
kent@mysql.com
4742f585b1
Merge
2005-11-04 02:17:11 +01:00
bar@mysql.com
d99146ce2c
complete.c:
...
Fixed compilation problem on FreeBSD,
after discussion with Jani.
Doesn't FreeBSD follow the standard?
2005-10-11 16:56:42 +05:00
jani@ua141d10.elisa.omakaista.fi
eaff73807c
Changed __USE_XOPEN to _XOPEN_SOURCE and got rid of
...
some extra code.
2005-10-04 20:22:39 +03:00
jani@ua141d10.elisa.omakaista.fi
17e87da298
Some fixes including implicit declaration of a function,
...
using wrong type in assignment etc.
2005-10-04 18:20:57 +03:00
kent@mysql.com
095efe48a5
Makefile.am, configure.in:
...
Enable "make distcheck" to work
2005-09-24 15:51:45 +02:00
jani@a193-229-222-105.elisa-laajakaista.fi
acf218b708
Several fixes revelaled by Intel compiler.
2005-09-23 16:47:08 +03:00
jimw@mysql.com
48536b7668
Merge mysqldev@production.mysql.com:jimw/mysql-5.0-readline
...
into mysql.com:/home/jimw/my/mysql-5.0-readline
2005-07-18 18:04:52 -07:00
jimw@mysql.com
7d7a4626fc
Reimplement use of "config_readline.h" to get readline configuration.
2005-07-18 18:00:19 -07:00
jimw@mysql.com
7cf58d1f86
Upgrade bundled readline to version 5.0.
2005-07-18 17:22:38 -07: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)
06d29ea2b7
Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1
...
into neptunus.(none):/home/msvensson/mysql/bug2596
2005-04-21 21:52:31 +02:00
lenz@mysql.com
11bb365f68
- added missing file config_readline.h to the source distribution
2005-04-21 21:15:35 +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
msvensson@neptunus.(none)
b26d29a081
After review fix
2005-04-20 12:02:07 +02:00
msvensson@neptunus.(none)
4a4c9017ad
BUG#9568 mysql segfaults from CTRL-R
...
- Segfault because of passing a 64-bit pointer to 32 bit integer.
- Add new include config_readline.h which will calculate some new defines
based on what is found in config.h
- This file was originally included in readline 4.3 as config.h.in, only the part that
makes new defines have been moved to this file.
2005-04-19 13:12:19 +02:00
jimw@mysql.com
d046eef5f9
Fix bug in bundled GNU readline library, based on similar report for
...
GNU bash (http://lists.gnu.org/archive/html/bug-bash/2002-08/msg00042.html )
and current code from GNU readline 5.0. (Bug #5672 )
2005-01-31 18:22:52 -08: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
vva@eagle.mysql.r18.ru
a8cc9250a9
fixed Bug #5589 "libedit compile failure in term.c"
...
(for octane2)
included term.h if there isn't termcap.h in cmd-line-utils/libedit/term.c
2004-09-15 21:50:32 +05:00
vva@eagle.mysql.r18.ru
0fda2f6b97
1. discarded term.h from the distribution
...
2. changed key_* to el_ley_* in the libedit key.h
(because it's in the conflict with the aix definitions)
3. use libedit_term.h instead of term.h in the cmd-line-utils/libedit/el.h
4. added definition of MIN in the cmd-line-utils/libedit/read.c
(if it wasn't defined yet)
5. discarded definition of SUNOS macro from configure.in
(now we don't include term.h in the el.h at all)
2004-09-03 17:47:36 +05:00
vva@eagle.mysql.r18.ru
e022b3144e
Merge eagle.mysql.r18.ru:/home/vva/work/mysql.orig/clear/mysql-4.1
...
into eagle.mysql.r18.ru:/home/vva/work/mysql.orig/test/mysql-4.1
2004-08-31 18:53:24 +05:00
vva@eagle.mysql.r18.ru
53b804a679
fixed two compiling bugs for libedit
2004-08-31 18:29:01 +05:00
vva@eagle.mysql.r18.ru
940753e342
fixed compiling bug of libedit on qnx
...
discarded using of uint in cmd-line-utils/libedit/chared.c
because it's undefined on qnx
2004-08-31 17:51:02 +05:00
vva@eagle.mysql.r18.ru
5787776355
fixed compiling bug
...
(non gcc compilers don't understand '-Dx()=' option)
2004-08-31 17:29:47 +05:00
lenz@mysql.com
51fe3e78e3
- adding more missing libedit files
2004-08-27 22:52:33 +02:00
lenz@mysql.com
cb161dedc3
- add missing file "read.h" to the source distribution
2004-08-27 21:18:51 +02:00
vva@eagle.mysql.r18.ru
d5cb5c57d9
Merge vvagin@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into eagle.mysql.r18.ru:/home/vva/work/mysql.orig/test/mysql-4.1
2004-08-27 20:48:16 +05:00
vva@eagle.mysql.r18.ru
1dee12bba4
fixed format of history of new libedit for compatibility
...
with old libedit and readline
1. discarded reading and writting of hist_cookie as the begin of the file
2. skip strvis for string before saving
2004-08-27 20:32:28 +05:00
serg@serg.mylan
0c950c5bfe
compatibility fixes
2004-08-24 22:37:05 +02:00
vva@eagle.mysql.r18.ru
f4c23c12ba
committed skipped file
2004-08-25 01:37:01 +05:00
vva@eagle.mysql.r18.ru
3d94446055
resurrect fix for
...
Bug #4696 segfault in cmd-line-utils/libedit/history.c:history_save()
(bundled libedit)
2004-08-25 00:26:53 +05:00
vva@eagle.mysql.r18.ru
908af8b05a
added skipped file for libedit-2.6.7
2004-08-24 21:52:13 +05:00
vva@eagle.mysql.r18.ru
3e6d1022d6
upgrade to libedit-2.6.7
...
(fixed Bug #4462 libedit compile failure)
2004-08-24 20:41:41 +05:00
vva@eagle.mysql.r18.ru
f6a3f2cfad
fixed :
...
Bug #3937 fails to compile with both gcc 3.3.3/icc8
Bug #4728 mysql couldn't be compiled using system readline (readline-4.3)
2004-08-24 19:23:23 +05:00
serg@serg.mylan
566344b42e
libedit safety fix: account for closing \0
2004-08-21 23:53:42 +02:00
serg@serg.mylan
4f57cee99f
typo in libedit fixed - possible buffer overflow - bug#4696
2004-08-20 01:34:34 +02:00
lenz@kallisto.local
78fc9ba5d8
- Fixed BUG#2297: cmd-line-utils/libedit/makelist used a hard-coded
...
call to /usr/bin/awk - replaced this with the proper autoconf variable
instead (makelist is now generated out of makelist.sh during the compile
phase)
2004-01-16 16:22:59 +01:00
lenz@kallisto.local
95f71c317b
- make sure that both libedit and readline are added to the source
...
distribution. libedit is used by default, one needs to use
"--with-readline" when compiling with readline instead.
2003-08-20 16:39:11 +02:00
vva@eagle.mysql.r18.ru
4250b44dc9
fixed bug with locales in libedit
2003-04-06 20:14:36 -04:00
vva@eagle.mysql.r18.ru
9686b98b8e
temporary trick for work with different locales (koi8r for example)
2003-03-31 18:39:14 -04:00
monty@mashka.mysql.fi
2d09c5bf9c
Portability fixes
2003-03-11 00:30:35 +02:00
monty@narttu.mysql.fi
9147f8b522
Portability fixes
2003-02-28 14:32:40 +02:00
monty@narttu.mysql.fi
3b073a08e0
Portability fixes
...
Don't define crc32 if we are not linking with gzip
2003-02-27 03:44:44 +02:00
monty@mashka.mysql.fi
e327393e9d
Fixed a lot of wrong memory references as reported by valgrind
...
Portability fixes
Added new client function: mysql_get_server_version()
New server help code (From Victor Vagin)
Fixed wrong usage of binary()
Disabled RTREE usage for now.
2003-02-12 21:55:37 +02:00
lenz@mysql.com
c96a4e7349
- added missing files/directories from bdb and libedit to source distribution
...
- make sure to not included BK's "SCCS" directories in source distribution
2003-02-03 11:32:29 +01:00
monty@mashka.mysql.fi
25c393a12e
Portability fixes (for windows)
...
Some changes to the prepared statement protocol to make it easier to use and faster.
2003-01-21 21:07:59 +02:00
monty@mashka.mysql.fi
0d28405424
Removed compiler warnings
2003-01-19 02:24:02 +02:00
vva@eagle.mysql.r18.ru
0bacaa10c0
Merge eagle.mysql.r18.ru:/home/vva/work/add_libedit/experiment/4.1.clear
...
into eagle.mysql.r18.ru:/home/vva/work/add_libedit/experiment/4.1.clone
2003-01-18 21:05:56 +04:00
vva@eagle.mysql.r18.ru
62e234fa24
libedit need this file too...
2003-01-18 21:05:02 +04:00
vva@eagle.mysql.r18.ru
a3891ff328
move readline to cmd-line-utils
2003-01-18 20:53:46 +04:00
vva@eagle.mysql.r18.ru
69b722d7d9
changes for readline/libedit configuration
2003-01-18 20:28:48 +04:00