summaryrefslogtreecommitdiff
path: root/sql/rpl_utility.cc
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2015-06-09 12:05:06 +0400
committerAlexander Barkov <bar@mariadb.org>2015-06-09 12:05:06 +0400
commit92b365981bbb5c36e6605295ca24fd266a90a937 (patch)
tree82bb7707fd283037a2af6a8987e51bf20d7a475c /sql/rpl_utility.cc
parentb1e10399f4ec7a37f432c33e1c94e21c1f74f30b (diff)
downloadmariadb-git-92b365981bbb5c36e6605295ca24fd266a90a937.tar.gz
MDEV-7268 Column of table cannot be converted from type 'decimal(0,?)' to type ' 'decimal(10,7)'
Changing the error message to: "...from type 'decimal(0,?)/*old*/' to type ' 'decimal(10,7)'..." So it's now clear that the master data type is OLD decimal.
Diffstat (limited to 'sql/rpl_utility.cc')
-rw-r--r--sql/rpl_utility.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/rpl_utility.cc b/sql/rpl_utility.cc
index 22241da1348..e05ad5a8d43 100644
--- a/sql/rpl_utility.cc
+++ b/sql/rpl_utility.cc
@@ -417,7 +417,7 @@ void show_sql_type(enum_field_types type, uint16 metadata, String *str, CHARSET_
CHARSET_INFO *cs= str->charset();
uint32 length=
cs->cset->snprintf(cs, (char*) str->ptr(), str->alloced_length(),
- "decimal(%d,?)", metadata);
+ "decimal(%d,?)/*old*/", metadata);
str->length(length);
}
break;