Package: mysql-workbench / 8.0.41+dfsg-1

Metadata

Package Version Patches format
mysql-workbench 8.0.41+dfsg-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
antlr_rollback.patch | (download)

library/parsers/code-completion/CodeCompletionCore.cpp | 44 22 + 22 - 0 !
library/parsers/code-completion/CodeCompletionCore.h | 2 1 + 1 - 0 !
2 files changed, 23 insertions(+), 23 deletions(-)

 undo some changes that cause ftbfs.
 (I don't actually know what I'm doing here.)


cmake_antlr jar filename.patch | (download)

CMakeLists.txt | 9 1 + 8 - 0 !
1 file changed, 1 insertion(+), 8 deletions(-)

 un-hardcode antlr jar name.


cppconn_libpath.patch | (download)

build/cmake/Modules/FindMySQLCppConn.cmake | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix ftbfs; mysql-connector-c++ v8 moved header(s) to "jdbc".


mariadb build.patch | (download)

plugins/migration/copytable/copytable.cpp | 20 2 + 18 - 0 !
1 file changed, 2 insertions(+), 18 deletions(-)

 fix ftbfs with mariadb.
 mysql_real_escape_string_quote() has been implemented as a replacement
 for mysql_real_escape_string() in MySQL 5.7.6 but is not implemented
 in libmysqlclient of MariaDB 10.0.21


mariadb version.patch | (download)

CMakeLists.txt | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix ftbfs with mariadb.


projloc.patch | (download)

frontend/linux/workbench/mysql-workbench.in | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

 improve/fix search for "libproj.so".


size_t.patch | (download)

backend/wbprivate/sqlide/wb_sql_editor_form.cpp | 2 1 + 1 - 0 !
library/ssh/SSHCommon.cpp | 12 6 + 6 - 0 !
library/ssh/SSHSession.cpp | 6 3 + 3 - 0 !
3 files changed, 10 insertions(+), 10 deletions(-)

 use correct format specifier for size_t

%zu instead of %lu, otherwise on 32 bit:
~~~~
 library/ssh/SSHCommon.cpp:171:15: error: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'ssize_t' {aka 'int'} [-Werror=format=]
     logDebug2("SSH bufferSize: %lu\n", bufferSize);
               ^~~~~~~~~~~~~~~~~~~~~~~  ~~~~~~~~~~
 library/ssh/SSHCommon.cpp:172:15: error: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::size_t' {aka 'unsigned int'} [-Werror=format=]
     logDebug2("SSH connectTimeout: %lu\n", connectTimeout);
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~  ~~~~~~~~~~~~~~
 library/ssh/SSHCommon.cpp:173:15: error: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::size_t' {aka 'unsigned int'} [-Werror=format=]
     logDebug2("SSH readWriteTimeout: %lu\n", readWriteTimeout);
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ~~~~~~~~~~~~~~~~
 library/ssh/SSHCommon.cpp:174:15: error: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::size_t' {aka 'unsigned int'} [-Werror=format=]
     logDebug2("SSH commandTimeout: %lu\n", commandTimeout);
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~  ~~~~~~~~~~~~~~
 library/ssh/SSHCommon.cpp:175:15: error: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::size_t' {aka 'unsigned int'} [-Werror=format=]
     logDebug2("SSH commandRetryCount: %lu\n", commandRetryCount);
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ~~~~~~~~~~~~~~~~~
 library/ssh/SSHCommon.cpp:183:15: error: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::size_t' {aka 'unsigned int'} [-Werror=format=]
     logDebug2("SSH remote ssh port: %lu\n", remoteSSHport);
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~  ~~~~~~~~~~~~~

 library/ssh/SSHSession.cpp:150:16: error: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'std::size_t' {aka 'unsigned int'} [-Werror=format=]
       logError("Unable to connect: %s:%lu\nError was: %s\n", config.remoteSSHhost.c_str(), config.remoteSSHport,
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                ~~~~~~~~~~~~~~~~~~~~
 library/ssh/SSHSession.cpp: In member function 'std::tuple<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int> ssh::SSHSession::execCmd(std::__cxx11::string, std::size_t)':
 library/ssh/SSHSession.cpp:363:15: error: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::size_t' {aka 'unsigned int'} [-Werror=format=]
     logDebug3("Bytes read: %lu\n", bytesRead);
               ^~~~~~~~~~~~~~~~~~~  ~~~~~~~~~
 library/ssh/SSHSession.cpp: In member function 'std::tuple<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int> ssh::SSHSession::execCmdSudo(std::__cxx11::string, std::__cxx11::string, std::__cxx11::string, std::size_t)':
 library/ssh/SSHSession.cpp:482:15: error: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::size_t' {aka 'unsigned int'} [-Werror=format=]
     logDebug3("Bytes read: %lu\n", bytesRead);
               ^~~~~~~~~~~~~~~~~~~  ~~~~~~~~~

 backend/wbprivate/sqlide/wb_sql_editor_form.cpp:1880:17: error: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'unsigned int' [-Werror=format=]
       logDebug3("Executing statement range: %lu, %lu...\n", statement_range.first, statement_range.second);
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ~~~~~~~~~~~~~~~~~~~~~
~~~~


specify char signedness.patch | (download)

library/sql.parser/source/ctype-utf8.cpp | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix error related to char signedness


swig_4.3.patch | (download)

library/forms/swig/cairo.i | 2 1 + 1 - 0 !
library/forms/swig/mforms.i | 6 3 + 3 - 0 !
2 files changed, 4 insertions(+), 4 deletions(-)

 fix ftbfs with swig 4.3
```
error: too few arguments to function 'PyObject* SWIG_Python_AppendOutput
```


un mysql.patch | (download)

plugins/migration/copytable/copytable.cpp | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix ftbfs with mariadb.