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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
10181a7f
Commit
10181a7f
authored
Apr 23, 2007
by
msvensson@pilot.blaudden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix warnings reported by icc
parent
a31fce0a
Changes
1
Show 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 @
10181a7f
...
@@ -85,7 +85,7 @@ struct my_tests_st
...
@@ -85,7 +85,7 @@ struct my_tests_st
if (opt_silent < 2) \
if (opt_silent < 2) \
{ \
{ \
fprintf(stdout, "\n\n#####################################\n"); \
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); \
opt_count, str); \
fprintf(stdout, " \n#####################################\n"); \
fprintf(stdout, " \n#####################################\n"); \
}
}
...
@@ -99,7 +99,7 @@ if (!opt_silent) \
...
@@ -99,7 +99,7 @@ if (!opt_silent) \
static
void
print_error
(
const
char
*
msg
);
static
void
print_error
(
const
char
*
msg
);
static
void
print_st_error
(
MYSQL_STMT
*
stmt
,
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();
...
@@ -118,7 +118,7 @@ static void client_disconnect();
#define DIE(expr) \
#define DIE(expr) \
die(__FILE__, __LINE__, #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
);
fflush
(
stdout
);
fprintf
(
stderr
,
"%s:%d: check failed: '%s'
\n
"
,
file
,
line
,
expr
);
fprintf
(
stderr
,
"%s:%d: check failed: '%s'
\n
"
,
file
,
line
,
expr
);
...
@@ -252,7 +252,7 @@ static my_bool check_have_innodb(MYSQL *conn)
...
@@ -252,7 +252,7 @@ static my_bool check_have_innodb(MYSQL *conn)
mysql_simple_prepare(): a variant without the 'length' parameter.
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_simple_prepare
(
MYSQL
*
mysql_arg
,
const
char
*
query
)
{
{
MYSQL_STMT
*
stmt
=
mysql_stmt_init
(
mysql_arg
);
MYSQL_STMT
*
stmt
=
mysql_stmt_init
(
mysql_arg
);
...
@@ -467,7 +467,7 @@ static void my_print_result_metadata(MYSQL_RES *result)
...
@@ -467,7 +467,7 @@ static void my_print_result_metadata(MYSQL_RES *result)
/* Process the result set */
/* 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_ROW
row
;
MYSQL_FIELD
*
field
;
MYSQL_FIELD
*
field
;
...
@@ -523,7 +523,7 @@ int my_process_result_set(MYSQL_RES *result)
...
@@ -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
;
MYSQL_RES
*
result
;
int
row_count
;
int
row_count
;
...
@@ -543,7 +543,7 @@ int my_process_result(MYSQL *mysql_arg)
...
@@ -543,7 +543,7 @@ int my_process_result(MYSQL *mysql_arg)
#define MAX_RES_FIELDS 50
#define MAX_RES_FIELDS 50
#define MAX_FIELD_DATA_SIZE 255
#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
field_count
;
int
row_count
=
0
;
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