~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/set_user_var.cc

  • Committer: Eric Day
  • Date: 2009-08-06 07:14:37 UTC
  • mto: This revision was merged to the branch mainline in revision 1131.
  • Revision ID: eday@oddments.org-20090806071437-c3baqgtvsdxp1l1a
Renamed Protocol to Client, cleaned up some unnecessary methods along the way.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#include <drizzled/function/set_user_var.h>
23
23
#include <drizzled/field/num.h>
24
24
#include <drizzled/session.h>
 
25
#include <drizzled/plugin/client.h>
25
26
 
26
27
using namespace drizzled;
27
28
 
325
326
  str->append(')');
326
327
}
327
328
 
328
 
bool Item_func_set_user_var::send(plugin::Protocol *protocol, String *str_arg)
 
329
bool Item_func_set_user_var::send(plugin::Client *client, String *str_arg)
329
330
{
330
331
  if (result_field)
331
332
  {
332
333
    check(1);
333
334
    update();
334
 
    return protocol->store(result_field);
 
335
    return client->store(result_field);
335
336
  }
336
 
  return Item::send(protocol, str_arg);
 
337
  return Item::send(client, str_arg);
337
338
}
338
339
 
339
340
void Item_func_set_user_var::make_field(SendField *tmp_field)