~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/benchmark/benchmarkudf.cc

  • Committer: Monty Taylor
  • Date: 2009-12-21 03:44:51 UTC
  • mto: (1253.2.3 out-of-tree)
  • mto: This revision was merged to the branch mainline in revision 1250.
  • Revision ID: mordred@inaugust.com-20091221034451-hmztoep4qbaqne8w
Trims more out of server_includes.h.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#include <drizzled/server_includes.h>
21
21
#include <drizzled/error.h>
22
22
#include <drizzled/session.h>
 
23
#include "mystrings/m_string.h"
23
24
 
24
25
using namespace std;
25
26
using namespace drizzled;
67
68
  {
68
69
    if (args[0]->null_value == false)
69
70
    {
70
 
      llstr(((int64_t) loop_count), buff);
 
71
      int64_t10_to_str((int64_t)loop_count, buff, -10);
71
72
      push_warning_printf(current_session, DRIZZLE_ERROR::WARN_LEVEL_ERROR,
72
73
                          ER_WRONG_VALUE_FOR_TYPE, ER(ER_WRONG_VALUE_FOR_TYPE),
73
74
                          "count", buff, "benchmark");