diff options
author | miguel@hegel.local <> | 2004-05-05 02:59:17 -0300 |
---|---|---|
committer | miguel@hegel.local <> | 2004-05-05 02:59:17 -0300 |
commit | 8d1480f7c5535edc80c69cf8998538f01b058c6d (patch) | |
tree | acaa682ecb4e7413232120ad5965cc6adc2f410c /sql/item_geofunc.cc | |
parent | ee627d251062c455ccd57dac28497d896c721a0e (diff) | |
download | mariadb-git-8d1480f7c5535edc80c69cf8998538f01b058c6d.tar.gz |
Windows fixes for VC++ compiler compability
Diffstat (limited to 'sql/item_geofunc.cc')
-rw-r--r-- | sql/item_geofunc.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/item_geofunc.cc b/sql/item_geofunc.cc index 555c1a74eaf..d95271a54bb 100644 --- a/sql/item_geofunc.cc +++ b/sql/item_geofunc.cc @@ -697,8 +697,7 @@ longlong Item_func_srid::val_int() DBUG_ASSERT(fixed == 1); String *swkb= args[0]->val_str(&value); Geometry_buffer buffer; - Geometry *geom; - + null_value= (!swkb || !Geometry::create_from_wkb(&buffer, swkb->ptr() + SRID_SIZE, |