Below is the list of changes that have just been committed into a local
5.1 repository of jani. When jani 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-04-11 13:27:36+03:00, jani@stripped +1 -0
Added warn_root as argument for push_back()
sql/sql_error.cc@stripped, 2007-04-11 13:27:33+03:00, jani@stripped +1 -1
Added warn_root as argument for push_back()
# 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: jani
# Host: ua141d10.elisa.omakaista.fi
# Root: /home/my/bk/mysql-5.1-marvel
--- 1.42/sql/sql_error.cc 2007-04-11 13:27:46 +03:00
+++ 1.43/sql/sql_error.cc 2007-04-11 13:27:46 +03:00
@@ -149,7 +149,7 @@
{
/* We have to use warn_root, as mem_root is freed after each query */
if ((err= new (&thd->warn_root) MYSQL_ERROR(thd, code, level, msg)))
- thd->warn_list.push_back(err);
+ thd->warn_list.push_back(err, &thd->warn_root);
}
thd->warn_count[(uint) level]++;
thd->total_warn_count++;
| Thread |
|---|
| • bk commit into 5.1 tree (jani:1.2573) | jani | 11 Apr |