List:Commits« Previous MessageNext Message »
From:Bjorn Munch Date:November 24 2010 1:30pm
Subject:bzr commit into mysql-trunk-mtr branch (bjorn.munch:2990) Bug#58171
View as plain text  
#At file:///home/bm136801/my/s_u_e-tr/ based on revid:bjorn.munch@stripped

 2990 Bjorn Munch	2010-11-24
      Bug #58171 server_uuid_embedded fails sporadically
      Fixed if condition to explicitly test for empty string as it used to

    modified:
      mysql-test/t/server_uuid_embedded.test
=== modified file 'mysql-test/t/server_uuid_embedded.test'
--- a/mysql-test/t/server_uuid_embedded.test	2010-10-21 12:36:16 +0000
+++ b/mysql-test/t/server_uuid_embedded.test	2010-11-24 13:30:12 +0000
@@ -25,7 +25,8 @@ SET GLOBAL SERVER_UUID= UUID();
 --echo # SERVER_UUID is not null
 --echo -----------------------------------------------------------------------------
 --let $server_uuid= query_get_value(SELECT @@SERVER_UUID, @@SERVER_UUID, 1)
-if (!$server_uuid)
+# Cannot use !$server_uuid since it may begin with 0
+if ($server_uuid == '')
 {
   --echo server's UUID is null
 }


Attachment: [text/bzr-bundle] bzr/bjorn.munch@oracle.com-20101124133012-wn2w1sm0age7naln.bundle
Thread
bzr commit into mysql-trunk-mtr branch (bjorn.munch:2990) Bug#58171Bjorn Munch24 Nov