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
e26aef9f
Commit
e26aef9f
authored
Aug 10, 2006
by
Reggie@xgeek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Some small cleanups that will help get mysql_client_test passing on Windows
parent
6b399a49
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
tests/mysql_client_test.c
tests/mysql_client_test.c
+7
-2
No files found.
tests/mysql_client_test.c
View file @
e26aef9f
...
...
@@ -3976,6 +3976,7 @@ static void test_fetch_date()
c7 timestamp(6))"
);
myquery
(
rc
);
rc
=
mysql_query
(
mysql
,
"SET SQL_MODE=''"
);
rc
=
mysql_query
(
mysql
,
"INSERT INTO test_bind_result VALUES('2002-01-02', \
'12:49:00', \
'2002-01-02 17:46:59', \
...
...
@@ -8350,6 +8351,7 @@ static void test_bug19671()
int
rc
;
myheader
(
"test_bug19671"
);
mysql_query
(
mysql
,
"set sql_mode=''"
);
rc
=
mysql_query
(
mysql
,
"drop table if exists t1"
);
myquery
(
rc
);
...
...
@@ -8920,7 +8922,7 @@ static void test_bug1500()
rc
=
mysql_query
(
mysql
,
"DROP TABLE test_bg1500"
);
myquery
(
rc
);
rc
=
mysql_query
(
mysql
,
"CREATE TABLE test_bg1500 (s VARCHAR(25), FULLTEXT(s))"
);
rc
=
mysql_query
(
mysql
,
"CREATE TABLE test_bg1500 (s VARCHAR(25), FULLTEXT(s))
engine=MyISAM
"
);
myquery
(
rc
);
rc
=
mysql_query
(
mysql
,
...
...
@@ -12020,6 +12022,7 @@ static void test_bug6096()
rc
=
mysql_real_query
(
mysql
,
stmt_text
,
strlen
(
stmt_text
));
myquery
(
rc
);
mysql_query
(
mysql
,
"set sql_mode=''"
);
stmt_text
=
"create table t1 (c_tinyint tinyint, c_smallint smallint, "
" c_mediumint mediumint, c_int int, "
" c_bigint bigint, c_float float, "
...
...
@@ -12904,7 +12907,9 @@ static void test_bug8378()
/* No escaping should have actually happened. */
DIE_UNLESS
(
memcmp
(
out
,
TEST_BUG8378_OUT
,
len
)
==
0
);
sprintf
(
buf
,
"SELECT '%s'"
,
out
);
strcpy
(
buf
,
"SELECT '"
);
memcpy
(
buf
+
8
,
out
,
len
);
buf
[
8
+
len
]
=
'\''
;
rc
=
mysql_real_query
(
mysql
,
buf
,
strlen
(
buf
));
myquery
(
rc
);
...
...
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