~ubuntu-branches/ubuntu/precise/mysql-5.5/precise-security

« back to all changes in this revision

Viewing changes to sql/item_sum.cc

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2015-07-16 13:59:34 UTC
  • mfrom: (1.1.18)
  • Revision ID: package-import@ubuntu.com-20150716135934-plzpylrt211i3se4
Tags: 5.5.44-0ubuntu0.12.04.1
* SECURITY UPDATE: Update to 5.5.44 to fix security issues (LP: #1475294)
  - http://www.oracle.com/technetwork/topics/security/cpujul2015-2367936.html
  - CVE-2015-2582
  - CVE-2015-2620
  - CVE-2015-2643
  - CVE-2015-2648
  - CVE-2015-4737
  - CVE-2015-4752
  - CVE-2015-4757

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
 
1
/* Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
2
2
   rights reserved.
3
3
 
4
4
   This program is free software; you can redistribute it and/or modify
3174
3174
    }
3175
3175
    DBUG_ASSERT(tree == 0);
3176
3176
  }
 
3177
  /*
 
3178
    As the ORDER structures pointed to by the elements of the
 
3179
    'order' array may be modified in find_order_in_list() called
 
3180
    from Item_func_group_concat::setup() to point to runtime
 
3181
    created objects, we need to reset them back to the original
 
3182
    arguments of the function.
 
3183
  */
 
3184
  ORDER **order_ptr= order;
 
3185
  for (uint i= 0; i < arg_count_order; i++)
 
3186
  {
 
3187
    (*order_ptr)->item= &args[arg_count_field + i];
 
3188
    order_ptr++;
 
3189
  }
3177
3190
  DBUG_VOID_RETURN;
3178
3191
}
3179
3192