Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
uniset2
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UniSet project repositories
uniset2
Commits
bccb45a7
Commit
bccb45a7
authored
Sep 14, 2009
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix build
parent
6e876dea
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
8 deletions
+10
-8
JrnTest.cc
Utilities/JrnTests/JrnTest.cc
+10
-8
No files found.
Utilities/JrnTests/JrnTest.cc
View file @
bccb45a7
...
...
@@ -25,11 +25,13 @@
// --------------------------------------------------------------------------
#include "stdio.h"
#include "stdlib.h"
#include "string.h"
#include "Storages.h"
#include "UniXML.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <Storages.h>
#include <UniXML.h>
#include <UniSetTypes.h>
int
seek
=
0
;
int
b_size
=
100000
;
...
...
@@ -160,12 +162,12 @@ bool testTable2(void)
for
(
i
=
1
;
i
<
20
;
i
++
)
{
if
(
t
.
findKeyValue
(
&
i
,
val
)
!=
0
)
printf
(
"%s, "
,
val
);
if
((
atoi
(
val
)
!=
i
+
40
)
&&
(
i
>
2
)
&&
(
i
<
11
))
if
((
UniSetTypes
::
uni_
atoi
(
val
)
!=
i
+
40
)
&&
(
i
>
2
)
&&
(
i
<
11
))
{
delete
val
;
return
false
;
}
if
((
atoi
(
val
)
!=
i
+
10
)
&&
(
i
<
3
))
if
((
UniSetTypes
::
uni_
atoi
(
val
)
!=
i
+
10
)
&&
(
i
<
3
))
{
delete
val
;
return
false
;
...
...
@@ -266,7 +268,7 @@ bool testJournal1(void)
for
(
i
=
1
;
i
<
20
;
i
++
)
{
if
(
t
.
findKeyValue
((
char
*
)
&
i
,
val
)
!=
0
)
printf
(
"%s, "
,
val
);
if
((
atoi
(
val
)
!=
i
+
10
)
&&
(
i
<
3
))
if
((
UniSetTypes
::
uni_
atoi
(
val
)
!=
i
+
10
)
&&
(
i
<
3
))
{
delete
val
;
delete
str
;
...
...
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