Commit graph

601 commits

Author SHA1 Message Date
monty@mysql.com
ede8169d24 Added missing SSL library (Should be in source distribution)
Fixed compiler warnings (a lot of hidden variables detected by the Forte compiler)
Added a lot of 'version_xxx' strings to 'show variables'
Prevent copying of TMP_TABLE_PARAM (This caused core dump bug on Solaris)
Fixed problem with printing sub selects to debug log
2003-11-28 12:18:13 +02:00
monty@narttu.mysql.fi
4e4725377d Merge with 4.0 2003-11-04 09:40:36 +02:00
monty@mysql.com
4668b54837 Call my_sync() after all data is written to .frm file
Added my_sync() to mysys which will do fsync/fdatasync/_commit() on a file.
2003-11-02 15:55:02 +02:00
lenz@mysql.com
f393024fef - bumped up version number in configure.in to to 4.0.17 now that
4.0.16 has been tagged and released
 - tagged ChangeSet 1.1576.1.5 as "mysql-4.0.16"
2003-10-21 18:41:19 +02:00
monty@mashka.mysql.fi
b1dba93cdb Safety fix to detect multiple calls to my_thread_end()
Portability fix (For Mac OS X)
2003-10-16 20:55:15 +03:00
monty@mashka.mysql.fi
461d1627b3 merge with 4.0 for more memory allocation variables. 2003-10-13 15:50:30 +03:00
monty@mashka.mysql.fi
c95d142f8f Add new user variables for tuning memory usage:
query_alloc_block_size, query_prealloc_size, range_alloc_block_size,transaction_alloc_block_size and transaction_prealloc_size
Add more checks for "out of memory" detection in range optimization
2003-10-11 22:00:24 +03:00
monty@narttu.mysql.fi
6056cfadfc Merge with 4.0.16 2003-10-07 15:42:26 +03:00
monty@narttu.mysql.fi
f05a1c8394 Block SIGPIPE also for not threaded client programs.
Added --include and --libs_r options to mysql_config.
Added mysql_get_client_version() to client library
Fixed some minor benchmark issues
2003-09-23 13:36:01 +03:00
bar@bar.mysql.r18.ru
287d0b6479 configure.in:
Fix the problem with errmsg compilation
2003-09-18 14:54:53 +05:00
lenz@mysql.com
edfbc3d3e8 Portability fixes:
- removed "-traditional-cpp" from the darwin6 compile flags, as it broke
   compilation with gcc-3.3 on Mac OS X and does not seem to be required 
   in general.
 - make sure to link libmysqld/examples/mysqltest.c with a C++ compiler, 
   as the embedded server library (libmysqld.a) includes C++ code. This
   broke compilation with non-gcc compilers.
