~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libdrizzle/drizzle_com.h

  • Committer: brian
  • Date: 2008-08-01 17:27:37 UTC
  • mfrom: (261.1.6 drizzle)
  • Revision ID: brian@localhost.localdomain-20080801172737-v6f9pau23un0bwfl
Merge from Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
212
212
*/
213
213
#define SERVER_QUERY_WAS_SLOW           1024
214
214
 
215
 
#define MYSQL_ERRMSG_SIZE       512
 
215
#define DRIZZLE_ERRMSG_SIZE     512
216
216
#define NET_READ_TIMEOUT        30              /* Timeout on read */
217
217
#define NET_WRITE_TIMEOUT       60              /* Timeout on write */
218
218
#define NET_WAIT_TIMEOUT        8*60*60         /* Wait for new query */
261
261
  unsigned int last_errno;
262
262
  unsigned char error; 
263
263
  /** Client library error message buffer. Actually belongs to struct MYSQL. */
264
 
  char last_error[MYSQL_ERRMSG_SIZE];
 
264
  char last_error[DRIZZLE_ERRMSG_SIZE];
265
265
  /** Client library sqlstate buffer. Set along with the error message. */
266
266
  char sqlstate[SQLSTATE_LENGTH+1];
267
267
  void *extension;
435
435
/* end of password.c */
436
436
 
437
437
char *get_tty_password(const char *opt_message);
438
 
const char *mysql_errno_to_sqlstate(unsigned int mysql_errno);
 
438
const char *drizzle_errno_to_sqlstate(unsigned int drizzle_errno);
439
439
 
440
440
 
441
441
#ifdef _global_h