From 04780043ef2bc42780d923c1535051cbe2f3bca9 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 22 Feb 2013 15:22:15 +0100 Subject: [PATCH] Bug #13619394 - MAKE TEST FAILS ON MY_VSNPRINTF --- unittest/mysys/my_vsnprintf-t.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/unittest/mysys/my_vsnprintf-t.c b/unittest/mysys/my_vsnprintf-t.c index 06f6878826a..349e7469141 100644 --- a/unittest/mysys/my_vsnprintf-t.c +++ b/unittest/mysys/my_vsnprintf-t.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved. +/* Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -154,8 +154,10 @@ int main(void) test1("conn 1 to: '(null)' user: '(null)' host: '(null)' ((null))", "conn %ld to: '%-.64s' user: '%-.32s' host: '%-.64s' (%-.64s)", 1L, NULL, NULL, NULL, NULL); +#if defined (__GNUC__) test1("Hello string `I am a string`", "Hello string %`s", "I am a string"); +#endif test1("Hello TEST", "Hello %05s", "TEST"); test1("My `Q` test",