~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_select.cc

  • Committer: Brian Aker
  • Date: 2008-08-18 04:35:40 UTC
  • mfrom: (342 codestyle)
  • mto: This revision was merged to the branch mainline in revision 352.
  • Revision ID: brian@tangent.org-20080818043540-numg7vydi7b0bzcd
Mering Monty's work

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
 
30
30
#include <mysys/my_bit.h>
31
31
#include <drizzled/drizzled_error_messages.h>
 
32
#include <libdrizzle/gettext.h>
32
33
 
33
34
const char *join_type_str[]={ "UNKNOWN","system","const","eq_ref","ref",
34
35
                              "MAYBE_REF","ALL","range","index",
11315
11316
    print them to the .err log
11316
11317
  */
11317
11318
  if (error != HA_ERR_LOCK_DEADLOCK && error != HA_ERR_LOCK_WAIT_TIMEOUT)
11318
 
    sql_print_error("Got error %d when reading table '%s'",
 
11319
    sql_print_error(_("Got error %d when reading table '%s'"),
11319
11320
                    error, table->s->path.str);
11320
11321
  table->file->print_error(error,MYF(0));
11321
11322
  return 1;