Commit graph

8766 commits

Author SHA1 Message Date
jani@a193-229-222-105.elisa-laajakaista.fi
8ad3b9961b Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-4.0
into  a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-4.0
2005-11-22 10:35:34 +02:00
ingo@mysql.com
1aa15c25c7 Merge mysql.com:/home/mydev/mysql-4.0-bug14397
into  mysql.com:/home/mydev/mysql-4.0-4000
2005-11-15 16:47:15 +01:00
ingo@mysql.com
1f3df2e669 Bug#14616 - Freshly imported table returns error 124 when using LIMIT
Initialized usable_keys from table->keys_in_use instead of ~0
in test_if_skip_sort_order(). It was possible that a disabled
index was used for sorting.
2005-11-07 12:16:49 +01:00
ingo@mysql.com
1b99d30c23 Bug#14397 - OPTIMIZE TABLE with an open HANDLER causes a crash
Version for 4.0.
It fixes two problems:
1. The cause of the bug was that we did not check the table version for
   the HANDLER ... READ commands. We did not notice when a table was
   replaced by a new one. This can happen during ALTER TABLE, REPAIR
   TABLE, and OPTIMIZE TABLE (there might be more cases). I call the fix
   for this problem "the primary bug fix".
2. mysql_ha_flush() was not always called with a locked LOCK_open.
   Though the function comment clearly said it must.
   I changed the code so that the locking is done when required. I call
   the fix for this problem "the secondary fix".
2005-11-03 18:24:12 +01:00
jani@ua141d10.elisa.omakaista.fi
8243eee9db Added test-force to Makefile. 2005-11-03 11:47:54 +02:00
jani@ua141d10.elisa.omakaista.fi
2476aa5a70 Added new build script for pentium64. 2005-11-03 11:19:06 +02:00
jani@ua141d10.elisa.omakaista.fi
d03662cd37 Changed mysql-test-run to correspond to the one in 5.0 tree. 2005-11-03 11:05:52 +02:00
jani@a193-229-222-105.elisa-laajakaista.fi
28cb5aefcf NetWare specific change to use a LibC API instead of a
kernel function to prevent CPU hogs.
2005-10-28 14:01:00 +03:00
mysqldev@mysql.com
b3263c032e - cleanup: removed the empty NEW-RPMS directory and all references
- cleanup: removed obsolete support-files/MacOSX/make_mysql_pkg.pl
   script (we now use Do-pkg for building OS X packages)
2005-10-27 18:32:14 +02:00
lenz@mysql.com
f793d7b5bf - Removed obsolete and outdated man page files from the man
directory - these files are now maintained in the mysqldoc
   repository and included in the source distribution during the
   release build. Updated the configure.in script and Makefiles to
   create the man page file list at build time
 - Updated the file list in the RPM spec file to include all currently
   available man pages (this can not be done with wildcards, as
   the man pages are spread across several subpackages. However, RPM
   warns about unpackaged files, so newly added man pages can be 
   spotted)
2005-10-27 14:51:58 +02:00
kent@mysql.com
983b7ad153 Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-4.0
into mysql.com:/Users/kent/mysql/bk/mysql-4.0
2005-10-25 23:52:18 +02:00
jani@ua141d10.elisa.omakaista.fi
3e599c0907 Imported fixes from 4.1 and 5.0 to 4.0. 2005-10-25 16:56:25 +03:00
kent@mysql.com
4e44fead18 Merge mysql.com:/Users/kent/mysql/bk/mysql-4.0-build-thread
into mysql.com:/Users/kent/mysql/bk/mysql-4.0
2005-10-25 02:29:08 +02:00
kent@mysql.com
257b17ba2f Makefile.am:
Option to set environment variable MTR_BUILD_THREAD to a small
  number, from what mysql-test-run calculate port numbers that
  will not conflict with other runs with different thread num
