From 992d2305914b79f07c062ac0c35b95804105b40b Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 19 Apr 2005 08:23:03 +0300 Subject: [PATCH] Style change. Use 1 and 0 instead of true and false. --- sql/ha_innodb.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sql/ha_innodb.cc b/sql/ha_innodb.cc index 06d9bf24c13..83c72594dfb 100644 --- a/sql/ha_innodb.cc +++ b/sql/ha_innodb.cc @@ -5666,7 +5666,7 @@ prototype for this function ! */ ibool innobase_query_is_update(void) -/*===========================*/ +/*==========================*/ { THD* thd; @@ -5676,15 +5676,15 @@ innobase_query_is_update(void) 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); } }