MySQL Forums
Forum List  »  MySQL Workbench

Re: Building WB from source…connector/JSON issues?
Posted by: Louis de Gaulle
Date: November 04, 2015 02:54AM

Hello,

John Hawkinson, I use mysql 5.6 I did like this to build Mwb 6.5.3:

in the file : mwb-6.3.5/plugins/migration/copytable/copytable.h
remove #if defined(MYSQL_VERSION_MAJOR) because there are a typo error

in the file : mwb-6.3.5/plugins/migration/copytable/copytable.cpp
add
#include <my_config.h> // in /path/to/includes/mysql/
                       // Please check if MYSQL_MINOR_VERSION is defined

#if defined(MYSQL_MAJOR_VERSION) && defined(MYSQL_MINOR_VERSION)
#define MYSQL_CHECK_VERSION(major,minor,micro) \
    (MYSQL_MAJOR_VERSION > (major) || \
    (MYSQL_MAJOR_VERSION == (major) && MYSQL_MINOR_VERSION > (minor)) )
#else
#define MYSQL_CHECK_VERSION(major,minor,micro) 1
#endif

Then many time (for each occurence of MYSQL_TYPE_JSON):
#if MYSQL_CHECK_VERSION(5, 7, 0)
    case MYSQL_TYPE_JSON: return "MYSQL_TYPE_JSON";
#endif
There is still one file in mwb-6.3.5/backend/wbpublic/objimpl/db.query/db_query_Resultset.cpp

It worked for me...

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Building WB from source…connector/JSON issues?
1764
November 04, 2015 02:54AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.