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
22639def
Commit
22639def
authored
Jan 05, 2005
by
wax@kishkin.ru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
replace position names and testes
fixed bug
parent
e010add5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
mysql-test/mysql_test_run_new.c
mysql-test/mysql_test_run_new.c
+4
-4
No files found.
mysql-test/mysql_test_run_new.c
View file @
22639def
...
@@ -1531,10 +1531,10 @@ int main(int argc, char **argv)
...
@@ -1531,10 +1531,10 @@ int main(int argc, char **argv)
else
else
{
{
/* run all tests */
/* run all tests */
nam
es
=
malloc
(
MAX_COUNT_TESTES
*
sizeof
(
void
*
));
test
es
=
malloc
(
MAX_COUNT_TESTES
*
sizeof
(
void
*
));
if
(
!
nam
es
)
if
(
!
test
es
)
die
(
"can not allcate memory for sorting"
);
die
(
"can not allcate memory for sorting"
);
testes
=
nam
es
;
names
=
test
es
;
name_index
=
0
;
name_index
=
0
;
#ifndef __WIN__
#ifndef __WIN__
struct
dirent
*
entry
;
struct
dirent
*
entry
;
...
@@ -1619,7 +1619,7 @@ int main(int argc, char **argv)
...
@@ -1619,7 +1619,7 @@ int main(int argc, char **argv)
#endif
#endif
qsort
(
(
void
*
)
testes
,
name_index
,
sizeof
(
char
*
),
compare
);
qsort
(
(
void
*
)
testes
,
name_index
,
sizeof
(
char
*
),
compare
);
for
(
index
=
0
;
index
<
=
name_index
;
index
++
)
for
(
index
=
0
;
index
<
name_index
;
index
++
)
{
{
run_test
(
testes
[
index
]);
run_test
(
testes
[
index
]);
free
(
testes
[
index
]);
free
(
testes
[
index
]);
...
...
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