Skip to content

Commit

Permalink
temporarily remove geo related functions
Browse files Browse the repository at this point in the history
  • Loading branch information
Axlgrep committed Jul 25, 2018
1 parent dcde785 commit 65c0c23
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 715 deletions.
133 changes: 0 additions & 133 deletions include/pika_geo.h

This file was deleted.

21 changes: 0 additions & 21 deletions src/pika_command.cc
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#include "include/pika_zset.h"
#include "include/pika_bit.h"
#include "include/pika_hyperloglog.h"
#include "include/pika_geo.h"
#include "include/pika_pubsub.h"

static std::unordered_map<std::string, CmdInfo*> cmd_infos(300); /* Table for CmdInfo */
Expand Down Expand Up @@ -793,26 +792,6 @@ void InitCmdTable(std::unordered_map<std::string, Cmd*> *cmd_table) {
Cmd * pfmergeptr = new PfMergeCmd();
cmd_table->insert(std::pair<std::string, Cmd*>(kCmdNamePfMerge, pfmergeptr));

//GEO
////GepAdd
Cmd * geoaddptr = new GeoAddCmd();
cmd_table->insert(std::pair<std::string, Cmd*>(kCmdNameGeoAdd, geoaddptr));
////GeoPos
Cmd * geoposptr = new GeoPosCmd();
cmd_table->insert(std::pair<std::string, Cmd*>(kCmdNameGeoPos, geoposptr));
////GeoDist
Cmd * geodistptr = new GeoDistCmd();
cmd_table->insert(std::pair<std::string, Cmd*>(kCmdNameGeoDist, geodistptr));
////GeoHash
Cmd * geohashptr = new GeoHashCmd();
cmd_table->insert(std::pair<std::string, Cmd*>(kCmdNameGeoHash, geohashptr));
////GeoRadius
Cmd * georadiusptr = new GeoRadiusCmd();
cmd_table->insert(std::pair<std::string, Cmd*>(kCmdNameGeoRadius, georadiusptr));
////GeoRadiusByMember
Cmd * georadiusbymemberptr = new GeoRadiusByMemberCmd();
cmd_table->insert(std::pair<std::string, Cmd*>(kCmdNameGeoRadiusByMember, georadiusbymemberptr));

//PubSub
////Publish
Cmd * publishptr = new PublishCmd();
Expand Down
Loading

0 comments on commit 65c0c23

Please sign in to comment.