Below is the list of changes that have just been committed into a local
4.0 repository of Sinisa. When Sinisa does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://www.mysql.com/doc/I/n/Installing_source_tree.html
ChangeSet@xxxxxx, 2002-10-25 22:59:49+03:00, Sinisa@xxxxxxxxxxxxxxxxxxxx
some code cleanup
mysql-test/r/sel000100.result
1.9 02/10/25 22:59:48 Sinisa@xxxxxxxxxxxxxxxxxxxx +45 -0
some code cleanup
mysql-test/t/sel000100.test
1.10 02/10/25 22:59:48 Sinisa@xxxxxxxxxxxxxxxxxxxx +34 -0
some code cleanup
sql/sql_select.cc
1.200 02/10/25 22:59:48 Sinisa@xxxxxxxxxxxxxxxxxxxx +1 -1
some code cleanup
Docs/manual.texi
1.1234 02/10/25 22:59:47 Sinisa@xxxxxxxxxxxxxxxxxxxx +3 -0
some code cleanup
# This is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: Sinisa
# Host: sinisa.nasamreza.org
# Root: /mnt/work/mysql-4.0
--- 1.1233/Docs/manual.texi Sun Oct 20 09:06:19 2002
+++ 1.1234/Docs/manual.texi Fri Oct 25 22:59:47 2002
@@ -50815,6 +50815,9 @@
@appendixsubsec Changes in release 4.0.5
@itemize
@item
+Removed a condition that temp table with index on column that can be NULL has
+to be MyISAM. This was OK for 3.23, but not needed in 4.*
+@item
Small code improvement in multi-table updates
@item
Fixed a newly introduced bug that caused @code{ORDER BY ... LIMIT #}
--- 1.199/sql/sql_select.cc Wed Oct 16 12:32:32 2002
+++ 1.200/sql/sql_select.cc Fri Oct 25 22:59:48 2002
@@ -3708,7 +3708,7 @@
*blob_field= 0; // End marker
/* If result table is small; use a heap */
- if (blob_count || using_unique_constraint || group_null_items ||
+ if (blob_count || using_unique_constraint ||
(select_options & (OPTION_BIG_TABLES | SELECT_SMALL_RESULT)) ==
OPTION_BIG_TABLES)
{
--- 1.8/mysql-test/r/sel000100.result Thu Oct 11 03:59:44 2001
+++ 1.9/mysql-test/r/sel000100.result Fri Oct 25 22:59:48 2002
@@ -26,3 +26,48 @@
key_link_id link
NULL NULL
drop table t1,t2;
+CREATE TABLE t1 (d datetime default NULL) TYPE=MyISAM;
+INSERT into t1 VALUES ('2002-10-24 14:50:32');
+INSERT into t1 VALUES ('2002-10-24 14:50:33');
+INSERT into t1 VALUES ('2002-10-24 14:50:34');
+INSERT into t1 VALUES ('2002-10-24 14:50:34');
+INSERT into t1 VALUES ('2002-10-24 14:50:34');
+INSERT into t1 VALUES ('2002-10-24 14:50:35');
+INSERT into t1 VALUES ('2002-10-24 14:50:35');
+INSERT into t1 VALUES ('2002-10-24 14:50:35');
+INSERT into t1 VALUES ('2002-10-24 14:50:35');
+INSERT into t1 VALUES ('2002-10-24 14:50:36');
+INSERT into t1 VALUES ('2002-10-24 14:50:36');
+INSERT into t1 VALUES ('2002-10-24 14:50:36');
+INSERT into t1 VALUES ('2002-10-24 14:50:36');
+INSERT into t1 VALUES ('2002-10-24 14:50:36');
+INSERT into t1 VALUES ('2002-10-24 14:50:36');
+INSERT into t1 VALUES ('2002-10-24 14:50:37');
+INSERT into t1 VALUES ('2002-10-24 14:50:37');
+INSERT into t1 VALUES ('2002-10-24 14:50:37');
+INSERT into t1 VALUES ('2002-10-24 14:50:37');
+INSERT into t1 VALUES ('2002-10-24 14:50:37');
+INSERT into t1 VALUES ('2002-10-24 14:50:37');
+INSERT into t1 VALUES ('2002-10-24 14:50:38');
+INSERT into t1 VALUES ('2002-10-24 14:50:38');
+INSERT into t1 VALUES ('2002-10-24 14:50:38');
+INSERT into t1 VALUES ('2002-10-24 14:50:39');
+INSERT into t1 VALUES ('2002-10-24 14:50:39');
+INSERT into t1 VALUES ('2002-10-24 14:50:39');
+INSERT into t1 VALUES ('2002-10-24 14:50:39');
+INSERT into t1 VALUES ('2002-10-24 14:50:40');
+INSERT into t1 VALUES ('2002-10-24 14:50:40');
+INSERT into t1 VALUES (NULL);
+select * from t1 group by d;
+d
+NULL
+2002-10-24 14:50:32
+2002-10-24 14:50:33
+2002-10-24 14:50:34
+2002-10-24 14:50:35
+2002-10-24 14:50:36
+2002-10-24 14:50:37
+2002-10-24 14:50:38
+2002-10-24 14:50:39
+2002-10-24 14:50:40
+drop table if exists t1;
--- 1.9/mysql-test/t/sel000100.test Thu Oct 11 03:59:43 2001
+++ 1.10/mysql-test/t/sel000100.test Fri Oct 25 22:59:48 2002
@@ -29,3 +29,37 @@
ORDER BY link;
drop table t1,t2;
+CREATE TABLE t1 (d datetime default NULL) TYPE=MyISAM;
+INSERT into t1 VALUES ('2002-10-24 14:50:32');
+INSERT into t1 VALUES ('2002-10-24 14:50:33');
+INSERT into t1 VALUES ('2002-10-24 14:50:34');
+INSERT into t1 VALUES ('2002-10-24 14:50:34');
+INSERT into t1 VALUES ('2002-10-24 14:50:34');
+INSERT into t1 VALUES ('2002-10-24 14:50:35');
+INSERT into t1 VALUES ('2002-10-24 14:50:35');
+INSERT into t1 VALUES ('2002-10-24 14:50:35');
+INSERT into t1 VALUES ('2002-10-24 14:50:35');
+INSERT into t1 VALUES ('2002-10-24 14:50:36');
+INSERT into t1 VALUES ('2002-10-24 14:50:36');
+INSERT into t1 VALUES ('2002-10-24 14:50:36');
+INSERT into t1 VALUES ('2002-10-24 14:50:36');
+INSERT into t1 VALUES ('2002-10-24 14:50:36');
+INSERT into t1 VALUES ('2002-10-24 14:50:36');
+INSERT into t1 VALUES ('2002-10-24 14:50:37');
+INSERT into t1 VALUES ('2002-10-24 14:50:37');
+INSERT into t1 VALUES ('2002-10-24 14:50:37');
+INSERT into t1 VALUES ('2002-10-24 14:50:37');
+INSERT into t1 VALUES ('2002-10-24 14:50:37');
+INSERT into t1 VALUES ('2002-10-24 14:50:37');
+INSERT into t1 VALUES ('2002-10-24 14:50:38');
+INSERT into t1 VALUES ('2002-10-24 14:50:38');
+INSERT into t1 VALUES ('2002-10-24 14:50:38');
+INSERT into t1 VALUES ('2002-10-24 14:50:39');
+INSERT into t1 VALUES ('2002-10-24 14:50:39');
+INSERT into t1 VALUES ('2002-10-24 14:50:39');
+INSERT into t1 VALUES ('2002-10-24 14:50:39');
+INSERT into t1 VALUES ('2002-10-24 14:50:40');
+INSERT into t1 VALUES ('2002-10-24 14:50:40');
+INSERT into t1 VALUES (NULL);
+select * from t1 group by d;
+drop table if exists t1;
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail internals-thread5159@xxxxxxxxxxxxxxx
To unsubscribe, e-mail <internals-unsubscribe@xxxxxxxxxxxxxxx>
|