~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/compression/compress.cc

  • Committer: Brian Aker
  • Date: 2009-08-17 01:44:23 UTC
  • mto: This revision was merged to the branch mainline in revision 1118.
  • Revision ID: brian@gaz-20090817014423-jxi2qonsumm8mndf
Remove SQL level reference for DELAY (just now done correctly by default in
engine).

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
   along with this program; if not, write to the Free Software
14
14
   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA */
15
15
 
16
 
#include "config.h"
17
 
#include <drizzled/plugin/function.h>
 
16
#include <drizzled/server_includes.h>
 
17
#include <drizzled/sql_udf.h>
18
18
#include <drizzled/item/func.h>
19
19
#include <drizzled/function/str/strfunc.h>
20
20
#include <drizzled/error.h>
26
26
#include <string>
27
27
 
28
28
using namespace std;
29
 
using namespace drizzled;
30
29
 
31
30
String *Item_func_compress::val_str(String *str)
32
31
{
33
 
  int err= Z_OK;
34
 
  drizzled::error_t code;
 
32
  int err= Z_OK, code;
35
33
  ulong new_size;
36
34
  String *res;
37
35
  Byte *body;