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

index af42795..decd16d 100644 (file)
@@ -235,7 +235,7 @@ DELIMITER ;
 
 DROP FUNCTION IF EXISTS core_country_locations;
 DELIMITER $$
-CREATE FUNCTION core_country_locations()  RETURNS TEXT DETERMINISTIC
+CREATE FUNCTION core_country_locations()  RETURNS INT DETERMINISTIC
     BEGIN
         DECLARE v_count INT DEFAULT 0;
         DECLARE v_total INT DEFAULT 0;