summaryrefslogtreecommitdiff
path: root/sql/rpl_utility.cc
diff options
context:
space:
mode:
authorMats Kindahl <mats@sun.com>2010-01-13 13:37:01 +0100
committerMats Kindahl <mats@sun.com>2010-01-13 13:37:01 +0100
commit4abdd9f14aabfc75647d0328a5c9bf3660820499 (patch)
tree657c72427527360b7e2def2ddb874e9b47403540 /sql/rpl_utility.cc
parenta533cec71b5d0df0656fe00de107bc1472835500 (diff)
parenta561e539434ec9b92f39b248329b1c5ac9d5ce94 (diff)
downloadmariadb-git-4abdd9f14aabfc75647d0328a5c9bf3660820499.tar.gz
Merging with mysql-5.1-rep+2-delivery1
Diffstat (limited to 'sql/rpl_utility.cc')
-rw-r--r--sql/rpl_utility.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/rpl_utility.cc b/sql/rpl_utility.cc
index 16eaae9b91d..feb35527b62 100644
--- a/sql/rpl_utility.cc
+++ b/sql/rpl_utility.cc
@@ -592,6 +592,12 @@ can_convert_field_to(Field *field,
{
if (metadata == 0) // Metadata can only be zero if no metadata was provided
{
+ /*
+ If there is no metadata, we either have an old event where no
+ metadata were supplied, or a type that does not require any
+ metadata. In either case, conversion can be done but no
+ conversion table is necessary.
+ */
DBUG_PRINT("debug", ("Base types are identical, but there is no metadata"));
*order_var= 0;
DBUG_RETURN(true);