repo.or.cz
/
csql.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
This has following fixes.
[csql.git]
/
test
/
system
/
Allocator
/
delete1.c
blob
b757f24f92a86129e5ed1ed8e4848e2ccd7c4aae
1
2
#include
"common.h"
3
int
main
()
4
{
5
Connection conn
;
6
DbRetVal rv
=
conn
.
open
(
"root"
,
"manager"
);
7
if
(
rv
!=
OK
)
return
1
;
8
DatabaseManager
*
dbMgr
=
conn
.
getDatabaseManager
();
9
if
(
dbMgr
==
NULL
) {
printf
(
"Auth failed
\n
"
);
return
2
;}
10
int
ret
=
0
;
11
ret
=
deleteTuple
(
dbMgr
,
conn
,
"t1"
,
1
);
12
conn
.
close
();
13
return
ret
;
14
15
}