~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_error.cc

  • Committer: Stewart Smith
  • Date: 2008-09-25 10:04:06 UTC
  • mto: This revision was merged to the branch mainline in revision 408.
  • Revision ID: stewart@flamingspork.com-20080925100406-hld92f4dr4nuar3a
Move compression functions (compress, uncompress and compressed_length) out into modules and fix test

Show diffs side-by-side

added added

removed removed

Lines of Context:
99
99
*/
100
100
 
101
101
DRIZZLE_ERROR *push_warning(THD *thd, DRIZZLE_ERROR::enum_warning_level level, 
102
 
                          uint32_t code, const char *msg)
 
102
                          uint code, const char *msg)
103
103
{
104
104
  DRIZZLE_ERROR *err= 0;
105
105
 
154
154
*/
155
155
 
156
156
void push_warning_printf(THD *thd, DRIZZLE_ERROR::enum_warning_level level,
157
 
                         uint32_t code, const char *format, ...)
 
157
                         uint code, const char *format, ...)
158
158
{
159
159
  va_list args;
160
160
  char    warning[ERRMSGSIZE+20];