From 5415dcc337cb348f35bc17299a2ca07ac60316f8 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 24 Jul 2007 10:50:28 -0700 Subject: fix compile on Windows for bug25714.c --- fix compile on Windows for bug25714.c tests/bug25714.c: fix compile on Windows --- tests/bug25714.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/bug25714.c b/tests/bug25714.c index d163b8ad00e..e9b2be44209 100644 --- a/tests/bug25714.c +++ b/tests/bug25714.c @@ -13,10 +13,10 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#include +#include #include -#include -#include -#include +#include #include int main (int argc, char **argv) @@ -27,6 +27,8 @@ int main (int argc, char **argv) const char* query4= "INSERT INTO federated.t1 SET Value=54"; const char* query5= "INSERT INTO federated.t1 SET Value=55"; + MY_INIT(argv[0]); + if (argc != 2) return -1; @@ -63,6 +65,7 @@ int main (int argc, char **argv) (long) mysql_insert_id(&conn)); mysql_close(&conn); + my_end(0); return 0; }; -- cgit v1.2.1