~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_class.cc

  • Committer: Monty Taylor
  • Date: 2008-08-01 22:33:44 UTC
  • mto: (236.1.42 codestyle)
  • mto: This revision was merged to the branch mainline in revision 261.
  • Revision ID: monty@inaugust.com-20080801223344-vzhlflfmtijp1imv
First pass at gettexizing the error messages.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
#include <sys/stat.h>
34
34
#include <mysys/thr_alarm.h>
35
35
#include <mysys/mysys_err.h>
 
36
#include <drizzled/drizzled_error_messages.h>
36
37
 
37
38
/*
38
39
  The following is used to initialise Table_ident with a internal
2195
2196
  return;
2196
2197
}
2197
2198
 
 
2199
 
 
2200
bool THD::copy_db_to(char **p_db, size_t *p_db_length)
 
2201
{
 
2202
  if (db == NULL)
 
2203
  {
 
2204
    my_message(ER_NO_DB_ERROR, ER(ER_NO_DB_ERROR), MYF(0));
 
2205
    return true;
 
2206
  }
 
2207
  *p_db= strmake(db, db_length);
 
2208
  *p_db_length= db_length;
 
2209
  return false;
 
2210
}
 
2211
 
 
2212
 
2198
2213
bool select_dumpvar::send_data(List<Item> &items)
2199
2214
{
2200
2215
  List_iterator_fast<my_var> var_li(var_list);
2276
2291
  current_thd->status_var.net_big_packet_count+= length;
2277
2292
}
2278
2293
 
 
2294
void THD::send_kill_message() const
 
2295
{
 
2296
  int err= killed_errno();
 
2297
  if (err)
 
2298
    my_message(err, ER(err), MYF(0));
 
2299
}
2279
2300
 
2280
2301
void THD::set_status_var_init()
2281
2302
{