~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/crc32/crc32udf.cc

  • Committer: Tim Penhey
  • Date: 2010-01-20 02:31:29 UTC
  • mto: This revision was merged to the branch mainline in revision 1275.
  • Revision ID: tim.penhey@canonical.com-20100120023129-ilsomkfwm8owd06k
Move the member variable to be local to the function.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
 
30
30
class Crc32Function :public Item_int_func
31
31
{
32
 
  String value;
33
32
public:
34
33
  int64_t val_int();
35
34
  
57
56
int64_t Crc32Function::val_int()
58
57
{
59
58
  assert(fixed == true);
 
59
  String value;
60
60
  String *res=args[0]->val_str(&value);
61
61
  
62
62
  if (res == NULL)