mysql/core_cities_merge.sql
authorEdward <edward@roojs.com>
Thu, 26 Jun 2014 10:27:30 +0000 (18:27 +0800)
committerEdward <edward@roojs.com>
Thu, 26 Jun 2014 10:27:30 +0000 (18:27 +0800)
mysql/core_cities_merge.sql

index f6f4e90..b592532 100644 (file)
@@ -279,6 +279,7 @@ CREATE FUNCTION core_country_locations()  RETURNS INT DETERMINISTIC
             END IF;
 
             IF (v_country_iso_code != '') THEN
+                RETURN v_country_iso_code;
                 SELECT id INTO v_country_id FROM core_geoip_country WHERE code = v_country_iso_code;
 
                 IF v_continent_id = 0 THEN