This commit is contained in:
Alexey Botchkov 2011-01-12 17:11:31 +04:00
commit 75c2a822b8
3 changed files with 19 additions and 0 deletions

View file

@ -181,6 +181,7 @@ public:
String *val_str(String *);
void fix_length_and_dec()
{
Item_geometry_func::fix_length_and_dec();
for (unsigned int i= 0; i < arg_count; ++i)
{
if (args[i]->fixed && args[i]->field_type() != MYSQL_TYPE_GEOMETRY)