Below is the list of changes that have just been committed into a local
5.0 repository of gluh. When gluh 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.2090 06/03/01 18:28:35 gluh@stripped +1 -0
Fix: 'type_decimal' fails with ps-protocol
Do not calculate field value on first stmt execute stage
during prepared statement execute
sql/item_cmpfunc.cc
1.192 06/03/01 18:28:28 gluh@stripped +2 -1
Fix: 'type_decimal' fails with ps-protocol
Do not calculate field value on first stmt execute stage
during prepared statement execute
# 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: gluh
# Host: eagle.intranet.mysql.r18.ru
# Root: /home/gluh/MySQL/Bugs/5.0.17602
--- 1.191/sql/item_cmpfunc.cc Tue Feb 14 16:21:59 2006
+++ 1.192/sql/item_cmpfunc.cc Wed Mar 1 18:28:28 2006
@@ -701,7 +701,8 @@ bool Item_in_optimizer::fix_left(THD *th
If it is preparation PS only then we do not know values of parameters =>
cant't get there values and do not need that values.
*/
- if (!thd->stmt_arena->is_stmt_prepare())
+ if (!thd->stmt_arena->is_stmt_prepare() &&
+ !thd->stmt_arena->is_first_stmt_execute())
cache->store(args[0]);
if (cache->cols() == 1)
{
| Thread |
|---|
| • bk commit into 5.0 tree (gluh:1.2090) | gluh | 1 Mar |