~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/compress/compressudf.cc

update to latest from trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
72
72
                     (const Bytef*)res->ptr(), res->length())) != Z_OK)
73
73
  {
74
74
    code= err==Z_MEM_ERROR ? ER_ZLIB_Z_MEM_ERROR : ER_ZLIB_Z_BUF_ERROR;
75
 
    push_warning(current_thd, DRIZZLE_ERROR::WARN_LEVEL_ERROR, code, ER(code));
 
75
    push_warning(current_session, DRIZZLE_ERROR::WARN_LEVEL_ERROR, code, ER(code));
76
76
    null_value= 1;
77
77
    return 0;
78
78
  }