List:Commits« Previous MessageNext Message »
From:Ignacio Galarza Date:August 22 2006 12:33am
Subject:bk commit into 5.1 tree (iggy:1.2290)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of iggy. When iggy does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet@stripped, 2006-08-21 20:33:22-04:00, iggy@stripped +2 -0
  Merge rolltop.ignatz42.dyndns.org:/mnt/storeage/mysql-5.0-maint_21757
  into  rolltop.ignatz42.dyndns.org:/mnt/storeage/mysql-5.1-new-maint_21757
  MERGE: 1.1810.1697.124

  client/mysqltest.c@stripped, 2006-08-21 20:33:18-04:00, iggy@stripped +3 -0
    manual merge.
    MERGE: 1.155.9.50

  tests/mysql_client_test.c@stripped, 2006-08-21 20:32:04-04:00, iggy@stripped +0 -0
    Auto merged
    MERGE: 1.167.1.37

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	iggy
# Host:	rolltop.ignatz42.dyndns.org
# Root:	/mnt/storeage/mysql-5.1-new-maint_21757/RESYNC

--- 1.205/tests/mysql_client_test.c	2006-08-21 20:33:33 -04:00
+++ 1.206/tests/mysql_client_test.c	2006-08-21 20:33:33 -04:00
@@ -14968,7 +14968,7 @@
   strcpy(master_log_filename, opt_vardir);
   strcat(master_log_filename, "/log/master.log");
   printf("Opening '%s'\n", master_log_filename);
-  log_file= fopen(master_log_filename, "r");
+  log_file= my_fopen(master_log_filename, (int) (O_RDONLY | O_BINARY), MYF(MY_WME));
   free(master_log_filename);
 
   if (log_file != NULL) {
@@ -14993,6 +14993,8 @@
             DIE("Read error");
           }
         }
+        /* Print the line */
+        printf("%s", line_buffer);
 
       } while (my_memmem(line_buffer, MAX_TEST_QUERY_LENGTH*2,
             statement_cursor->buffer, statement_cursor->length) == NULL);
@@ -15013,7 +15015,7 @@
   }
 
   if (log_file != NULL)
-    fclose(log_file);
+    my_fclose(log_file, MYF(0));
 
 }
 
Thread
bk commit into 5.1 tree (iggy:1.2290)Ignacio Galarza22 Aug