summaryrefslogtreecommitdiff
path: root/sql/sql_prepare.cc
diff options
context:
space:
mode:
authormonty@mishka.local <>2004-10-14 18:06:38 +0300
committermonty@mishka.local <>2004-10-14 18:06:38 +0300
commit57a85986ac46550dcf7ced4cb50111efe2a6e0ad (patch)
tree9616b70a88df88c50dde750a5d3caa05d5759819 /sql/sql_prepare.cc
parent3aaae0e390ffe1fae4560a395afb40ea78282e1f (diff)
parent719c88e38fd772efd3f13096380d57f282dfd649 (diff)
downloadmariadb-git-57a85986ac46550dcf7ced4cb50111efe2a6e0ad.tar.gz
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
into mishka.local:/home/my/mysql-4.1
Diffstat (limited to 'sql/sql_prepare.cc')
-rw-r--r--sql/sql_prepare.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_prepare.cc b/sql/sql_prepare.cc
index 27d98fdfeba..1bd359ec9ec 100644
--- a/sql/sql_prepare.cc
+++ b/sql/sql_prepare.cc
@@ -1781,7 +1781,7 @@ void mysql_stmt_execute(THD *thd, char *packet, uint packet_length)
goto set_params_data_err;
#endif
thd->protocol= &thd->protocol_prep; // Switch to binary protocol
- execute_stmt(thd, stmt, &expanded_query, true);
+ execute_stmt(thd, stmt, &expanded_query, TRUE);
thd->protocol= &thd->protocol_simple; // Use normal protocol
DBUG_VOID_RETURN;
@@ -1834,7 +1834,7 @@ void mysql_sql_stmt_execute(THD *thd, LEX_STRING *stmt_name)
my_error(ER_WRONG_ARGUMENTS, MYF(0), "EXECUTE");
send_error(thd);
}
- execute_stmt(thd, stmt, &expanded_query, false);
+ execute_stmt(thd, stmt, &expanded_query, FALSE);
DBUG_VOID_RETURN;
}