From 9946ed16f3288e2da3b0e7c32bccd1ef5cee44a9 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 5 Feb 2007 17:09:44 +0200 Subject: Test and bug fixes and removed unneccessary files. mysys/my_getopt.c: Fixes problem with getting output lines from my_getopt in random places in tests. sql/sql_prepare.cc: Fixes problem with failing mysql_client_test on some machines. This is actually a problem with prepared statements. --- sql/sql_prepare.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sql') diff --git a/sql/sql_prepare.cc b/sql/sql_prepare.cc index 75c6dacc4a7..feab4d08c32 100644 --- a/sql/sql_prepare.cc +++ b/sql/sql_prepare.cc @@ -1781,8 +1781,9 @@ static void reset_stmt_params(Prepared_statement *stmt) packet_length Query string length, including terminator character. */ -void mysql_stmt_execute(THD *thd, char *packet, uint packet_length) +void mysql_stmt_execute(THD *thd, char *packet_arg, uint packet_length) { + uchar *packet= (uchar*)packet_arg; // GCC 4.0.1 workaround ulong stmt_id= uint4korr(packet); /* Query text for binary log, or empty string if the query is not put into -- cgit v1.2.1