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

index 8dd17e6..5aad08e 100644 (file)
@@ -246,7 +246,8 @@ CREATE FUNCTION core_country_locations()  RETURNS INT DETERMINISTIC
         DECLARE v_country_iso_code INT DEFAULT 0;
         DECLARE v_country_name INT DEFAULT 0;
 
-        DECLARE v_id INT DEFAULT 0;
+        DECLARE v_country_id INT DEFAULT 0;
+        DECLARE v_continent_id INT DEFAULT 0;
 
         DECLARE csr CURSOR FOR 
         SELECT