~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/gearman_udf/gman_do.cc

  • Committer: Padraig O'Sullivan
  • Date: 2009-09-13 01:03:01 UTC
  • mto: (1126.9.2 captain-20090915-01)
  • mto: This revision was merged to the branch mainline in revision 1133.
  • Revision ID: osullivan.padraig@gmail.com-20090913010301-tcvvezipx1124acy
Added calls to the dtrace delete begin/end probes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
   along with this program; if not, write to the Free Software
14
14
   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA */
15
15
 
16
 
#include "config.h"
17
16
#include "gman_do.h"
18
17
#include "function_map.h"
19
18
 
20
19
using namespace std;
21
 
using namespace drizzled;
22
20
 
23
21
extern "C"
24
22
{
76
74
      return NULL;
77
75
    }
78
76
 
79
 
    gearman_client_set_workload_malloc_fn(&client, _do_malloc, this);
 
77
    gearman_client_set_workload_malloc(&client, _do_malloc, this);
80
78
    options= (gman_do_options_t)(options | GMAN_DO_OPTIONS_CLIENT);
81
79
  }
82
80