Below is the list of changes that have just been committed into a local
5.1 repository of dkatz. When dkatz 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@stripped, 2007-06-18 20:08:48-04:00, dkatz@stripped +1 -0
Bug #28921 Queries containg UDF functions are cached
Additional edits to the 5.0 ChangeSet|1.2519 that are necessary for the fix to work with the new code structure in 5.1.
sql/item_create.cc@stripped, 2007-06-18 20:08:46-04:00, dkatz@stripped +1 -0
Added line to prevent a query that contains a UDF from being cached. In 5.0 this was handled in sql_yacc.cc but now the the individual Create_func builders will be responsible for clearing the flag.
# 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: dkatz
# Host: damien-katzs-computer.local
# Root: /Users/dkatz/mysql51
--- 1.82/sql/item_create.cc 2007-06-13 17:25:13 -04:00
+++ 1.83/sql/item_create.cc 2007-06-18 20:08:46 -04:00
@@ -2437,6 +2437,7 @@ Create_udf_func::create(THD *thd, udf_fu
my_error(ER_NOT_SUPPORTED_YET, MYF(0), "UDF return type");
}
}
+ lex->safe_to_cache_query= 0;
return func;
}
#endif
| Thread |
|---|
| • bk commit into 5.1 tree (dkatz:1.2520) BUG#28921 | damien | 19 Jun |