Below is the list of changes that have just been committed into a local
5.0 repository of ram. When ram 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://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet
1.2025 06/02/03 12:34:25 ramil@stripped +1 -0
Merge rkalimullin@stripped:/home/bk/mysql-5.0
into mysql.com:/usr/home/ram/work/5.0.b16511
sql/sql_prepare.cc
1.169 06/02/03 12:34:16 ramil@stripped +0 -0
Auto merged
# 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: ramil
# Host: myoffice.izhnet.ru
# Root: /usr/home/ram/work/5.0.b16511/RESYNC
--- 1.168/sql/sql_prepare.cc 2006-01-26 13:15:39 +04:00
+++ 1.169/sql/sql_prepare.cc 2006-02-03 12:34:16 +04:00
@@ -2066,14 +2066,19 @@ void reinit_stmt_before_use(THD *thd, LE
sl->exclude_from_table_unique_test= FALSE;
/*
- Copy WHERE clause pointers to avoid damaging they by optimisation
+ Copy WHERE, HAVING clause pointers to avoid damaging them by optimisation
*/
- if (sl->prep_where)
- {
- sl->where= sl->prep_where->copy_andor_structure(thd);
- sl->where->cleanup();
- }
- DBUG_ASSERT(sl->join == 0);
+ if (sl->prep_where)
+ {
+ sl->where= sl->prep_where->copy_andor_structure(thd);
+ sl->where->cleanup();
+ }
+ if (sl->prep_having)
+ {
+ sl->having= sl->prep_having->copy_andor_structure(thd);
+ sl->having->cleanup();
+ }
+ DBUG_ASSERT(sl->join == 0);
ORDER *order;
/* Fix GROUP list */
for (order= (ORDER *)sl->group_list.first; order; order= order->next)
| Thread |
|---|
| • bk commit into 5.0 tree (ramil:1.2025) | ramil | 3 Feb |