~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/oldlibdrizzle/oldlibdrizzle.cc

  • Committer: Brian Aker
  • Date: 2009-07-01 02:41:00 UTC
  • mfrom: (1081.1.4 mordred)
  • Revision ID: brian@gaz-20090701024100-nefdy7pnychzpg7h
Merge Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#include <drizzled/error.h>
22
22
#include <drizzled/sql_state.h>
23
23
#include <drizzled/session.h>
24
 
#include <drizzled/data_home.h>
25
24
#include "pack.h"
26
25
#include "errmsg.h"
27
26
#include "oldlibdrizzle.h"
708
707
    server_capabilites|= CLIENT_COMPRESS;
709
708
#endif /* HAVE_COMPRESS */
710
709
 
711
 
    end= buff + strlen(server_version);
 
710
    end= buff + strlen(VERSION);
712
711
    if ((end - buff) >= SERVER_VERSION_LENGTH)
713
712
      end= buff + (SERVER_VERSION_LENGTH - 1);
714
 
    memcpy(buff, server_version, end - buff);
 
713
    memcpy(buff, VERSION, end - buff);
715
714
    *end= 0;
716
715
    end++;
717
716