~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/locate.cc

  • Committer: pcrews
  • Date: 2011-05-24 17:36:24 UTC
  • mfrom: (1099.4.232 drizzle)
  • Revision ID: pcrews@lucid32-20110524173624-mwr1bvq6fa1r01ao
Updated translations + 2011.05.18 tarball tag

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18
18
 */
19
19
 
20
 
#include "config.h"
 
20
#include <config.h>
21
21
 
22
 
#include <drizzled/charset_info.h>
 
22
#include <drizzled/charset.h>
23
23
#include <drizzled/function/locate.h>
24
24
#include <drizzled/lex_string.h>
25
25
 
74
74
}
75
75
 
76
76
 
77
 
void Item_func_locate::print(String *str, enum_query_type query_type)
 
77
void Item_func_locate::print(String *str)
78
78
{
79
79
  str->append(STRING_WITH_LEN("locate("));
80
 
  args[1]->print(str, query_type);
 
80
  args[1]->print(str);
81
81
  str->append(',');
82
 
  args[0]->print(str, query_type);
 
82
  args[0]->print(str);
83
83
  if (arg_count == 3)
84
84
  {
85
85
    str->append(',');
86
 
    args[2]->print(str, query_type);
 
86
    args[2]->print(str);
87
87
  }
88
88
  str->append(')');
89
89
}