From e6501562ce6387ac3b09c37c568990d4f466adfe Mon Sep 17 00:00:00 2001 From: maryamwy Date: Thu, 5 May 2016 18:39:59 +0530 Subject: [PATCH] SQLyog Community -12.2.2 --- include/CalendarCtrl.h | 3 +++ include/FrameWindowHelper.h | 24 +++++++++++-------- include/MySQLVersionHelper.h | 2 ++ include/QueryAnalyzerBase.h | 2 +- include/SQLyog.rc | 23 ++++++++++-------- include/Version.h | 2 +- include/resource.h | 4 +++- src/CalendarCtrl.cpp | 45 ++++++++++++++++++++++++++++++----- src/ExportAsSQL.cpp | 21 +++++++++++++--- src/FrameWindowHelper.cpp | 21 +++++++++++++--- src/Htmlrender.cpp | 2 +- src/MySQLVersionHelper.cpp | 14 +++++++++++ src/PreferenceBase.cpp | 6 +++++ src/QueryThread.cpp | 2 ++ src/TabAdvancedProperties.cpp | 8 +++---- src/UserManager.cpp | 2 +- 16 files changed, 140 insertions(+), 41 deletions(-) diff --git a/include/CalendarCtrl.h b/include/CalendarCtrl.h index 2f32a86..b83d435 100644 --- a/include/CalendarCtrl.h +++ b/include/CalendarCtrl.h @@ -137,6 +137,9 @@ class CalendarCtrl //Handles click of the OK button void OnClickOk(); + //Handles click of the OK button + void OnClickNow(); + //Handles click of the Cancel button void OnClickCancel(); diff --git a/include/FrameWindowHelper.h b/include/FrameWindowHelper.h index ba8f974..0c1f482 100644 --- a/include/FrameWindowHelper.h +++ b/include/FrameWindowHelper.h @@ -392,19 +392,19 @@ All Files(*.*)\0*.*\0" #define DEFAULT_NO_TABLE _("(Read Only)") #define DEFAULT_NO_TABLEW _(L"(Read Only)") #define DEFAULT_READONLY_RESULT _(L"Read-only result") -#define BUYURL "http://www.webyog.com/shop" -#define BUYURL_POWERTOOLS "http://www.webyog.com/shop/?ref=community.powertools" -////#define BUYURL_NAGBEGIN "http://www.webyog.com/shop/?ref=community.nagbegin" -#define BUYURL_TOOLBARRIBBON "http://www.webyog.com/shop/?ref=community.toolbarribbon" -#define BUYURL_NAGEND "http://www.webyog.com/shop/?ref=community.nagend" +#define BUYURL "http://www.webyog.com/product/sqlyogpricing" +#define BUYURL_POWERTOOLS "http://www.webyog.com/product/sqlyogpricing/?ref=community.powertools" +////#define BUYURL_NAGBEGIN "http://www.webyog.com/product/sqlyogpricing/?ref=community.nagbegin" +#define BUYURL_TOOLBARRIBBON "http://www.webyog.com/product/sqlyogpricing/?ref=community.toolbarribbon" +#define BUYURL_NAGEND "http://www.webyog.com/product/sqlyogpricing/?ref=community.nagend" #define HOMEURL_ABOUTUS "http://www.webyog.com/?ref=community.aboutus" -#define BUYURL_STATUSBAR "http://www.webyog.com/shop/?ref=community.statusbar" +#define BUYURL_STATUSBAR "http://www.webyog.com/product/sqlyogpricing/?ref=community.statusbar" #define HOMEURL_UPGRADECHECK "http://www.webyog.com/?ref=community.upgradecheck" -////#define BUYURL_BUYNAGBEGIN "http://www.webyog.com/shop/?ref=community.buynagbegin" -#define BUYURL_BUYNAGEND "http://www.webyog.com/shop/?ref=community.buynagend" -#define SUPPORTURL "https://www.webyog.com/customer" +////#define BUYURL_BUYNAGBEGIN "http://www.webyog.com/product/sqlyogpricing/?ref=community.buynagbegin" +#define BUYURL_BUYNAGEND "http://www.webyog.com/product/sqlyogpricing/?ref=community.buynagend" +#define SUPPORTURL "https://www.webyog.com/customer?ref=sqlyog" -#define BUYENT "http://www.webyog.com/shop" +#define BUYENT "http://www.webyog.com/product/sqlyogpricing" #define IMAGEURL "http://www.webyog.com" #define PRODUCTURL "https://www.webyog.com/product/sqlyog" #define COMMUNITYURL "https://www.webyog.com/community" @@ -1237,6 +1237,10 @@ wyInt32 SetListBoxWidth(HWND hwndlist); wyBool IsShowWarnings(); +///Halt Query Execution on Errors +wyBool IsHaltExecutionOnError(); + + /// Helper function to write the database information to xml file /** @param hfile : IN handle to the file diff --git a/include/MySQLVersionHelper.h b/include/MySQLVersionHelper.h index 7be6f7a..ea9ca72 100644 --- a/include/MySQLVersionHelper.h +++ b/include/MySQLVersionHelper.h @@ -147,6 +147,8 @@ wyBool IsMariaDB52(Tunnel * tunnel, PMYSQL mysql); //MySQL 5.7.0 for Virtual/Stored columns wyBool IsMySQL57(Tunnel * tunnel, PMYSQL mysql); +//MySQL 5.7.7 for SYS Schema +wyBool IsMySQL577(Tunnel * tunnel, PMYSQL mysql); /// Checks the server version is greater than or equal to mySQL5.0.2 /** @param tunnel: IN tunnel pointer diff --git a/include/QueryAnalyzerBase.h b/include/QueryAnalyzerBase.h index 6e3f909..71d5780 100644 --- a/include/QueryAnalyzerBase.h +++ b/include/QueryAnalyzerBase.h @@ -29,7 +29,7 @@ #define QA_ULTIMATE _("Query Profiler is available only in Ultimate version of SQLyog.\
 
\ -Click here to buy SQLyog Ultimate\ +Click here to buy SQLyog Ultimate\
 
\ Query Profiler Features:\