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
b2eda142
Commit
b2eda142
authored
Apr 23, 2007
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix warnings reported by icc
parent
4e375125
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
tests/mysql_client_test.c
tests/mysql_client_test.c
+7
-7
No files found.
tests/mysql_client_test.c
View file @
b2eda142
...
...
@@ -85,7 +85,7 @@ struct my_tests_st
if (opt_silent < 2) \
{ \
fprintf(stdout, "\n\n#####################################\n"); \
fprintf(stdout, "%
d of (%d/%d
): %s", test_count++, iter_count, \
fprintf(stdout, "%
u of (%u/%u
): %s", test_count++, iter_count, \
opt_count, str); \
fprintf(stdout, " \n#####################################\n"); \
}
...
...
@@ -99,7 +99,7 @@ if (!opt_silent) \
static
void
print_error
(
const
char
*
msg
);
static
void
print_st_error
(
MYSQL_STMT
*
stmt
,
const
char
*
msg
);
static
void
client_disconnect
();
static
void
client_disconnect
(
void
);
/*
...
...
@@ -118,7 +118,7 @@ static void client_disconnect();
#define DIE(expr) \
die(__FILE__, __LINE__, #expr)
void
die
(
const
char
*
file
,
int
line
,
const
char
*
expr
)
static
void
die
(
const
char
*
file
,
int
line
,
const
char
*
expr
)
{
fflush
(
stdout
);
fprintf
(
stderr
,
"%s:%d: check failed: '%s'
\n
"
,
file
,
line
,
expr
);
...
...
@@ -252,7 +252,7 @@ static my_bool check_have_innodb(MYSQL *conn)
mysql_simple_prepare(): a variant without the 'length' parameter.
*/
MYSQL_STMT
*
STDCALL
static
MYSQL_STMT
*
STDCALL
mysql_simple_prepare
(
MYSQL
*
mysql_arg
,
const
char
*
query
)
{
MYSQL_STMT
*
stmt
=
mysql_stmt_init
(
mysql_arg
);
...
...
@@ -467,7 +467,7 @@ static void my_print_result_metadata(MYSQL_RES *result)
/* Process the result set */
int
my_process_result_set
(
MYSQL_RES
*
result
)
static
int
my_process_result_set
(
MYSQL_RES
*
result
)
{
MYSQL_ROW
row
;
MYSQL_FIELD
*
field
;
...
...
@@ -523,7 +523,7 @@ int my_process_result_set(MYSQL_RES *result)
}
int
my_process_result
(
MYSQL
*
mysql_arg
)
static
int
my_process_result
(
MYSQL
*
mysql_arg
)
{
MYSQL_RES
*
result
;
int
row_count
;
...
...
@@ -543,7 +543,7 @@ int my_process_result(MYSQL *mysql_arg)
#define MAX_RES_FIELDS 50
#define MAX_FIELD_DATA_SIZE 255
int
my_process_stmt_result
(
MYSQL_STMT
*
stmt
)
static
int
my_process_stmt_result
(
MYSQL_STMT
*
stmt
)
{
int
field_count
;
int
row_count
=
0
;
...
...
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