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
e293389f
Commit
e293389f
authored
May 06, 2008
by
davi@mysql.com/endora.local
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Silence warning due to copying the address of a string constant
into a non-const string pointer.
parent
cd2d5b19
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
client/mysqltest.c
client/mysqltest.c
+3
-1
No files found.
client/mysqltest.c
View file @
e293389f
...
...
@@ -5597,6 +5597,8 @@ void fix_win_paths(const char *val, int len)
void
append_field
(
DYNAMIC_STRING
*
ds
,
uint
col_idx
,
MYSQL_FIELD
*
field
,
char
*
val
,
ulonglong
len
,
my_bool
is_null
)
{
char
null
[]
=
"NULL"
;
if
(
col_idx
<
max_replace_column
&&
replace_column
[
col_idx
])
{
val
=
replace_column
[
col_idx
];
...
...
@@ -5604,7 +5606,7 @@ void append_field(DYNAMIC_STRING *ds, uint col_idx, MYSQL_FIELD* field,
}
else
if
(
is_null
)
{
val
=
"NULL"
;
val
=
null
;
len
=
4
;
}
#ifdef __WIN__
...
...
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