~chrisvaughn/gearmand/devel

« back to all changes in this revision

Viewing changes to libgearman-server/plugins.cc

  • Committer: root
  • Date: 2012-02-05 05:40:05 UTC
  • Revision ID: root@cvaughn.yv.local-20120205054005-m8o3vuynx6gekebx
fixes postgres bug and adds testing

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
2
 
 * 
 
2
 *
3
3
 *  Gearmand client and server library.
4
4
 *
5
5
 *  Copyright (C) 2011 Data Differential, http://datadifferential.com/
63
63
    queue::initialize_sqlite();
64
64
  }
65
65
 
66
 
#ifdef HAVE_LIBPQ
67
 
  queue::initialize_postgres();
68
 
#endif
 
66
  if (HAVE_LIBPQ)
 
67
  {
 
68
    queue::initialize_postgres();
 
69
  }
 
70
 
69
71
 
70
72
#ifdef HAVE_LIBHIREDIS
71
73
  queue::initialize_redis();