Skip to content

Commit

Permalink
SQLyog 13.1.7 GA
Browse files Browse the repository at this point in the history
  • Loading branch information
kiranaccolite committed Oct 15, 2020
1 parent f0dec9c commit 3d3b3be
Show file tree
Hide file tree
Showing 62 changed files with 921 additions and 65 deletions.
6 changes: 6 additions & 0 deletions include/CCustomComboBox.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ lparam: Not Used
//Custom ComboBox class registered for Community and Connection Manager
#define CUSTOMCOMBOBOX1 L"CustomComboBox1"

//Add extra space for combobox for better view
#define COMBOWIDTHMARGIN 50


/*! \struct connectionlist
\brief
Expand All @@ -98,8 +101,11 @@ typedef struct connectionlist
// Custom Combo Box Class
class CCustomComboBox
{


private:


//Holds the list of connection
CONNLIST *m_connectionlist;

Expand Down
1 change: 1 addition & 0 deletions include/Global.h
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,7 @@ struct ConnectionInfo
wyString m_clicert;
wyString m_cacert;
wyString m_cipher;
wyBool m_no_ca; //Flag for not giving CA certificate while connecting through SSL

wyString m_sqlmode;
wyString m_initcommand;
Expand Down
2 changes: 2 additions & 0 deletions include/ImportFromSQL.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,11 @@ typedef enum __import_errors
*/
#define MAX_QUERY_LEN 1024

#define ER_SQL_SYNTAX 1064

#define ER_EMPTY_QUERY 1065


/* callback function to display any GUI related stuff.
this is always called when we are reading a file */

Expand Down
9 changes: 9 additions & 0 deletions include/MySQLVersionHelper.h
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,15 @@ void SetCharacterSet(Tunnel *tunnel, MYSQL * mysql, wyChar * charset);
*/
wyBool IsMySQL80011(Tunnel * tunnel, PMYSQL mysql);

/// Checks the server version is greater than or equal to 8.0.0
/**
@param tunnel: IN tunnel pointer
@param mysql: IN PMYSQL value
@returns wyBool, wyTrue if it is SUCCESS, else wyFalse
*/
/*For Bug issue 2250*/
wyBool IsMySQL800(PMYSQL mysql);

/// Checks the server version isis MariaDB 10.2.0 or higher
/**
@param tunnel: IN tunnel pointer
Expand Down
4 changes: 2 additions & 2 deletions include/Version.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#define MAJOR_VERSION_INT 13
#define MINOR_VERSION_INT 1
#define UPDATE_VERSION_INT 6
#define RELEASE_VERSION_INT 0
#define UPDATE_VERSION_INT 7
#define RELEASE_VERSION_INT 0
#define EXTRAINFO ""

142 changes: 142 additions & 0 deletions include/mysql/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@

/*
* Include file constants (processed in LibmysqlIncludeFiles.txt 1
*/
#define HAVE_OPENSSL_APPLINK_C 1
/* #undef HAVE_ALLOCA_H */
/* #undef HAVE_BIGENDIAN */
#define HAVE_SETLOCALE 1
/* #undef HAVE_NL_LANGINFO */
/* #undef HAVE_DLFCN_H */
#define HAVE_FCNTL_H 1
#define HAVE_FLOAT_H 1
#define HAVE_LIMITS_H 1
/* #undef HAVE_PWD_H */
/* #undef HAVE_SELECT_H */
#define HAVE_STDDEF_H 1
/* #undef HAVE_STDINT_H */
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
/* #undef HAVE_SYS_IOCTL_H */
/* #undef HAVE_SYS_SELECT_H */
/* #undef HAVE_SYS_SOCKET_H */
/* #undef HAVE_SYS_STREAM_H */
#define HAVE_SYS_TYPES_H 1
/* #undef HAVE_SYS_UN_H */
/* #undef HAVE_UNISTD_H */
/* #undef HAVE_UCONTEXT_H */

/*
* function definitions - processed in LibmysqlFunctions.txt
*/

/* #undef HAVE_DLERROR */
/* #undef HAVE_DLOPEN */
/* #undef HAVE_GETPWUID */
#define HAVE_MEMCPY 1
/* #undef HAVE_POLL */
/* #undef HAVE_STRTOK_R */
#define HAVE_STRTOL 1
/* #undef HAVE_STRTOLL */
#define HAVE_STRTOUL 1
/* #undef HAVE_STRTOULL */
#define HAVE_TELL 1
/* #undef HAVE_THR_SETCONCURRENCY */
/* #undef HAVE_THR_YIELD */
/* #undef HAVE_VASPRINTF */
#define HAVE_VSNPRINTF 1
/* #undef HAVE_CUSERID */

