List:Internals« Previous MessageNext Message »
From:jan.lindstrom Date:April 19 2005 5:23am
Subject:bk commit into 4.1 tree (jan:1.2196)
View as plain text  
Below is the list of changes that have just been committed into a local
4.1 repository of jan. When jan 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
  1.2196 05/04/19 08:23:03 jan@stripped +1 -0
  Style change. Use 1 and 0 instead of true and false.

  sql/ha_innodb.cc
    1.192 05/04/19 08:22:57 jan@stripped +4 -4
    Style change. Use 1 and 0 instead of true and false.

# 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:	jan
# Host:	hundin.mysql.fi
# Root:	/home/jan/mysql-4.1

--- 1.191/sql/ha_innodb.cc	Mon Apr 18 12:17:09 2005
+++ 1.192/sql/ha_innodb.cc	Tue Apr 19 08:22:57 2005
@@ -5666,7 +5666,7 @@
 
 ibool
 innobase_query_is_update(void)
-/*===========================*/
+/*==========================*/
 {
 	THD*	thd;
 	
@@ -5676,15 +5676,15 @@
 	     thd->lex->sql_command == SQLCOM_REPLACE_SELECT ||
 	     ( thd->lex->sql_command == SQLCOM_LOAD &&
 	       thd->lex->duplicates == DUP_REPLACE )) {
-		return true;
+		return(1);
 	}
 
 	if ( thd->lex->sql_command == SQLCOM_INSERT &&
 	     thd->lex->duplicates  == DUP_UPDATE ) {
-		return true;
+		return(1);
 	}
 
-	return false;
+	return(0);
 }
 }
 
Thread
bk commit into 4.1 tree (jan:1.2196)jan.lindstrom19 Apr