2005-10-25 02:27:55 +02:00
evgen@moonbone.local
40f8a8ff3e Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-4.0
into moonbone.local:/work/13855-bug-4.0-mysql
2005-10-14 03:12:32 +04:00
evgen@moonbone.local
aff8dbe130 Fix bug #13855 select distinct with group by caused server crash
DISTINCT wasn't optimized away and caused creation of tmp table in wrong
case. This result in integer overrun and running out of memory.

Fix backported from 4.1. Now if optimizer founds that in result be only 1
row it removes distinct.
2005-10-14 01:22:24 +04:00
lenz@mysql.com
07a910e9fe Merge lgrimmer@bk-internal.mysql.com:/home/bk/mysql-4.0
into mysql.com:/space/my/mysql-4.0
2005-10-13 22:29:29 +02:00
lenz@mysql.com
c93927eef0 - added a usermod call in the postinstall section of the RPM spec file
to assign a potential existing mysql user to the correct user group (BUG#12823)
2005-10-13 22:10:54 +02:00
monty@mysql.com
0f9a3c1cf9 Merge bk-internal.mysql.com:/home/bk/mysql-4.0
into  mysql.com:/home/my/mysql-4.0
2005-10-13 17:42:15 +03:00
monty@mysql.com
144c873e39 Review of new pushed code
- No need to check *ref when ref is checked (Simple optimization fix)
2005-10-13 17:41:55 +03:00
hf@deer.(none)
c933505d2d Fix for bug #3874 (Group by field is not considered) 2005-10-13 19:23:52 +05:00
ramil@mysql.com
58c64aea92 memcpy_overlap() removed, as
1. it's wrong to use memcpy() for overlapped areas;
  2. we use it only once.
During merge to 4.1 will remove a memcpy_overlap() call 
from strings/ctype-tis620.c as well in order to fix 
bug #10836: ctype_tis620 test failure with ICC-compiled binaries on IA64.
2005-10-12 18:50:25 +05:00
lenz@mysql.com
16b0bc39aa Merge mysql.com:/space/my/mysql-4.0
into mysql.com:/space/my/mysql-4.0-build
2005-10-11 22:30:37 +02:00
lenz@mysql.com
8782f5a0e3 - added Docs/manual.chm to the windows source distribution (BUG#13899) 2005-10-11 21:16:08 +02:00
evgen@moonbone.local
1b15a2d482 Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-4.0
into moonbone.local:/work/7672-bug-4.0-mysql
2005-10-09 23:12:12 +04:00
evgen@moonbone.local
6bfc2d4b89 Fix bug#7672 Unknown column error in order clause
When fixing Item_func_plus in ORDER BY clause field c is searched in all
opened tables, but because c is an alias it wasn't found there.

This patch adds a flag to select_lex which allows Item_field::fix_fields() 
to look up in select's item_list to find aliased fields.
2005-10-09 23:05:44 +04:00
marko@hundin.mysql.fi
d62b9f4b4b InnoDB: Display an error message in /* */ comments
in SHOW CREATE TABLE if a temporary file cannot be created.
(Bug #13002)
2005-10-03 17:46:27 +03:00
ingo@mysql.com
dec9e7bb48 Merge mysql.com:/home/mydev/mysql-4.0
into  mysql.com:/home/mydev/mysql-4.0-4000
2005-09-29 15:08:51 +02:00
lenz@mysql.com
443048f61c - fixed the removing of the RPM_BUILD_ROOT in the %clean section of the RPM
spec file (the $RBR variable did not get expanded, thus leaving old build
   roots behind)
2005-09-29 13:55:54 +02:00
ingo@mysql.com
1af69fca94 Bug#9112 - Merge table with composite index producing invalid results with some queries
Second platform fix for floating point rounding.
2005-09-29 13:37:30 +02:00
ingo@mysql.com
d005299a57 Bug#9112 - Merge table with composite index producing invalid results with some queries
Reduced the precision of the test numbers.
Not all platforms could reproduce the exact numbers.
2005-09-27 15:26:16 +02:00
ingo@mysql.com
4025d2965b Bug#9112 - Merge table with composite index producing invalid results with some queries
The problem was an ab-use of last_rkey_length.
Formerly we saved the packed key length (of the search key)
in this element. But in certain cases it got replaced by 
the (packed) result key length.
Now we use a new element of MI_INFO to save the packed key 
length of the search key.
2005-09-23 10:15:11 +02:00
jani@a193-229-222-105.elisa-laajakaista.fi
a8bdf632d3 Fixed Bug#13275 mysqltest empty file bug 2005-09-19 18:45:22 +03:00
paul@snake-hub.snake.net
e142347c89 .del-which.2~463417adb2e37122:
Delete: man/which.2
2005-09-18 13:16:32 -05:00
monty@mysql.com
444dbfaf17 Turn off EOLN_NATIVE flag for all test files
Ignored some generated files
2005-09-15 17:14:39 +03:00
ingo@mysql.com
7314307762 Bug#12920 - key_read_requests counter appears to re-set
Enlarged the counter variables to ulonglong.
2005-09-14 09:56:49 +02:00
ingo@mysql.com
e31c488d6d Bug#12845 - Stress test: Server crashes on CREATE .. SELECT statement
Solution for 4.0 and 4.1.
If the caller cannot re-open table(s), it gives a NULL
'refresh' argument to open_table(). We used to ignore
flushes then. Now we ignore drops too.
2005-09-13 20:19:59 +02:00
paul@kite-hub.kitebird.com
7e03e3c88b Merge kite-hub.kitebird.com:/src/extern/MySQL/bk/mysql-4.0
into  kite-hub.kitebird.com:/tmp/merge-4.0
2005-09-12 12:47:31 -05:00
paul@kite-hub.kitebird.com
7240863009 README:
Update README (2nd try)
2005-09-12 12:44:13 -05:00
joerg@mysql.com
1b2bd746e8 Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-4.0
into mysql.com:/M40/mysql-4.0
2005-09-08 12:57:33 +02:00
joerg@mysql.com
54ceb62b8d Merge mysql.com:/M40/clone-4.0 into mysql.com:/M40/upward-4.0 2005-09-08 11:04:43 +02:00
kent@mysql.com
c364baff71 configure.in:
Flag -DHAVE_DARWIN_THREADS not needed for darwin9
2005-09-08 03:06:49 +02:00
hartmut@mysql.com
1e2088b6d4 Merge hholzgraefe@bk-internal.mysql.com:/home/bk/mysql-4.0
into  mysql.com:/home/hartmut/projects/mysql/dev/4.0
2005-09-08 01:08:02 +02:00
SergeyV@selena.
72d3e0ca1b Fixes a problem with patch 1.2140, that prevented libmysqld
to be built successfully.
2005-09-06 22:56:16 +04:00
SergeyV@selena.
68dee5cd27 Merge svlasenko@bk-internal.mysql.com:/home/bk/mysql-4.0
into  selena.:H:/MYSQL/src/#05588-mysql-4.0
2005-09-06 19:46:11 +04:00
hartmut@mysql.com
14485e71c2 fix for BUG#12958 : mysqlimport with -L option crashing on HP-UX 2005-09-02 22:52:52 +02:00
kent@mysql.com
5b65d8fb03 my_global.h:
Back port of QNX work around for rint()
2005-09-02 11:11:29 +02:00
kent@mysql.com
5e5184752d configure.in:
Back port of code to find the right 'ps' settings
2005-09-02 10:44:20 +02:00
joerg@mysql.com
541b65ef64 Merge mysql.com:/M40/raymond-4.0 into mysql.com:/M40/mysql-4.0 2005-09-01 22:23:09 +02:00
joerg@mysql.com
0a2e013c9d Add "MYSQL_BASE_VERSION" to the list of substituted variables in the "scripts" subdirectory. 2005-09-01 20:01:21 +02:00