2003-09-12 12:42:34 +02:00
monty@mashka.mysql.fi
73f66f68fd merge with 4.0.15 2003-09-11 20:24:14 +03:00
lenz@mysql.com
57290ee65f - Updated version number to 4.0.16 now that 4.0.15 has been released
- tagged ChangeSet 1.1556 as mysql-4.0.15
2003-09-10 16:48:57 +02:00
gerberb@ou800.zenez.com
7005115e97 Change set for gcc patch on OpenUNIX and UnixWare SCO is the OS vendor. 2003-09-03 08:07:58 -06:00
monty@narttu.mysql.fi
77a70a0a24 merge with 4.0.15 2003-08-29 13:44:35 +03:00
monty@narttu.mysql.fi
8a77f97079 Add detection of in_addr_t
Add pack_bits to pack_reclength for dynamic rows.  This solves buffer a possible buffer overflow on update.
(This will probably solve bug #563)
Fix test for available file descriptors in mysqltest
Fixed core dump bug in replication tests when running without transactional table support
2003-08-28 06:08:17 +03: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
monty@mashka.mysql.fi
10c4acfb4f merge 2003-08-19 00:10:21 +03:00
monty@mashka.mysql.fi
2263e3e51f Merge with 4.0.14 2003-08-11 22:44:43 +03:00
dlenev@dlenev.mshome
921ac8af8b Implemented UTC_TIME, UTC_DATE and UTC_TIMESTAMP functions (WL#345) 2003-08-11 23:43:01 +04:00
lenz@mysql.com
60c914302d - tagged ChangeSet 1.1527.1.3 as "mysql-4.0.14"
- bumped up version number in configure.in to 4.0.15
2003-07-22 09:45:53 +02:00
monty@narttu.mysql.fi
f3af0d7ce4 Status query on killed mysql connection results in segmentation fault (Bug #738)
Added MAX_PASSWORD_LENGTH. This increased master-slave passwords to 32 bytes (Bug #766)
Fixed server crash on purge master logs or show master logs when binlog is off. (Bug #733)
2003-07-04 03:18:15 +03:00
lenz@mysql.com
dc704a2c20 - reverted change from AC_CONFIG_HEADERS to AM_CONFIG_HEADER in configure.in
again - even though the automake docs consider AM_CONFIG_HEADER obsolete, 
   it currently still breaks for too many people to justify this change
   at the moment.
2003-06-25 11:16:06 +02:00
lenz@kallisto.local
a7f584da79 - added sql-common subdirectory and sql_common.h to source distribution 2003-06-18 23:13:29 +02:00
lenz@mysql.com
925f621c64 - replaced obsolete Macro AM_CONFIG_HEADER with AC_CONFIG_HEADERS
- Added missing function name in checking for sem_init in posix4 libs on
   Solaris
2003-06-13 14:47:23 +02:00
monty@narttu.mysql.fi
dad0664579 merge with public tree 2003-06-05 00:12:45 +03:00
monty@narttu.mysql.fi
40109c574a Merge with 4.0.13 2003-06-04 19:21:51 +03:00
bar@bar.mysql.r18.ru
67c6703463 --with-collation argument for configure. Now one can for example use this:
./configure --with-charset=latin1 --with-collation=latin1_danish_ci
2003-05-28 16:23:04 +05:00
bar@bar.mysql.r18.ru
31d0d44919 --with-charset was not up to date
ctype_ucs2 and ctype_ujis were skipped in mistake
2003-05-26 20:22:23 +05:00
guilhem@mysql.com
6bbeecc642 Merge gbichot@213.136.52.20:/home/bk/mysql-4.0
into mysql.com:/home/mysql_src/mysql-4.0
2003-05-23 18:23:50 +02:00
guilhem@mysql.com
319404ab94 Outcome of discussions with Lenz and Monty about handling ccache in the build commands. 2003-05-23 18:20:57 +02:00
lenz@mysql.com
5d097b431b - Portability fix: FreeBSD 4.8-STABLE (480101) and 5.0-CURRENT (500110)
now have a thread safe realpath(3) implementation - added check to only
   define -DHAVE_BROKEN_REALPATH where required
   (thanks to Martin Blapp from the FreeBSD team for the patch)
2003-05-23 11:38:37 +02:00
lenz@mysql.com
9556cb171a - Tagged ChangeSet 1.1497 as "mysql-4.0.13"
- Updated version number in configure.in to 4.0.14 now that 4.0.13 has
   been tagged
2003-05-19 16:36:50 +02:00
monty@narttu.mysql.fi
dd2b7918cd Merge with 4.0.13 2003-05-19 16:35:49 +03:00
bar@bar.mysql.r18.ru
080eb641fa configure.in:
./configure --with-charset=big5  didn't work
2003-05-15 16:57:34 +05:00
monty@narttu.mysql.fi
bceefa954a Merge with 3.23 (No releavant code changes) 2003-05-14 22:28:54 +03:00
monty@narttu.mysql.fi
cf99d89908 Portability fixes OpenUnix 8 & UnixWare 7.1.x 2003-05-14 22:08:30 +03:00
monty@narttu.mysql.fi
3e72b423e3 Fix for MacOSX and symlinks
Fix for USE_FRM and crashed index file
2003-05-14 01:27:26 +03:00
monty@mashka.mysql.fi
bf6cfd2948 Fix for -fbranch-probabilites (bug 268)
Fix for LEFT/RIGHT/MID with multi-byte-character sets (bug 314)
Fix for new bison 1.875
max_insert_delayed_threads and delayed_insert_timeout now works as documented (bug 211)
Don't show port in SHOW PROCESSLIST for system threads
Fix problem with ORDER BY being discarded for some DISTINCT queries (bug 275)
Fixed bug with NATURAL LEFT JOIN, NATURAL RIGHT JOIN and RIGHT JOIN when
using many joined tables (Bug 212)
2003-04-26 20:43:28 +03:00
lenz@mysql.com
ccd61a5314 - bumped up version number to 4.1.1-alpha now that 4.0.1 has been tagged
- tagged ChangeSet@1.1529 as mysql-4.1.0
2003-04-08 17:49:16 +02:00
vva@eagle.mysql.r18.ru
4250b44dc9 fixed bug with locales in libedit 2003-04-06 20:14:36 -04:00
monty@narttu.mysql.fi
9f200ede0d Merge bk-internal.mysql.com:/home/bk/mysql-4.1
into narttu.mysql.fi:/my/mysql-4.1
2003-03-20 02:06:08 +02:00
bar@bar.mysql.r18.ru
5e57d512eb configure.in:
Always compile utf8
2003-03-19 19:33:26 +04:00
lenz@mysql.com
f39eb5787f - updated version number (4.0.12 -> 4.0.13)
- tagged ChangeSet 1.1671 as mysql-4.0.12
2003-03-18 10:00:29 +01:00
monty@narttu.mysql.fi
a434bca704 Merge with 4.0 2003-03-16 19:17:54 +02:00
lenz@mysql.com
81db1e7fa2 - tagged ChangeSet 1.1358 as mysql-3.23.56
- bumped up version number to 3.23.57 in configure.in
2003-03-15 12:35:09 +01:00
monty@mashka.mysql.fi
2d09c5bf9c Portability fixes 2003-03-11 00:30:35 +02:00
monty@mashka.mysql.fi
c0c3a5f357 Merge work:/my/mysql-4.0 into mashka.mysql.fi:/home/my/mysql-4.0 2003-03-07 12:37:18 +02:00
monty@mashka.mysql.fi
13de61cc3a Portability fix for IBM compiler on AIX 2003-03-07 01:00:58 +02:00
lenz@mysql.com
f2c4b6c981 - safeguard against an endless loop when MIT pthreads are not installed
(Bug #121)
2003-03-05 09:49:28 +01:00
lenz@mysql.com
609445e73f - Changed version number from "4.0.12-gamma" to "4.0.12" (confirmed by
Monty)
2003-02-28 12:47:26 +01:00
monty@narttu.mysql.fi
050543bdfc Merge with 3.23 -> 4.0 2003-02-28 13:29:48 +02:00
monty@narttu.mysql.fi
a0d2a621ed Added detection if pthread_attr_getstacksize() exists
Fixed bug in RAND() usage in mysqlbinlog
2003-02-27 17:35:51 +02:00
monty@narttu.mysql.fi
9a46698e1e Merge with 4.0.11 2003-02-26 01:03:47 +02:00
lenz@mysql.com
fb43cce1f6 - bumped up version number from 4.0.11-gamma -> 4.0.12-gamma in configure.in
- tagged ChangeSet 1.1594 as "mysql-4.0.11"
2003-02-25 13:10:16 +01:00
serg@serg.mysql.com
dd0bdc2244 allow --without-extra-charsets 2003-02-24 11:46:07 +01:00
lenz@mysql.com
433742e40c - removed +DD64 compile option from the HPUX11 default CFLAGS in
configure.in - there are 32bit installations of HPUX11 out there
   and compiling for these by manually adding +DAportable to CFLAGS
   did not work. Better add +DD64 manually, if you need it.
2003-02-21 17:42:48 +01:00
lenz@mysql.com
233a1c83e8 - temporarily removed netware from AC_OUTPUT to be able to perform the
builds and until I've found a way on how to add this conditionally
2003-02-20 15:13:47 +01:00
monty@mashka.mysql.fi
90bf074438 Merge with 4.0.11 tree to get latest bug fixes 2003-02-17 05:43:37 +02:00
monty@mashka.mysql.fi
6051b2f998 Fixed multi-table-delete for InnoDB tables
Novell patches
2003-02-17 02:14:37 +02:00
monty@mashka.mysql.fi
9d000c323a Updated configure script to handle 1 digit numbers in MySQL version
Fixed a few typos from last patch
2003-02-12 23:17:22 +02:00
monty@mashka.mysql.fi
7388c5f161 merge 2003-02-08 01:12:58 +02:00
monty@mashka.mysql.fi
d92022f7f0 Fixed problem that caused automake to fail 2003-02-07 18:47:13 +02:00
monty@mashka.mysql.fi
25de9c19b2 After merge fixes & remove compiler warnings
Added lengths for all MYSQL_FIELD string parameters
Changed field length to 2 byte in .frm files
2003-02-07 15:47:24 +02:00
monty@mashka.mysql.fi
564c447b27 Allow 4.0 to read new 4.1 .frm files 2003-02-07 10:35:08 +02:00
monty@mashka.mysql.fi
023d6dd39b Merge with 4.0.11 2003-02-04 21:52:14 +02:00
lenz@mysql.com
dc10fb9443 Merge mysql.com:/space/my/mysql-4.0
into mysql.com:/space/my/mysql-4.0-build
2003-02-03 20:54:08 +01:00
lenz@mysql.com
1b640ac82d - added support-files/MacOSX to include files specific for building
MacOSX packages using PackageMaker
 - renamed support-files/PKG -> support-files/SCO (PKG is used in MacOS X
   terminology as well)
2003-02-03 20:39:48 +01:00
monty@mashka.mysql.fi
e3cd63521c Fix for MIN/MAX with empty tables
MIN(key_column) could in some cases return NULL on a column with NULL and other values.
MIN(key_column) and MAX(key_column) could in some cases return wrong values when used in OUTER JOIN.
2003-02-03 20:20:32 +02:00
bar@bar.mysql.r18.ru
9a837a873e Always use USE_STRCOLL code 2003-01-30 11:15:14 +04:00
monty@mashka.mysql.fi
689578a099 Fixes for Netware
Call pthread_mutex_destroy() on not used mutex.
Changed comments in .h and .c files from // -> /* */
Added detection of mutex on which one didn't call pthread_mutex_destroy()
Fixed bug in create_tmp_field() which causes a memory overrun in queries that uses "ORDER BY constant_expression"
Added optimisation for ORDER BY NULL
2003-01-28 08:38:28 +02:00
lenz@mysql.com
500b90f4df - bump up version number 3.23.55 -> 3.23.56 in configure.in
- tagged ChangeSet 1.1315 as "mysql-3.23.55"
2003-01-23 20:24:29 +01:00
vva@eagle.mysql.r18.ru
1098d0a0e9 correction for compiling on Linux Suse 7.2 2003-01-22 20:51:51 +04:00
lenz@mysql.com
a6f6f19b51 - tagged ChangeSet 1.1509 as "mysql-4.0.9"
- bumped up version number in configure.in to 4.0.10-gamma
2003-01-21 22:36:56 +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
529e4a76c5 Merge work:/home/bk/mysql-4.1 into mashka.mysql.fi:/home/my/mysql-4.1 2003-01-18 19:31:37 +02:00
vva@eagle.mysql.r18.ru
69b722d7d9 changes for readline/libedit configuration 2003-01-18 20:28:48 +04:00
monty@mashka.mysql.fi
76f146a175 Merge with 4.0.9 2003-01-18 03:13:37 +02:00
monty@mashka.mysql.fi
54ad6de1d9 Portability fix 2003-01-09 11:11:06 +02:00
monty@mashka.mysql.fi
89ef355b9e Fix for bug in LOAD DATA INFILE and replication
Fix for SHOW VARIABLES in embedded server
2003-01-08 11:24:39 +02:00
monty@mashka.mysql.fi
803dff1002 Merge with 4.0.8 2003-01-06 02:04:52 +02:00
monty@mashka.mysql.fi
1f6ecc0cd3 Changed mysql-test to print warnings for not existing table to DROP TABLE
Cleaned up test; Removed wrong DROP TABLE commands and use standard table and database names.
changed store_warning() -> push_warning_print()
2003-01-06 01:48:59 +02:00
monty@mashka.mysql.fi
9ecf9645eb A lot of portability fixes.
Added rename table for BDB. This fixes a bug in ALTER TABLE with BDB tables.
2003-01-05 20:18:49 +02:00
monty@mashka.mysql.fi
5e77a27182 Changed shared lib version to 12 as some structures has changed 2003-01-04 18:19:48 +02:00
monty@mashka.mysql.fi
07daf3169e Merge with 4.0.8 2003-01-03 00:04:33 +02:00
lenz@mysql.com
48e03169a4 - bumped up version number to 4.0.8-gamma
- tagged ChangeSet 1.1484 as mysql-4.0.7
2002-12-24 16:25:03 +01:00
lenz@mysql.com
ad9c7c7bdb - fix CC_VERSION and CXX_VERSION for compilers that return multiple lines of
output for "--version" (e.g. gcc 3.x)
2002-12-23 13:33:55 +01:00
monty@mashka.mysql.fi
8b56ca0ef3 Merge work:/my/mysql-4.0 into mashka.mysql.fi:/home/my/mysql-4.0 2002-12-20 14:59:35 +02:00
monty@mashka.mysql.fi
b5aa9ae0c7 Changed thd variables max_join_size and select_limit to type ha_rows.
This fixed some optimization problems when using -DBIG_TABLES
Portabilty fixes for OpenUnix and HPUX
Added C and C++ version numbers to mysqlbug
2002-12-20 14:58:27 +02:00
lenz@mysql.com
3f7afaf876 - tagged ChangeSet 1.1477 as MySQL 4.0.6
- bumped up version number in configure.in to 4.0.7-gamma
2002-12-20 12:56:00 +01:00
monty@mashka.mysql.fi
15b870d6c9 Merge with 3.23 to get patch for lower_case_table_names for MacOSX 2002-12-14 12:49:55 +02:00
monty@mashka.mysql.fi
00e005cbdb Make --lower-case-table-names default on MacOSX 2002-12-14 12:25:33 +02:00
lenz@mysql.com
cb2220f1dc - tagged ChangeSet 1.1276.3.1 as MySQL 3.23.54
- bumped up version number in configure.in to 3.23.55
2002-12-11 18:27:46 +01:00
lenz@mysql.com
1935183975 - Portability fixes for HP compiler on HPUX11 (backport from 4.0 tree)
- sql_analyse.cc: Fixed bug in decimal handling
2002-12-04 16:16:06 +01:00
monty@mashka.mysql.fi
5dbea1b7a2 Merge with 4.0 2002-11-25 12:19:28 +02:00
lenz@mysql.com
fd79ed87b5 configure.in:
- actually follow the hints in the comment above and "Remember that 
   regexps needs to quote [ and ] since this is run through m4"...
2002-11-21 22:14:57 +01:00
lenz@mysql.com
373904f799 configure.in:
- fix MYSQL_NO_DASH_VERSION if version number ends on one digit only
   ("comment" test failed when MySQL version was changed from 4.0.5
   to 4.0.5a)
2002-11-21 21:42:44 +01:00
monty@mashka.mysql.fi
dac6498f9b Merge with 4.0 2002-11-21 15:56:48 +02:00
monty@mashka.mysql.fi
f9e6ae6f42 merge with 3.23 2002-11-19 12:35:17 +02:00
serg@serg.mysql.com
7555363f4b add -DHAVE_BROKEN_REALPATH to CFLAGS on FreeBSD (previous patch touched only CXXFLAGS) 2002-11-18 16:50:37 +01:00
serg@serg.mysql.com
4d62e7a2c5 Merge work:/home/bk/mysql into serg.mysql.com:/usr/home/serg/Abk/mysql 2002-11-18 16:31:03 +01:00
serg@serg.mysql.com
2725b8208d added -DHAVE_BROKEN_REALPATH for FreeBSD builds 2002-11-18 16:30:19 +01:00
lenz@mysql.com
d3a572b830 - Tagged ChangeSet 1.1400.1.3 as "mysql-4.0.5"
- bumped up version number in configure.in
 - fixed a typo in test-create.sh
2002-11-18 11:40:55 +01:00
lenz@mysql.com
996255648b - Applied required modifications for automake 1.5
- "make distcheck" needs to be fixed
2002-11-17 16:45:21 +01:00
monty@hundin.mysql.fi
38c6673490 Small fix in configure for HPUX11 2002-11-09 13:39:27 +02:00
monty@hundin.mysql.fi
b0fae584b9 Portability fixes for HP compiler and HPUX11 2002-11-09 13:26:46 +02:00
monty@butch.
890b39bb68 merge 2002-11-07 12:49:01 +02:00
monty@butch.
a2bdf9265f Portability fixes for Fortre C++ 5.0 (on Sun) in 32 and 64 bit modes. 2002-11-07 03:54:00 +02:00
lenz@mysql.com
e34e82d156 - configure.in: replaced AM_PROG_LIBTOOL with AC_PROG_LIBTOOL, since the
old macro name is deprecated (according to the libtool 1.4.2 docs).
2002-11-06 15:01:03 +01:00
lenz@mysql.com
4fecef1464 - configure.in: replaced AM_PROG_LIBTOOL with AC_PROG_LIBTOOL, since the
old macro name is deprecated (according to the libtool 1.4.2 docs).
2002-11-06 14:13:11 +01:00
monty@hundin.mysql.fi
e52816d779 Merge work:/my/mysql-4.0 into hundin.mysql.fi:/my/mysql-4.0 2002-10-31 16:43:42 +02:00
vva@genie.(none)
54ab1a79fe discard superflous os2/Makefile in dependence list.. 2002-10-31 14:58:05 +04:00
monty@hundin.mysql.fi
2bcd60e113 Merge 2002-10-31 10:44:20 +02:00
monty@hundin.mysql.fi
1e0538324d Added back old LARGEFILE handling
Fixed reference to freed memory in acl_init()/grant_init()
Fixed possible memory leak. (Could only happen in very strange circumstances)
Fixed bug in ALTER TABLE with BDB tables
Updated mysql-test for valgrind
2002-10-29 21:59:03 +02:00
lenz@mysql.com
9b769dbd22 - replaced all occurences of HPUX with HPUX10 (to be prepared for eventual
differences in HPUX11)
2002-10-24 14:30:25 +02:00
monty@hundin.mysql.fi
fbf6ab4465 merge with 4.0.5 2002-10-16 19:30:24 +03:00
monty@hundin.mysql.fi
67d3cd643b Merge with 3.23.54 2002-10-16 13:11:25 +03:00
serg@serg.mysql.com
b99f88a97a -lpthread should be appended to LIBS 2002-10-15 21:03:41 +00:00
bell@sanja.is.com.ua
c72a7a8df2 fix 4.1 build 2002-10-14 17:55:21 +03:00
serg@serg.mysql.com
fcb8bc061d merged 2002-10-14 11:36:48 +00:00
lenz@mysql.com
d8f843a779 - Tagged ChangeSet 1.1224 as "mysql-3.23.53"
- bumped up version number to 3.23.54 in configure.in
 - replaced Docs/LICENSE with Docs/MySQLEULA.txt and modified
   scripts/make_binary_distribution.sh and Build-tools/mysql-copyright*
   accordingly.
2002-10-13 16:26:28 +02:00
serg@serg.mysql.com
c5c1a5fef3 libraries should be always prepended to $LIBS, never appended 2002-10-10 15:14:47 +00:00
monty@mashka.mysql.fi
0f39457613 Merge with 4.0.4 2002-10-02 17:55:12 +03:00
lenz@mysql.com
cf2fec3c69 - applied fix from 4.0 configure.in required to build shared libraries
with static glibc installed
2002-10-02 13:20:17 +02:00
monty@mashka.mysql.fi
d69250a969 Fixes and code cleanups after merge with 4.0.3
Warning handling and initial prepared statement handling (last not complete yet)
Changed a lot of functions that returned 0/1 to my_bool type.
GRANT handling now uses read/write locks instead of mutex
Change basic net functions to use THD instead of NET
(needed for 4.1 protocol)
Use my_sprintf instead of sprintf() + strlen()
Added alloc_query() to be able to chare query initialization code with
prepared statements.
Cleanup handling of SHOW COUNT(*) WARNINGS and SELECT LAST_INSERT_ID()

Note that the following test fails (will be fixed ASAP):
sub_select, union, rpl_rotate_logs and rpl_mystery22
2002-10-02 13:33:08 +03:00
lenz@mysql.com
3cf7acb756 - Applied required modifications for automake 1.5
- some additional small fixes
 - added "depcomp" for automake 1.5
2002-10-01 21:57:10 +02:00
lenz@mysql.com
3aa161d240 - Tagged ChangeSet 1.1321 as mysql-4.0.4
- added some missing changelog entries to the 4.0.5 changelog
 - applied small fix to configure.in from monty (already applied manually
   to configure.in of the 4.0.4 release source files - not relevant for
   normal builds anyway)
2002-10-01 21:16:27 +02:00
lenz@mysql.com
019b5ab7b4 - backported gcc 3.0 linking fix from 4.0
- some cosmetical fixups (typos, comments)
2002-09-24 22:24:30 +02:00
serg@build.mysql2.com
88ce8f68ec Merge 2002-09-23 16:39:18 +02:00
serg@build.mysql2.com
140397d424 configure.in:
static nss linkingg issue
2002-09-23 16:39:17 +02:00
lenz@mysql.com
bff474e2ac - added missing line from the 4.0 configure.in patch 2002-09-23 14:06:48 +02:00
lenz@mysql.com
e5ee3122a3 - Bugfix for static glibc linking in configure.in (taken from 4.0) 2002-09-22 18:43:33 +02:00
monty@mashka.mysql.fi
6aef4237d7 Fixed bug in previous patch when using a libc with static nss 2002-09-22 10:35:15 +03:00
lenz@mysql.com
aca781a1e2 - merge some of the 4.0 configure.in modifications (mainly because
of the static_nss stuff required for linking against the patched
   glibc)
2002-09-20 14:45:28 +02:00
monty@mashka.mysql.fi
7726d4b5ac Added testing of glibc compiled with static nss (as on the MySQL build machine) 2002-09-20 14:42:47 +03:00
monty@mashka.mysql.fi
f3a186c905 Portability fixes.
Improve mysql-test to be more robust.
Fix that GRANT doesn't delete SSL options
Change innobase_flush_log_at_trx_commit to uint.
Don't rotate logs if we read a rotate log entry from the master.
2002-09-11 06:40:08 +03:00
monty@narttu.mysql.fi
7134ffec21 Merge with 4.0.3
Some simple optimzations, more comments and indentation changes.
Add ` around database in 'use database' in binary log.
Moved max_error_count and max_warning_count to variables struct.
Removed SHOW_WARNS_COUNT and SHOW_ERRORS_COUNT calls.
Changed string functions to use character set of first string argument as default return characterset
(Each string function can change the above assumption if needed)
2002-08-30 12:40:40 +03:00
lenz@mysql.com
d427ecb460 - updated version number in configure.in to 4.0.4-beta 2002-08-28 16:02:30 +02:00
monty@hundin.mysql.fi
f3f1e53e52 Fix for HPUX to not use -lc_r library.
Fixed hangup problem in net_clear() on HPUX and Windows.
2002-08-26 12:28:49 +03:00
monty@hundin.mysql.fi
03b0179af9 Use our version of RWLOCKS on UNIXWARE 7
More DBUG info for replication
Better error messages from replication
Fixed bug in replication code when connecting to 'localhost' (time was not released properly)
Block ALARM signal on Linux for signal handler thread (Fixes problem with running mysqld with --debug)
Removed warning when setting an AUTO_INCREMENT field to NULL
2002-08-21 22:04:22 +03:00
monty@hundin.mysql.fi
48e20a0be2 Portability fixes for HPUX and Openbsd 2002-08-18 16:07:19 +03:00
monty@hundin.mysql.fi
a5edb20042 Fixed timing problem with rpl000001 replication test.
Fixed configure problems with HPUX and openbsd
SHOW SLAVE STATUS returns empty set if slave is not initialized
SHOW MASTER STATUS returns empty set if binary logging is not enabled.
Fixed shutdown problem on Solaris.
2002-08-18 16:04:26 +03:00
monty@hundin.mysql.fi
b9d7fcd279 Fixed bug in SAFEMALLOC for systems that requires longlong data to be aligned on 8 byte boundaries (like sparc)
Removed thread marking of safemalloc blocks (becasue of alignment problems)
Temporary fix for bigint comparison.
2002-08-17 05:18:06 +03:00
monty@hundin.mysql.fi
339be73c05 Merge hundin.mysql.fi:/my/mysql-3.23
into hundin.mysql.fi:/my/bk/mysql-4.0
2002-08-17 00:43:39 +03:00
monty@hundin.mysql.fi
65334e1c58 Fix for HPUX 11 and pthread_mutex_lock 2002-08-16 16:50:57 +03:00
lenz@mysql.com
f321098ad2 - Tagged 3.23.52 release
- Added 3.23.53 News section to the manual
 - Updated version number in configure.in to 3.23.53
2002-08-16 11:04:50 +02:00
serg@sergbook.mysql.com
545f616154 Merge sergbook.mysql.com:/usr/home/serg/Abk/mysql
into sergbook.mysql.com:/usr/home/serg/Abk/mysql-4.0
2002-08-13 21:15:14 +02:00
serg@sergbook.mysql.com
9a52c01ede disable "dvi" target in TeX is not installed 2002-08-13 15:18:11 +02:00
monty@hundin.mysql.fi
8be1cdeb89 merge 2002-08-08 12:05:18 +03:00
monty@hundin.mysql.fi
a31406e34e Fix for Intel compiler (ecc)
Minor cleanups to other patches.
Make --temp-pool default
2002-08-08 03:14:44 +03:00
monty@hundin.mysql.fi
842e8fca83 Backported pthread_mutex_trylock code from MySQL 4.0 to fix problem on HPUX.
Removed Heikki's patch for handling this.
2002-08-06 17:15:51 +03:00
heikki@hundin.mysql.fi
01bed722c7 my_pthread.h, configure.in:
In HP-UX-10.20, but not in HP-UX-11.0, the return value of pthread_mutex_trylock is inverted
2002-08-06 12:32:56 +03:00
monty@mashka.mysql.fi
bc035c71f1 Merge with 3.23.51
Fixed wrong usage of sprintf() in ha_innodb.cc
2002-07-25 22:46:28 +03:00
monty@mashka.mysql.fi
dddc20d9d1 New SET syntax & system variables.
Made a some new buffers thread specific and changeable.
Resize of key_buffer.
AUTO_COMMIT -> AUTOCOMMIT
Fixed mutex bug in DROP DATABASE
Fixed bug when using auto_increment as second part of a key where first part could include NULL.
Split handler->extra() to extra() and extra_opt() to be able to support thread specific buffers.
Don't write message to error log when slave reconnects becasue of timeout.
Fixed possible update problem when using DELETE/UPDATE on small tables
(In some cases we used index even if table scanning would be better)
A lot of minior code cleanups
2002-07-23 18:31:22 +03:00
bar@bar.udmsearch.izhnet.ru
b71345b73e In my previous commit I didn't notice that we already have brazilian portuguese :( 2002-07-16 17:18:54 +05:00
bar@bar.udmsearch.izhnet.ru
0fd580a7f7 Adding pt_br 2002-07-16 16:55:22 +05:00
lenz@mysql.com
3258f23d99 - Updated OS/2 port with files provided by Yuri Dario <mc6530@mclink.it>
from TeamOS/2 Italy
- removed some obsolete files on Yuri's request
- Added missing os2 related files outside the os2 subdirectory
  to the distribution
2002-07-15 18:26:11 +02:00
monty@hundin.mysql.fi
f87efa928b Update for running gcc 3.x (mainly on HPUX)
Portability fixes for HPUX
Rename of CHECK_LOCK to IS_FREE_LOCK
Apply lower_case_table_names also to databases
Cleanup of describe code
Don't allow \ in database names
2002-06-30 18:57:21 +03:00
monty@hundin.mysql.fi
8fa3c789f6 Added support for semaphores in mysys.
(Needed for query cache for systems which doesn't have native semaphores)
2002-06-29 00:16:15 +03:00
lenz@mysql.com
eb4ac4a154 Removed file include/getopt.h and added missing files to
include/Makefile.am to resolve broken dependencies in "make distcheck"

Added -DHAVE_BROKEN_REALPATH to the Mac OS X (darwin) compile options in
configure.in
2002-06-23 17:42:29 +02:00
lenz@mysql.com
6504a3933e Added -DHAVE_BROKEN_REALPATH to the Mac OS X (darwin) compile options in
configure.in
2002-06-21 23:54:01 +02:00
monty@hundin.mysql.fi
005cb98260 Removed fix that broke compilation when not using mit-pthreads 2002-06-20 15:29:47 +03:00
monty@hundin.mysql.fi
89f8978731 Fixed some bugs after last merge
Added semaphore support to MIT-pthreads.
2002-06-20 15:25:02 +03:00
bar@gw.udmsearch.izhnet.ru
f4f4962d4d UCS2 charset has been added 2002-06-17 22:43:40 +05:00
lenz@mysql.com
b96e315bcf Bump up version number to 3.23.52 in configure.in since version 3.23.51
has finally been released
2002-06-17 11:41:08 +02:00
jcole@mugatu.spaceapes.com
c8d52637c0 Merge jcole@work.mysql.com:/home/bk/mysql-4.0
into mugatu.spaceapes.com:/home/jcole/bk/mysql-4.0
2002-06-08 23:08:15 -05:00
bar@gw.udmsearch.izhnet.ru
b62fafaa15 configure.in:
changed version number
2002-06-05 21:16:18 +05:00
monty@hundin.mysql.fi
f0b28da6f9 merge with 4.0 2002-06-03 12:59:31 +03:00
monty@hundin.mysql.fi
544f95c451 merge with 3.23 2002-06-02 20:46:03 +03:00
monty@hundin.mysql.fi
cde8c0edb7 Fixed bug in wait_for_relay_log_space()
Added checking of sem_init() in configure.
2002-06-02 17:04:16 +03:00
monty@hundin.mysql.fi
e2a116411e Portability fixes for SCO and HPUX
Change TRUNCATE(number) to truncate towards zero for negative numbers
Fix NULL handling for DESCRIBE table_name
2002-05-31 15:22:38 +03:00
jcole@mugatu.spaceapes.com
8d487e3be6 Merge jcole@work.mysql.com:/home/bk/mysql-4.0
into mugatu.spaceapes.com:/home/jcole/bk/mysql-4.0
2002-05-24 15:20:24 -05:00
monty@hundin.mysql.fi
3c5f7494f7 merge to 3.23.51 2002-05-20 12:48:08 +03:00
lenz@mysql.com
bff796ebdc Added os2 source directory to source distribution
(thanks to Yuri Dario <mc6530@mclink.it> for pointing this out)
2002-05-17 12:01:04 +02:00
monty@hundin.mysql.fi
f5ed8784a2 merge with 3.23.51 2002-05-16 18:20:49 +03:00
lenz@mysql.com
0fe3b5afbd Fixed sql_yacc.yy to be compatible with bison 1.31 and above.
Made detection of GNU tar a bit more flexible.
Only use /usr/local/mysql-glibc if it actually exists
2002-05-15 11:06:44 +02:00
jcole@mugatu.spaceapes.com
5990c1910a Aesthetic cleanups to acinclude.m4 and configure.in. 2002-05-12 03:41:30 -05:00
lenz@mysql.com
284633077b Re-added the missing comma as required by the manual style guide 2002-05-03 20:25:03 +02:00
lenz@mysql.com
041238d7bd Added "gnutar" to the TARs to check for, since this seems to be
how it's named on Mac OS X (thanks to Paul DuBois <paul@snake.net> 
for the hint)
2002-05-03 20:13:30 +02:00
lenz@mysql.com
818af46d6c Reworked the RPM spec file and added several fixes to make the
build scripts work again.
2002-05-03 12:31:25 +02:00
monty@hundin.mysql.fi
e90c6b481d Fixed problems with DECIMAL() type on overflow. 2002-05-02 18:04:21 +03:00
lenz@mysql.com
1c2d9adbea Fixed a typo and the wording of the message that is being displayed after "configure" has run 2002-04-26 17:52:50 +02:00
monty@hundin.mysql.fi
727122aadd merge 2002-04-25 01:16:42 +03:00
bar@gw.udmsearch.izhnet.ru
cf5e0d3394 Fix to use Monty's changes in frm format
Enable latin1 by default
2002-04-18 14:08:38 +05:00
bar@gw.udmsearch.izhnet.ru
00dee51604 New win1250ch charset 2002-04-17 14:16:26 +05:00
monty@hundin.mysql.fi
fadcf27995 Removed wrong configure line from configure.in 2002-04-17 09:26:47 +03:00
monty@tik.mysql.fi
7258bf9357 Cleanup of pthread_cond_timedwait for HPUX 2002-04-17 08:59:48 +03:00
Sinisa@sinisa.nasamreza.org
9fc8200249 Small fix for HP-UX 10.20 with DCE threads
Also --with-libwrap is tested on Linux just fine.
2002-04-16 21:19:00 +03:00
bar@gw.udmsearch.izhnet.ru
8001e7a28e Somebody made a bug here: one line disappeared 2002-04-15 20:01:16 +05:00
bell@sanja.is.com.ua
fc1fd8f4ed query cache code can be excluded from server 2002-04-15 16:00:05 +03:00
monty@hundin.mysql.fi
b5a145d872 merge 2002-04-13 15:34:39 +03:00
monty@hundin.mysql.fi
6e247490dc Merge 2002-04-02 19:46:26 +03:00
monty@hundin.mysql.fi
2e2b146ba5 Fix for HAVE_QUERY_CACHE
Remove not used flag CLIENT_CHANGE_USER
2002-04-02 19:10:55 +03:00
monty@hundin.mysql.fi
dfd7f455e4 Fixed help typos in mysql.cc 2002-04-02 17:42:01 +03:00
Sinisa@sinisa.nasamreza.org
501e70484d Fix for small tipo 2002-03-30 14:11:00 +02:00
bar@gw.udmsearch.izhnet.ru
55e0a9cb01 New UTF8 charset 2002-03-28 17:31:46 +04:00
monty@hundin.mysql.fi
2faee46284 merge (remove conflicting zip files) 2002-03-27 06:44:23 +02:00
monty@hundin.mysql.fi
727e507bca merge with 3.23.50 2002-03-27 01:56:10 +02:00
monty@hundin.mysql.fi
ce541b292a support for unsigned FLOAT/DOUBLE 2002-03-27 00:50:54 +02:00
monty@hundin.mysql.fi
beedaf26ec Move test of gcc 3.0 from BUILD to configure 2002-03-26 11:40:18 +02:00
monty@hundin.mysql.fi
3711f519d5 Portability fixes 2002-03-25 23:08:15 +02:00
monty@hundin.mysql.fi
1b7a55f987 Print compiler version
Optimize for pentiumpro for RPM's.
2002-03-25 21:23:30 +02:00
monty@hundin.mysql.fi
ca55d0c2b0 Fixed that RPM can be recompiled even if there is not another glibc in /usr/local/mysql-glibc 2002-03-25 18:10:34 +02:00
bell@sanja.is.com.ua
8a7cd0e4df making rpl000001 working 2002-03-23 21:00:58 +02:00
bell@sanja.is.com.ua
c5d95b5e62 added building without query cache 2002-03-22 22:55:08 +02:00
monty@hundin.mysql.fi
70099b2143 Fix for load data infile when no active database
Fix for Solaris and gethostbyname_r
2002-03-22 01:03:34 +02:00
bar@gw.udmsearch.izhnet.ru
5da75998cd Fixed that selected default charset was not compiled in some cases 2002-03-20 16:53:43 +04:00
bar@gw.udmsearch.izhnet.ru
1ebab2be72 Configure.in/Makefile.in charset related things are now earier to maintain
Fixes in charset related C++ code
2002-03-19 20:03:10 +04:00
monty@hundin.mysql.fi
e6b9734e0a merge 2002-03-12 12:21:51 +02:00
monty@hundin.mysql.fi
a01775c5eb Added help for --local-infile
Fix for bug on intel where (int32) 1 << 32 == 1, which gave problems when using 32 keys.
Allow SET PASSWORD for anonymous user
2002-03-12 11:38:22 +02:00
monty@hundin.mysql.fi
e9ba8d58fe merge 2002-03-06 23:41:18 +02:00
monty@hundin.mysql.fi
3546200169 merge 2002-03-06 22:16:29 +02:00
monty@hundin.mysql.fi
ed8fc0b0c6 Fix for --enable-local-infile 2002-03-06 22:06:18 +02:00
monty@hundin.mysql.fi
fa38c84be7 merge 2002-03-06 19:53:31 +02:00
bar@gw.udmsearch.izhnet.ru
a518b9f326 Charsets related things are prepared by configure in new way.
This is to simplify maintaining charsets, especially changing
CHARSET_INFO structure.
2002-03-06 17:44:43 +04:00
monty@tik.mysql.fi
c1ab560c3d Corrected fix for not freed memory when using corrupted tables 2002-03-05 17:38:16 +02:00
monty@tik.mysql.fi
cde0896521 Merge hundin:/my/mysql-3.23 into tik.mysql.fi:/home/my/mysql-3.23 2002-03-05 15:49:34 +02:00
monty@tik.mysql.fi
539718ba25 Update scripts for new POSIX spec
Fix for --enable-local-infile
Portability fix for bison
2002-03-05 15:46:30 +02:00
bar@gw.udmsearch.izhnet.ru
58018a7c11 New armscii8 charset 2002-03-04 15:31:22 +04:00
sasha@mysql.sashanet.com
f59809c85a load local fix
overrun sentry in my_vsnprintf() test
will not be pushed yet
2002-03-02 12:45:44 -07:00
sasha@mysql.sashanet.com
aa67831207 merged from 3.23 to pull the LOAD DATA INFILE fix as rpl000001 was failing.
Let's hope this did not break anything. Will not push this one until Monty
gets back
2002-03-01 19:36:46 -07:00
sasha@mysql.sashanet.com
8c01c96f90 updated version 2002-02-23 16:08:04 -07:00
sasha@mysql.sashanet.com
21cf70e9e0 updates for the new build 2002-02-15 14:02:48 -07:00
monty@hundin.mysql.fi
e070e9a01f merge with 3.23.49 2002-02-14 18:58:24 +02:00
monty@hundin.mysql.fi
15e9ca785a Fix for gethostbyname_r detection (for solaris). 2002-02-14 18:10:44 +02:00
monty@tik.mysql.fi
1f9b1e1915 Made LOAD DATA LOCAL INFILE more secure 2002-02-13 21:53:26 +02:00
monty@hundin.mysql.fi
28670e4757 Fixed typo 2002-02-11 13:28:25 +02:00
monty@hundin.mysql.fi
d36ac6b669 Fix some bugs introduced with the new my_getopt
Added counting of rollback's and commits
Fixed bug in 'SELECT 0 LIMIT 0'
Fixed bug in 'SELECT SQL_CALC_FOUND_ROWS'
2002-02-08 03:21:34 +02:00
monty@hundin.mysql.fi
d713fee16b Update to autoconf 2.52
Fix of InnoDB variables in SHOW VARIABLES
Fix for ALTER TABLE and InnoDB
2002-02-07 21:34:35 +02:00
monty@hundin.mysql.fi
be46289855 New error messages
Test of unsigned BIGINT values
Fixes for queries-per-hour
Cleanup of replication code (comments and portability fixes)
Make most of the binary log code 4G clean
Changed syntax for GRANT ... QUERIES PER HOUR
2002-01-29 18:32:16 +02:00
monty@hundin.mysql.fi
b9d3a55238 Update needed for SuSE 7.3
Update for autoconf 2.52
2002-01-26 01:19:47 +02:00
monty@hundin.mysql.fi
4b877e0088 Added macros for nice TIMESPEC usage.
Fixes for building MySQL with gcc 3.0
Added SIGNED / UNSIGNED casts
Fixed core dump bug in net_clear() with libmysqld.
Back to using semaphores in query cache.
Added 'Null' and 'Index_type' to SHOW INDEX.
2002-01-02 21:29:41 +02:00
monty@hundin.mysql.fi
89f8ca058e Removed Heikki's changes to the manual that was meant for 4.0 2002-01-02 14:12:37 +02:00
monty@hundin.mysql.fi
0048a58f03 Updated benchmarks
Portability fixes.
Fixed bug in mysqlbinlog when detecting binary log version
2001-12-18 05:34:00 +02:00
monty@hundin.mysql.fi
4dbd9e061c Lots of portability fixes.
Fixed shutdown on HPUX.
Fixed bug in query cache.
2001-12-17 03:02:58 +02:00
monty@hundin.mysql.fi
4bd55bc339 Upgrade version number 2001-12-05 23:25:48 +02:00
monty@hundin.mysql.fi
5738117970 Fix race condition in ANALYZE TABLE.
Fixed bug where one got an empty set instead of a DEADLOCK error when using BDB tables.
2001-11-26 02:16:38 +02:00
monty@hundin.mysql.fi
fb1f8c4f0a Fixed bug in OPTIMIZE TABLE that reset index cardinality if it
was up to date.
2001-11-18 14:08:17 +02:00
monty@hundin.mysql.fi
29c527cf8d Fix wrong memory allocation in SHOW OPEN TABLES 2001-11-08 00:43:27 +02:00
monty@hundin.mysql.fi
fd0780493d merge with 3.23.44 2001-11-04 16:14:09 +02:00
monty@hundin.mysql.fi
ccce9d031f Added STDCALL to mysql_sever and mysql_thread variables
Merged error messages with 3.23.44
Fixed bug with DATA DIRECTORY on windows
2001-11-03 21:33:11 +02:00
monty@hundin.mysql.fi
daa4229a3d Portability fixes. 2001-11-02 07:42:28 +02:00
monty@hundin.mysql.fi
d89690e606 Portability fixes
Fix for consistent 0000-00-00 date handling
Close + open binary logs on flush tables
Fix for AVG() in HAVING.
2001-10-31 18:27:49 +02:00
monty@hundin.mysql.fi
e05b83921d merge 2001-10-10 02:58:47 +03:00
monty@hundin.mysql.fi
06e719b7cc Remved Gemini code. 2001-10-10 02:50:28 +03:00
tim@black.box
c0cd0f484a Add --without-isam configure switch.
Portability fix for mysqlmanager.
2001-10-09 18:11:44 -04:00
monty@hundin.mysql.fi
62c8014171 Fixed some build problems.
Fix that compressed packets and normal packets looks indentical before calling net_real_write()
(Needed for query cache)
Optimize IS NULL handling
2001-10-04 02:44:18 +03:00
monty@hundin.mysql.fi
5293d2ea2d Fix for make dist 2001-09-29 05:14:09 +03:00
monty@hundin.mysql.fi
021aa7caac Fixes for RPM build 2001-09-29 00:44:23 +03:00
monty@hundin.mysql.fi
a99b7e77cd Update version number 2001-09-28 14:34:52 +03:00