~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/drizzle_protocol/drizzle_protocol.cc

  • Committer: Monty Taylor
  • Date: 2010-04-22 02:46:23 UTC
  • mto: (1497.3.4 enable-dtrace)
  • mto: This revision was merged to the branch mainline in revision 1527.
  • Revision ID: mordred@inaugust.com-20100422024623-4urw8fi8eraci08p
Don't overwrite the pandora_vc_revinfo file if we don't have new
authoratative information.

Show diffs side-by-side

added added

removed removed

Lines of Context:
663
663
    server_capabilites|= CLIENT_COMPRESS;
664
664
#endif /* HAVE_COMPRESS */
665
665
 
666
 
    end= buff + strlen(VERSION);
 
666
    end= buff + strlen(PANDORA_RELEASE_VERSION);
667
667
    if ((end - buff) >= SERVER_VERSION_LENGTH)
668
668
      end= buff + (SERVER_VERSION_LENGTH - 1);
669
 
    memcpy(buff, VERSION, end - buff);
 
669
    memcpy(buff, PANDORA_RELEASE_VERSION, end - buff);
670
670
    *end= 0;
671
671
    end++;
672
672