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
10aedc87
Commit
10aedc87
authored
Sep 15, 2004
by
konstantin@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix the test case for bug#4231 (which before was passing just by occasion)
parent
da7dbde8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
tests/client_test.c
tests/client_test.c
+3
-3
No files found.
tests/client_test.c
View file @
10aedc87
...
...
@@ -10122,9 +10122,9 @@ static void test_bug4231()
bzero
(
bind
,
sizeof
(
bind
));
bzero
(
tm
,
sizeof
(
tm
));
bind
[
0
].
buffer_type
=
MYSQL_TYPE_
TIM
E
;
bind
[
0
].
buffer_type
=
MYSQL_TYPE_
DAT
E
;
bind
[
0
].
buffer
=
&
tm
[
0
];
bind
[
1
].
buffer_type
=
MYSQL_TYPE_
TIM
E
;
bind
[
1
].
buffer_type
=
MYSQL_TYPE_
DAT
E
;
bind
[
1
].
buffer
=
&
tm
[
1
];
mysql_stmt_bind_param
(
stmt
,
bind
);
...
...
@@ -10152,7 +10152,7 @@ static void test_bug4231()
/* Set one of the dates to zero */
tm
[
0
].
year
=
tm
[
0
].
month
=
tm
[
0
].
day
=
0
;
tm
[
1
]
=
tm
[
1
];
tm
[
1
]
=
tm
[
0
];
mysql_stmt_execute
(
stmt
);
rc
=
mysql_stmt_fetch
(
stmt
);
DBUG_ASSERT
(
rc
==
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