Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
683b3a81
Commit
683b3a81
authored
Feb 22, 2013
by
sayantan.dutta@oracle.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug #13619394 - MAKE TEST FAILS ON MY_VSNPRINTF
parent
4cb7be60
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
unittest/mysys/my_vsnprintf-t.c
unittest/mysys/my_vsnprintf-t.c
+3
-1
No files found.
unittest/mysys/my_vsnprintf-t.c
View file @
683b3a81
/* Copyright (c) 2003, 201
1
, Oracle and/or its affiliates. All rights reserved.
/* Copyright (c) 2003, 201
3
, 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"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment