]> git.pld-linux.org Git - packages/mysql-workbench.git/commitdiff
- json patch no longer needed
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 8 Mar 2018 10:35:41 +0000 (11:35 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Thu, 8 Mar 2018 10:35:41 +0000 (11:35 +0100)
mysql-workbench-json.patch [deleted file]
mysql-workbench.spec

diff --git a/mysql-workbench-json.patch b/mysql-workbench-json.patch
deleted file mode 100644 (file)
index 493f215..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
---- mysql-workbench-community-6.3.10-src/plugins/migration/copytable/copytable.cpp.orig        2017-11-09 17:11:42.000000000 +0100
-+++ mysql-workbench-community-6.3.10-src/plugins/migration/copytable/copytable.cpp     2018-03-02 20:07:46.147102294 +0100
-@@ -109,8 +109,10 @@ static const char *mysql_field_type_to_n
-       return "MYSQL_TYPE_STRING";
-     case MYSQL_TYPE_GEOMETRY:
-       return "MYSQL_TYPE_GEOMETRY";
-+#ifdef MYSQL_TYPE_JSON
-     case MYSQL_TYPE_JSON:
-       return "MYSQL_TYPE_JSON";
-+#endif
-     default:
-       return "UNKNOWN";
-   }
-@@ -295,7 +297,9 @@ RowBuffer::RowBuffer(std::shared_ptr<std
-       case MYSQL_TYPE_STRING:
-       case MYSQL_TYPE_VAR_STRING:
-       case MYSQL_TYPE_BIT:
-+#ifdef MYSQL_TYPE_JSON
-       case MYSQL_TYPE_JSON:
-+#endif
-         if (!col->is_long_data)
-           bind.buffer_length = (unsigned)col->source_length + 1;
-@@ -1392,7 +1396,11 @@ bool MySQLCopyDataSource::fetch_row(RowB
-               rowbuffer[index].buffer_type == MYSQL_TYPE_MEDIUM_BLOB ||
-               rowbuffer[index].buffer_type == MYSQL_TYPE_LONG_BLOB || rowbuffer[index].buffer_type == MYSQL_TYPE_BLOB ||
-               rowbuffer[index].buffer_type == MYSQL_TYPE_STRING ||
--              rowbuffer[index].buffer_type == MYSQL_TYPE_GEOMETRY || rowbuffer[index].buffer_type == MYSQL_TYPE_JSON) {
-+              rowbuffer[index].buffer_type == MYSQL_TYPE_GEOMETRY
-+#ifdef MYSQL_TYPE_JSON
-+              || rowbuffer[index].buffer_type == MYSQL_TYPE_JSON
-+#endif
-+              ){
-             if (rowbuffer[index].buffer_length)
-               free(rowbuffer[index].buffer);
-@@ -2162,7 +2170,9 @@ bool MySQLCopyDataTarget::append_bulk_co
-       case MYSQL_TYPE_STRING:
-       case MYSQL_TYPE_ENUM:
-       case MYSQL_TYPE_SET:
-+#ifdef MYSQL_TYPE_JSON
-       case MYSQL_TYPE_JSON:
-+#endif
-         _bulk_insert_record.append("'", 1);
-         ret_val = _bulk_insert_record.append_escaped((char *)(*_row_buffer)[col_index].buffer,
-                                                      *(*_row_buffer)[col_index].length);
index 8cb1fd300104a74b856cc28cb653ef78390aefcf..5d59b93aa6ad5f10e3fe803a8bdd2256d13cdab5 100644 (file)
@@ -29,8 +29,7 @@ Patch2:               bashism.patch
 Patch3:                wrapper-exec.patch
 Patch4:                antlr-res.patch
 Patch5:                mysql-version.patch
-Patch6:                %{name}-json.patch
-Patch7:                ldconfig.patch
+Patch6:                ldconfig.patch
 URL:           http://wb.mysql.com/
 BuildRequires: OpenGL-devel
 BuildRequires: autoconf
@@ -109,7 +108,6 @@ skomplikowanych migracji do MySQL-a.
 %patch4 -p1
 %patch5 -p1
 %patch6 -p1
-%patch7 -p1
 cp -p '%{SOURCE2}' res/mysql.profiles
 
 %if %{with system_antlr}
This page took 0.164781 seconds and 4 git commands to generate.