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
57feb662
Commit
57feb662
authored
May 06, 2004
by
konstantin@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Few cleanups to client_test.c
parent
c150453b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
9 deletions
+5
-9
tests/client_test.c
tests/client_test.c
+5
-9
No files found.
tests/client_test.c
View file @
57feb662
...
@@ -8189,10 +8189,6 @@ static void test_ts()
...
@@ -8189,10 +8189,6 @@ static void test_ts()
/*
/*
Test for bug #1500.
Test for bug #1500.
XXX: despite that this bug is fixed, it spots mysqld code which is not
working correctly yet: to fix all things properly we need to implement
Item::cleanup() method for all items (as described in bugs #1663 and
#1749). So don't be surprised in case valgrind barks on it.
*/
*/
static
void
test_bug1500
()
static
void
test_bug1500
()
...
@@ -8238,7 +8234,6 @@ static void test_bug1500()
...
@@ -8238,7 +8234,6 @@ static void test_bug1500()
assert
(
1
==
my_process_stmt_result
(
stmt
));
assert
(
1
==
my_process_stmt_result
(
stmt
));
/* FIXME If we comment out next string server will crash :( */
mysql_stmt_close
(
stmt
);
mysql_stmt_close
(
stmt
);
rc
=
mysql_query
(
mysql
,
"DROP TABLE test_bg1500"
);
rc
=
mysql_query
(
mysql
,
"DROP TABLE test_bg1500"
);
...
@@ -9351,16 +9346,17 @@ static void test_bug3035()
...
@@ -9351,16 +9346,17 @@ static void test_bug3035()
int64_val
=
int64_max
;
int64_val
=
int64_max
;
uint64_val
=
uint64_max
;
uint64_val
=
uint64_max
;
mysql_stmt_execute
(
stmt
);
rc
=
mysql_stmt_execute
(
stmt
);
check_execute
(
stmt
,
rc
);
check_execute
(
stmt
,
rc
);
stmt_text
=
"SELECT i8, ui8, i16, ui16, i32, ui32, i64, ui64, ui64, cast(ui64 as signed),ui64, cast(ui64 as signed)"
stmt_text
=
"SELECT i8, ui8, i16, ui16, i32, ui32, i64, ui64, ui64, "
"cast(ui64 as signed),ui64, cast(ui64 as signed)"
"FROM t1 ORDER BY id ASC"
;
"FROM t1 ORDER BY id ASC"
;
mysql_stmt_prepare
(
stmt
,
stmt_text
,
strlen
(
stmt_text
));
rc
=
mysql_stmt_prepare
(
stmt
,
stmt_text
,
strlen
(
stmt_text
));
check_execute
(
stmt
,
rc
);
check_execute
(
stmt
,
rc
);
mysql_stmt_execute
(
stmt
);
rc
=
mysql_stmt_execute
(
stmt
);
check_execute
(
stmt
,
rc
);
check_execute
(
stmt
,
rc
);
bind_array
[
8
].
buffer_type
=
MYSQL_TYPE_DOUBLE
;
bind_array
[
8
].
buffer_type
=
MYSQL_TYPE_DOUBLE
;
...
...
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