/*
* types and sizes
*/


#define SIZEOF_CHARP 8
#if defined(SIZEOF_CHARP)
# define HAVE_CHARP 1
#endif


#define SIZEOF_INT 4
#if defined(SIZEOF_INT)
# define HAVE_INT 1
#endif

#define SIZEOF_LONG 4
#if defined(SIZEOF_LONG)
# define HAVE_LONG 1
#endif

#define SIZEOF_LONG_LONG 8
#if defined(SIZEOF_LONG_LONG)
# define HAVE_LONG_LONG 1
#endif


#define SIZEOF_SIZE_T 8
#if defined(SIZEOF_SIZE_T)
# define HAVE_SIZE_T 1
#endif


/* #undef SIZEOF_UINT */
#if defined(SIZEOF_UINT)
# define HAVE_UINT 1
#endif

/* #undef SIZEOF_ULONG */
#if defined(SIZEOF_ULONG)
# define HAVE_ULONG 1
#endif

/* #undef SIZEOF_INT8 */
#if defined(SIZEOF_INT8)
# define HAVE_INT8 1
#endif
/* #undef SIZEOF_UINT8 */
#if defined(SIZEOF_UINT8)
# define HAVE_UINT8 1
#endif

/* #undef SIZEOF_INT16 */
#if defined(SIZEOF_INT16)
# define HAVE_INT16 1
#endif
/* #undef SIZEOF_UINT16 */
#if defined(SIZEOF_UINT16)
# define HAVE_UINT16 1
#endif

/* #undef SIZEOF_INT32 */
#if defined(SIZEOF_INT32)
# define HAVE_INT32 1
#endif
/* #undef SIZEOF_UINT32 */
#if defined(SIZEOF_UINT32)
# define HAVE_UINT32 1
#endif

/* #undef SIZEOF_INT64 */
#if defined(SIZEOF_INT64)
# define HAVE_INT64 1
#endif
/* #undef SIZEOF_UINT64 */
#if defined(SIZEOF_UINT64)
# define HAVE_UINT64 1
#endif

/* #undef SIZEOF_SOCKLEN_T */
#if defined(SIZEOF_SOCKLEN_T)
# define HAVE_SOCKLEN_T 1
#endif

#define SOCKET_SIZE_TYPE int

#define LOCAL_INFILE_MODE_OFF 0
#define LOCAL_INFILE_MODE_ON 1
#define LOCAL_INFILE_MODE_AUTO 2
#define ENABLED_LOCAL_INFILE LOCAL_INFILE_MODE_AUTO

#define MARIADB_DEFAULT_CHARSET "latin1"

3 changes: 2 additions & 1 deletion include/mysql/errmsg.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ extern const char *mariadb_client_errors[]; /* Error messages */
#define CR_FILE_READ 5005
#define CR_BULK_WITHOUT_PARAMETERS 5006
#define CR_INVALID_STMT 5007
#define CR_VERSION_MISMATCH 5008
/* Always last, if you add new error codes please update the
value for CR_MARIADB_LAST_ERROR */
#define CR_MARIADB_LAST_ERROR CR_INVALID_STMT
#define CR_MARIADB_LAST_ERROR CR_VERSION_MISMATCH
#endif
8 changes: 8 additions & 0 deletions include/mysql/ma_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ struct st_mysql_options_extension {
char *server_public_key;
char *proxy_header;
size_t proxy_header_len;
int (*io_wait)(my_socket handle, my_bool is_read, int timeout);
};

typedef struct st_connection_handler
Expand All @@ -90,6 +91,7 @@ typedef struct st_connection_handler

struct st_mariadb_net_extension {
enum enum_multi_status multi_status;
int extended_errno;
};

