Searched refs:subdb (Results 1 - 25 of 52) sorted by relevance

123

/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/test/
H A Dsdbtest002.tcl8 # TEST Tests multiple access methods in one subdb access by multiple
12 # TEST Put/get per key per subdb
14 # TEST data from their subdb and then exit
15 # TEST Dump file, verify contents of each subdb is correct
16 # TEST Close, reopen per subdb
17 # TEST Dump file, verify per subdb
19 # TEST Make several subdb's of different access methods all in one DB.
20 # TEST Fork of some child procs to each manipulate one subdb and when
29 puts "Subdbtest002: many different subdb access methods in one"
68 for { set subdb
[all...]
H A Dsdb001.tcl7 # TEST sdb001 Tests mixing db and subdb operations
8 # TEST Tests mixing db and subdb operations
9 # TEST Create a db, add data, try to create a subdb.
10 # TEST Test naming db and subdb with a leading - for correct parsing
13 # TEST Test non-subdb and subdb operations
15 # TEST Test existence (cannot create subdb of same name with -excl)
27 puts "Subdb001: $method ($args) subdb and non-subdb tests"
39 set subdb subdb
[all...]
H A Dsdbtest001.tcl8 # TEST Tests multiple access methods in one subdb
11 # TEST Put/get per key per subdb
12 # TEST Dump file, verify per subdb
13 # TEST Close, reopen per subdb
14 # TEST Dump file, verify per subdb
16 # TEST Make several subdb's of different access methods all in one DB.
25 puts "Subdbtest001: many different subdb access methods in one"
75 for { set subdb 0 } { $subdb < $nsubdbs } { incr subdb } {
[all...]
H A Dsdb008.tcl41 puts "Subdb008: $method ($args) subdb tests with different lorders"
43 puts "\tSubdb008.a.0: create subdb with system default lorder"
50 error_check_good subdb [is_valid_db $db] TRUE
53 # Explicitly try to create subdb's of each byte order. In both
54 # cases the subdb should be forced to the byte order of the
56 puts "\tSubdb008.a.1: Try to create subdb with -1234 lorder"
60 error_check_good subdb [is_valid_db $db] TRUE
63 puts "\tSubdb008.a.2: Try to create subdb with -4321 lorder"
67 error_check_good subdb [is_valid_db $db] TRUE
70 puts "\tSubdb008.b.0: create subdb wit
[all...]
H A Dsdb011.tcl80 set subdb subdb$i
81 lappend slist $subdb
84 $args {$omethod $testfile $subdb}]
106 foreach subdb $slist {
108 $args {$omethod $testfile $subdb}]
131 set subdb [lindex $slist $sindex]
137 {$testfile $subdb}] 0
H A Dsdb013.tcl9 # TEST Create an in-memory subdb. Test for persistence after
25 puts "Subdb$tnum: $method ($args) in-memory subdb tests"
63 # subdb.
65 set subdb subdb0
67 puts "\tSubdb$tnum.a: Create in-mem subdb, add data, close."
69 $args -env $env -auto_commit {$omethod $testfile $subdb}]
87 # Make sure we can still open the in-memory subdb.
88 puts "\tSubdb$tnum.c: Check we can still open the in-mem subdb."
90 $args -env $env -auto_commit {$omethod $testfile $subdb}]
94 puts "\tSubdb$tnum.d: Remove in-mem subdb
[all...]
H A Dsdb007.tcl12 # TEST 1. Create/open a subdb with system default page size.
13 # TEST Create/open a second subdb specifying a different page size.
16 # TEST 2. Create/open a subdb with a specified, non-default page size.
17 # TEST Create/open a second subdb specifying a different page size.
38 puts "Subdb007: $method ($args) subdb tests with different page sizes"
67 puts "\tSubdb007.a.0: create subdb with default page size"
70 error_check_good subdb [is_valid_db $db] TRUE
83 puts "\tSubdb007.a.1: Create 2nd subdb with different specified page size"
94 puts "\tSubdb007.b.0: Create subdb with specified page size"
97 error_check_good subdb [is_valid_d
[all...]
H A Dsdb014.tcl93 set subdb "SUBDB"
95 $args $omethod {$testfile $subdb}]
100 -mode 0644} $args {$omethod $testfile $subdb}} db1]
H A Dsdb016.tcl66 set subdb $str
68 -env $env $args {$omethod "" $subdb}]
H A Dsdb002.tcl8 # TEST Tests basic subdb functionality
55 puts "Subdb002: $method ($largs) basic subdb tests"
74 puts "Subdb002: $method ($largs) basic subdb tests in an environment"
89 set subdb subdb0
102 {$omethod $testfile $subdb}} db]
105 {-env $env $omethod $testfile $subdb}} db]
110 # create a subdb fails.
181 dump_file_direction "-first" "-next" $subdb
193 dump_file_direction "-last" "-prev" $subdb
204 set dumpargs " -f $outfile -s $subdb "
[all...]
H A Dsdb004.tcl8 # TEST Tests large subdb names
9 # TEST subdb name = filecontents,
13 # TEST Dump subdbs, verify data and subdb name match
15 # TEST Create 1 db with many large subdbs. Use the contents as subdb names.
98 puts "\tSubdb004.a: Set/Check each subdb"
110 set subdb $data
113 $args {$omethod $testfile $subdb}]
162 # Now for each file, check that the subdb name is the same
163 # as the data in that subdb and that the filename is the key.
165 puts "\tSubdb004.b: Compare subdb name
[all...]
H A Dsdb015.tcl84 set subdb subdb0
86 {-env $env $omethod "" $subdb}]
H A Dsdb003.tcl27 puts "Subdb003: $method ($args) many subdb tests"
80 set subdb $str
82 $args {$omethod $testfile $subdb}]
147 dump_file_direction "-first" "-next" $subdb
158 dump_file_direction "-last" "-prev" $subdb
H A Drecd007.tcl155 # 2. Creating a database with a subdb
156 # 3. Creating a 2nd subdb in a database
164 puts "\t$msg ($opts) create with a database and subdb"
167 puts "\t$msg ($opts) create with a database and 2nd subdb"
217 # create a first subdb, then create a second
318 # Operation was committed or just a subdb was aborted.
363 # Operation was committed or just a subdb was aborted.
377 # 2. Deleting/Renaming a database with a subdb
378 # 3. Deleting/Renaming a 2nd subdb in a database
386 puts "\t$msg $op ($opts) with a database and subdb"
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/db/
H A Ddb_rename.c33 __env_dbrename_pp(dbenv, txn, name, subdb, newname, flags)
36 const char *name, *subdb, *newname;
86 ret = __db_rename_int(dbp, ip, txn, name, subdb, newname);
145 __db_rename_pp(dbp, name, subdb, newname, flags)
147 const char *name, *subdb, *newname;
187 ret = __db_rename(dbp, ip, NULL, name, subdb, newname);
201 __db_rename(dbp, ip, txn, name, subdb, newname)
205 const char *name, *subdb, *newname;
209 ret = __db_rename_int(dbp, ip, txn, name, subdb, newname);
232 __db_rename_int(dbp, ip, txn, name, subdb, newnam
[all...]
H A Ddb_remove.c32 __env_dbremove_pp(dbenv, txn, name, subdb, flags)
35 const char *name, *subdb;
84 ret = __db_remove_int(dbp, ip, txn, name, subdb, flags);
144 __db_remove_pp(dbp, name, subdb, flags)
146 const char *name, *subdb;
185 ret = __db_remove(dbp, ip, NULL, name, subdb, flags);
202 __db_remove(dbp, ip, txn, name, subdb, flags)
206 const char *name, *subdb;
211 ret = __db_remove_int(dbp, ip, txn, name, subdb, flags);
233 __db_remove_int(dbp, ip, txn, name, subdb, flag
[all...]
H A Ddb_vrfy_stub.c61 __db_verify_internal(dbp, name, subdb, handle, callback, flags)
63 const char *name, *subdb;
70 COMPQUIET(subdb, NULL);
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/build_vxworks/db_dump/
H A Ddb_dump.c356 char *subdb; local
372 if ((subdb = malloc(key.size + 1)) == NULL) {
376 memcpy(subdb, key.data, key.size);
377 subdb[key.size] = '\0';
382 free(subdb);
386 parent_name, subdb, DB_UNKNOWN, DB_RDONLY, 0)) != 0)
388 "DB->open: %s:%s", parent_name, subdb);
390 dbp, subdb, __db_pr_callback, stdout, pflag, keyflag))
393 free(subdb);
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/db_dump/
H A Ddb_dump.c341 char *subdb; local
357 if ((subdb = malloc(key.size + 1)) == NULL) {
361 memcpy(subdb, key.data, key.size);
362 subdb[key.size] = '\0';
367 free(subdb);
371 parent_name, subdb, DB_UNKNOWN, DB_RDONLY, 0)) != 0)
373 "DB->open: %s:%s", parent_name, subdb);
375 dbp, subdb, __db_pr_callback, stdout, pflag, keyflag))
378 free(subdb);
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/qam/
H A Dqam_method.c267 __qam_remove(dbp, txn, name, subdb)
270 const char *name, *subdb;
272 return (__qam_rr(dbp, txn, name, subdb, NULL, QAM_NAME_REMOVE));
283 __qam_rename(dbp, txn, name, subdb, newname)
286 const char *name, *subdb, *newname;
288 return (__qam_rr(dbp, txn, name, subdb, newname, QAM_NAME_RENAME));
296 __qam_rr(dbp, txn, name, subdb, newname, op)
299 const char *name, *subdb, *newname;
311 if (subdb != NULL && name != NULL) {
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/rpc_server/c/
H A Ddb_server_util.c427 __dbsrv_sharedb(db_ctp, name, subdb, type, flags)
429 const char *name, *subdb;
444 * Must be same subdb name.
469 if (subdb != ctp->ct_dbdp.subdb &&
470 (subdb == NULL || ctp->ct_dbdp.subdb == NULL ||
471 strcmp(subdb, ctp->ct_dbdp.subdb) != 0))
584 if (ctp->ct_dbdp.subdb !
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/build_vxworks/db_stat/
H A Ddb_stat.c55 char *db, *home, *p, *passwd, *subdb; local
70 db = home = passwd = subdb = NULL;
190 subdb = optarg;
300 ret = dbp->open(dbp, NULL, db, subdb, DB_UNKNOWN, 0, 0);
303 dbp, NULL, db, subdb, DB_UNKNOWN, DB_RDONLY, 0)) != 0) {
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/db_stat/
H A Ddb_stat.c41 char *db, *home, *p, *passwd, *subdb; local
56 db = home = passwd = subdb = NULL;
175 subdb = optarg;
285 ret = dbp->open(dbp, NULL, db, subdb, DB_UNKNOWN, 0, 0);
288 dbp, NULL, db, subdb, DB_UNKNOWN, DB_RDONLY, 0)) != 0) {
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/rpc_client/
H A Dgen_client_ret.c399 __dbcl_db_open_ret(dbp, txn, name, subdb, type, flags, mode, replyp)
402 const char *name, *subdb;
410 COMPQUIET(subdb, NULL);
519 __dbcl_db_remove_ret(dbp, name, subdb, flags, replyp)
521 const char *name, *subdb;
528 COMPQUIET(subdb, 0);
544 __dbcl_db_rename_ret(dbp, name, subdb, newname, flags, replyp)
546 const char *name, *subdb, *newname;
553 COMPQUIET(subdb, 0);
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/xa/
H A Dxa_db.c118 __xa_open(dbp, txn, name, subdb, type, flags, mode)
121 const char *name, *subdb;
134 if ((ret = xam->open(dbp, txn, name, subdb, type, flags, mode)) != 0)

Completed in 175 milliseconds

123