~ubuntu-branches/ubuntu/utopic/mariadb-5.5/utopic-security

« back to all changes in this revision

Viewing changes to packaging/rpm-uln/mysql-5.5-mtr1.patch

  • Committer: Package Import Robot
  • Author(s): Otto Kekäläinen
  • Date: 2014-08-27 21:12:36 UTC
  • mfrom: (2.1.6 sid)
  • Revision ID: package-import@ubuntu.com-20140827211236-se41hwfe4xy0hpef
* d/control: Removed Provides: libmysqlclient-dev (Closes: #759309)
* d/control: Removed Provides: libmysqld-dev with same motivation
* Re-introduced tha HPPA build patch as the upstream fix wasn't complete
* Fixed all kFreeBSD build and test suite issues
* Added Italian translation (Closes: #759813)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Drop support for version 1 of "mysql-test-run.pl" from the RPMs:
2
 
 
3
 
1) The auto-generation of Perl dependencies will mishandle that code,
4
 
   probably because its run directory differs from its storage location.
5
 
2) It does not provide several variables which are used in tests of MySQL 5.5
6
 
 
7
 
If you really need it, take it from the source tarball.
8
 
 
9
 
=== modified file 'mysql-test/mysql-test-run.pl'
10
 
--- mysql-5.5.17-orig/mysql-test/mysql-test-run.pl      2011-10-03 11:16:40 +0000
11
 
+++ mysql-5.5.17/mysql-test/mysql-test-run.pl   2011-11-16 19:06:38 +0000
12
 
@@ -58,10 +58,9 @@ BEGIN {
13
 
   if ( $version == 1 )
14
 
   {
15
 
     print "=======================================================\n";
16
 
-    print "  WARNING: Using mysql-test-run.pl version 1!  \n";
17
 
+    print "  ERROR: Support for version 1 is dropped in this distribution!  \n";
18
 
     print "=======================================================\n";
19
 
-    # Should use exec() here on *nix but this appears not to work on Windows
20
 
-    exit(system($^X, "lib/v1/mysql-test-run.pl", @ARGV) >> 8);
21
 
+    exit(1);
22
 
   }
23
 
   elsif ( $version == 2 )
24
 
   {
25