~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/oldlibdrizzle/oldlibdrizzle.cc

  • Committer: Monty Taylor
  • Date: 2009-06-30 18:09:07 UTC
  • mto: This revision was merged to the branch mainline in revision 1083.
  • Revision ID: mordred@inaugust.com-20090630180907-r24363hlhgxg4cbw
Whole boat-load of build fixes.

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"
704
703
    server_capabilites|= CLIENT_COMPRESS;
705
704
#endif /* HAVE_COMPRESS */
706
705
 
707
 
    end= buff + strlen(server_version);
 
706
    end= buff + strlen(VERSION);
708
707
    if ((end - buff) >= SERVER_VERSION_LENGTH)
709
708
      end= buff + (SERVER_VERSION_LENGTH - 1);
710
 
    memcpy(buff, server_version, end - buff);
 
709
    memcpy(buff, VERSION, end - buff);
711
710
    *end= 0;
712
711
    end++;
713
712