diff options
author | konstantin@mysql.com <> | 2004-11-11 21:39:35 +0300 |
---|---|---|
committer | konstantin@mysql.com <> | 2004-11-11 21:39:35 +0300 |
commit | e5f4c7a0bd35ec81928b15664dcad53d5aba56e3 (patch) | |
tree | d65c1d25b2742712e5c398191b3e7eb40d0692e6 /sql/item_geofunc.cc | |
parent | ea97ce50b97b32bb6135ad7aa6d487630bdcfa84 (diff) | |
download | mariadb-git-e5f4c7a0bd35ec81928b15664dcad53d5aba56e3.tar.gz |
Rename: Item::val -> Item::val_real().
Diffstat (limited to 'sql/item_geofunc.cc')
-rw-r--r-- | sql/item_geofunc.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sql/item_geofunc.cc b/sql/item_geofunc.cc index 7c3319bbfea..163260f6428 100644 --- a/sql/item_geofunc.cc +++ b/sql/item_geofunc.cc @@ -320,8 +320,8 @@ err: String *Item_func_point::val_str(String *str) { DBUG_ASSERT(fixed == 1); - double x= args[0]->val(); - double y= args[1]->val(); + double x= args[0]->val_real(); + double y= args[1]->val_real(); if ((null_value= (args[0]->null_value || args[1]->null_value || @@ -628,7 +628,7 @@ longlong Item_func_numpoints::val_int() } -double Item_func_x::val() +double Item_func_x::val_real() { DBUG_ASSERT(fixed == 1); double res= 0.0; // In case of errors @@ -645,7 +645,7 @@ double Item_func_x::val() } -double Item_func_y::val() +double Item_func_y::val_real() { DBUG_ASSERT(fixed == 1); double res= 0; // In case of errors @@ -662,7 +662,7 @@ double Item_func_y::val() } -double Item_func_area::val() +double Item_func_area::val_real() { DBUG_ASSERT(fixed == 1); double res= 0; // In case of errors @@ -679,7 +679,7 @@ double Item_func_area::val() return res; } -double Item_func_glength::val() +double Item_func_glength::val_real() { DBUG_ASSERT(fixed == 1); double res= 0; // In case of errors |