struct st_mariadb_session_state
Expand All @@ -111,3 +113,9 @@ struct st_mariadb_extension {
(a)->options.extension->key : 0

#endif


typedef struct st_mariadb_field_extension
{
MARIADB_CONST_STRING metadata[MARIADB_FIELD_ATTR_LAST+1]; /* 10.5 */
} MA_FIELD_EXTENSION;
142 changes: 142 additions & 0 deletions include/mysql/ma_config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@

/*
* Include file constants (processed in LibmysqlIncludeFiles.txt 1
*/
#define HAVE_OPENSSL_APPLINK_C 1
/* #undef HAVE_ALLOCA_H */
/* #undef HAVE_BIGENDIAN */
#define HAVE_SETLOCALE 1
/* #undef HAVE_NL_LANGINFO */
/* #undef HAVE_DLFCN_H */
#define HAVE_FCNTL_H 1
#define HAVE_FLOAT_H 1
#define HAVE_LIMITS_H 1
/* #undef HAVE_PWD_H */
/* #undef HAVE_SELECT_H */
#define HAVE_STDDEF_H 1
/* #undef HAVE_STDINT_H */
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
/* #undef HAVE_SYS_IOCTL_H */
/* #undef HAVE_SYS_SELECT_H */
/* #undef HAVE_SYS_SOCKET_H */
/* #undef HAVE_SYS_STREAM_H */
#define HAVE_SYS_TYPES_H 1
/* #undef HAVE_SYS_UN_H */
/* #undef HAVE_UNISTD_H */
/* #undef HAVE_UCONTEXT_H */

/*
* function definitions - processed in LibmysqlFunctions.txt
*/

/* #undef HAVE_DLERROR */
/* #undef HAVE_DLOPEN */
/* #undef HAVE_GETPWUID */
#define HAVE_MEMCPY 1
/* #undef HAVE_POLL */
/* #undef HAVE_STRTOK_R */
#define HAVE_STRTOL 1
/* #undef HAVE_STRTOLL */
#define HAVE_STRTOUL 1
/* #undef HAVE_STRTOULL */
#define HAVE_TELL 1
/* #undef HAVE_THR_SETCONCURRENCY */
/* #undef HAVE_THR_YIELD */
/* #undef HAVE_VASPRINTF */
#define HAVE_VSNPRINTF 1
/* #undef HAVE_CUSERID */

/*
* types and sizes
*/


#define SIZEOF_CHARP 8
#if defined(SIZEOF_CHARP)
# define HAVE_CHARP 1
#endif


#define SIZEOF_INT 4
#if defined(SIZEOF_INT)
# define HAVE_INT 1
#endif

#define SIZEOF_LONG 4
#if defined(SIZEOF_LONG)
# define HAVE_LONG 1
#endif

#define SIZEOF_LONG_LONG 8
#if defined(SIZEOF_LONG_LONG)
# define HAVE_LONG_LONG 1
#endif


#define SIZEOF_SIZE_T 8
#if defined(SIZEOF_SIZE_T)
# define HAVE_SIZE_T 1
#endif


/* #undef SIZEOF_UINT */
#if defined(SIZEOF_UINT)
# define HAVE_UINT 1
#endif

/* #undef SIZEOF_ULONG */
#if defined(SIZEOF_ULONG)
# define HAVE_ULONG 1
#endif

/* #undef SIZEOF_INT8 */
#if defined(SIZEOF_INT8)
# define HAVE_INT8 1
#endif
/* #undef SIZEOF_UINT8 */
#if defined(SIZEOF_UINT8)
# define HAVE_UINT8 1
#endif

/* #undef SIZEOF_INT16 */
#if defined(SIZEOF_INT16)
# define HAVE_INT16 1
#endif
/* #undef SIZEOF_UINT16 */
#if defined(SIZEOF_UINT16)
# define HAVE_UINT16 1
#endif

/* #undef SIZEOF_INT32 */
#if defined(SIZEOF_INT32)
# define HAVE_INT32 1
#endif
/* #undef SIZEOF_UINT32 */
#if defined(SIZEOF_UINT32)
# define HAVE_UINT32 1
#endif

/* #undef SIZEOF_INT64 */
#if defined(SIZEOF_INT64)
# define HAVE_INT64 1
#endif
/* #undef SIZEOF_UINT64 */
#if defined(SIZEOF_UINT64)
# define HAVE_UINT64 1
#endif

/* #undef SIZEOF_SOCKLEN_T */
#if defined(SIZEOF_SOCKLEN_T)
# define HAVE_SOCKLEN_T 1
#endif

#define SOCKET_SIZE_TYPE int

#define LOCAL_INFILE_MODE_OFF 0
#define LOCAL_INFILE_MODE_ON 1
#define LOCAL_INFILE_MODE_AUTO 2
#define ENABLED_LOCAL_INFILE LOCAL_INFILE_MODE_AUTO

#define MARIADB_DEFAULT_CHARSET "latin1"

Loading

0 comments on commit 3d3b3be

Please sign in to comment.