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
e7036596
Commit
e7036596
authored
Dec 16, 2004
by
pem@mysql.comhem.se
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed C++-ism into C in client_test.c.
parent
3afd1939
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
tests/client_test.c
tests/client_test.c
+2
-1
No files found.
tests/client_test.c
View file @
e7036596
...
@@ -12065,6 +12065,7 @@ static void test_truncation()
...
@@ -12065,6 +12065,7 @@ static void test_truncation()
MYSQL_STMT
*
stmt
;
MYSQL_STMT
*
stmt
;
const
char
*
stmt_text
;
const
char
*
stmt_text
;
int
rc
;
int
rc
;
uint
bind_count
;
MYSQL_BIND
*
bind_array
,
*
bind
;
MYSQL_BIND
*
bind_array
,
*
bind
;
myheader
(
"test_truncation"
);
myheader
(
"test_truncation"
);
...
@@ -12112,7 +12113,7 @@ static void test_truncation()
...
@@ -12112,7 +12113,7 @@ static void test_truncation()
check_execute
(
stmt
,
rc
);
check_execute
(
stmt
,
rc
);
rc
=
mysql_stmt_execute
(
stmt
);
rc
=
mysql_stmt_execute
(
stmt
);
check_execute
(
stmt
,
rc
);
check_execute
(
stmt
,
rc
);
uint
bind_count
=
(
uint
)
mysql_stmt_field_count
(
stmt
);
bind_count
=
(
uint
)
mysql_stmt_field_count
(
stmt
);
/*************** Fill in the bind structure and bind it **************/
/*************** Fill in the bind structure and bind it **************/
bind_array
=
malloc
(
sizeof
(
MYSQL_BIND
)
*
bind_count
);
bind_array
=
malloc
(
sizeof
(
MYSQL_BIND
)
*
bind_count
);
...
...
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