File: api_flags

package info (click to toggle)
db5.3 5.3.28-12%2Bdeb9u1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 163,332 kB
  • ctags: 82,990
  • sloc: ansic: 448,411; java: 111,824; tcl: 80,544; sh: 44,326; cs: 33,697; cpp: 21,604; perl: 14,557; xml: 10,799; makefile: 4,106; yacc: 1,003; awk: 965; sql: 801; erlang: 342; python: 216; php: 24; asm: 14
file content (542 lines) | stat: -rw-r--r-- 18,685 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
db_env_create
	DB_CXX_NO_EXCEPTIONS		# C++: return error values

DbEnv.backup
	# Remove all files from the target directory tree first.
	DB_BACKUP_CLEAN
	DB_BACKUP_FILES			# Copy plain files too.
	DB_BACKUP_NO_LOGS		# Don't backup log files.
	DB_BACKUP_SINGLE_DIR		# All files go to a single directory.
	DB_BACKUP_UPDATE		# Incremental backup.
	DB_CREATE			# Create the target directories.
	DB_EXCL				# Error if a target file exists.
	
DbEnv.close
	# Sync database when automatically closing its db handles.
	DB_FORCESYNC			

DbEnv.dbremove
	DB_AUTO_COMMIT			# Implied transaction
	DB_LOG_NO_DATA			# UNDOC: Don't log the data.
	DB_NOSYNC			# UNDOC: Don't sync for a subdb remove
	DB_TXN_NOT_DURABLE		# UNDOC: Don't log the remove

DbEnv.dbrename
	DB_AUTO_COMMIT			# Implied transaction
	DB_NOSYNC			# Don't sync for a subdb rename

DbEnv.fileid_reset
	DB_ENCRYPT			# File contains encrypted databases

DbEnv.log_verify
	DB_LOG_VERIFY_ERR		# Verify failed.
	DB_LOG_VERIFY_CAF		# Continue after a failed check.
	# Not the entire logs are verified, due to user specified log range,
	# archiving, or other reasons. Only part of the entire logs verified.
	DB_LOG_VERIFY_PARTIAL
	DB_LOG_VERIFY_DBFILE		# Verify only logs of one db file.
	# Pre-scan log from last to first record to get aborts and timestamps.
	DB_LOG_VERIFY_FORWARD		
	DB_LOG_VERIFY_INTERR		# Got internal error during verify.
	DB_LOG_VERIFY_WARNING		# Got warnings during verify.
	DB_LOG_VERIFY_VERBOSE		# Output verbose information.

DbEnv.open
	DB_CREATE			# Create as necessary
	DB_FAILCHK			# Run failchk on open
	DB_FAILCHK_ISALIVE		# UNDOC: failchk with isalive, for SQL
	DB_INIT_CDB			# Concurrent Access Methods
	DB_INIT_LOCK			# Initialize locking
	DB_INIT_LOG			# Initialize logging
	DB_INIT_MPOOL			# Initialize mpool
	DB_INIT_MUTEX			# Initialize mutex
	DB_INIT_REP			# Initialize replication
	DB_INIT_TXN			# Initialize transactions
	DB_LOCKDOWN			# Lock memory into physical core
	DB_NO_CHECKPOINT		# UNDOC: Recover but do not checkpoint
	DB_PRIVATE			# DB_ENV is process local
	DB_RECOVER			# Run normal recovery
	DB_RECOVER_FATAL		# Run catastrophic recovery
	DB_REGISTER			# Multi-process registry
	DB_SYSTEM_MEM			# Use system-backed memory
	DB_THREAD			# Handle is free-threaded
	DB_USE_ENVIRON			# Use the environment
	DB_USE_ENVIRON_ROOT		# Use the environment if root

DbEnv.lock_stat
	DB_STAT_CLEAR			# Clear stats after return

DbEnv.lock_stat_print
	DB_STAT_ALL			# Everything
	DB_STAT_ALLOC			# Print allocation information
	DB_STAT_CLEAR			# Clear stats after return
	DB_STAT_LOCK_CONF		# Print lock conflict matrix
	DB_STAT_LOCK_LOCKERS		# Print lockers
	DB_STAT_LOCK_OBJECTS		# Print lock objects
	DB_STAT_LOCK_PARAMS		# Print lock parameters
	DB_STAT_SUBSYSTEM		# Print subsystems

DbEnv.lock_vec
	DB_LOCK_CHECK			# UNDOC: check for a lock
	DB_LOCK_IGNORE_REC		# UNDOC: get lock during recovery
	DB_LOCK_NOWAIT			# Don't wait for an unavailable lock
	DB_LOCK_RECORD			# UNDOC: record lock
	DB_LOCK_SET_TIMEOUT		# UNDOC: set lock timeout
	DB_LOCK_SWITCH			# UNDOC: switch existing lock
	DB_LOCK_UPGRADE			# UNDOC: upgrade existing lock

DbEnv.log_archive
	DB_ARCH_ABS			# Absolute pathnames
	DB_ARCH_DATA			# Data files
	DB_ARCH_LOG			# Log files
	DB_ARCH_REMOVE			# Remove log files

DbEnv.log_put
	DB_FLUSH			# Flush data to disk
	DB_LOG_CHKPNT			# UNDOC: Flush supports a checkpoint
	DB_LOG_COMMIT			# UNDOC: Flush supports a commit
	DB_LOG_NOCOPY			# UNDOC: Don't copy data
	DB_LOG_NOT_DURABLE		# UNDOC: Do not log; keep in memory
	DB_LOG_WRNOSYNC			# UNDOC: Write, don't sync log_put

DbEnv.log_set_config
	DB_LOG_DIRECT			# Don't buffer log files in the OS
	DB_LOG_DSYNC			# Set O_DSYNC on the log
	DB_LOG_AUTO_REMOVE		# Automatically remove log files
	DB_LOG_IN_MEMORY		# Store logs in buffers in memory
	DB_LOG_ZERO			# Zero log file on creation

DbEnv.log_stat
	DB_STAT_CLEAR			# Clear stats after return

DbEnv.log_stat_print
	DB_STAT_ALL			# Everything
	DB_STAT_ALLOC			# Print allocation information
	DB_STAT_CLEAR			# Clear stats after return
	DB_STAT_SUBSYSTEM		# Print subsystems

DbEnv.lsn_reset
	DB_ENCRYPT			# File contains encrypted databases

DbEnv.memp_stat
	DB_STAT_CLEAR			# Clear stats after return

DbEnv.memp_stat_print
	DB_STAT_ALL			# Everything
	DB_STAT_ALLOC			# Print allocation information
	DB_STAT_CLEAR			# Clear stats after return
	DB_STAT_MEMP_HASH		# Print mpool hash buckets
	DB_STAT_MEMP_NOERROR		# UNDOC: continue on error
	DB_STAT_SUBSYSTEM		# Print subsystems

DbEnv.mutex_alloc
	DB_MUTEX_ALLOCATED		# UNDOC: Mutex currently allocated
	DB_MUTEX_LOCKED			# UNDOC: Mutex currently locked
	DB_MUTEX_LOGICAL_LOCK		# UNDOC: Mutex backs a database lock
	DB_MUTEX_PROCESS_ONLY		# Mutex private to a process
	DB_MUTEX_SELF_BLOCK		# Must be able to block self
	DB_MUTEX_SHARED			# Shared (read/write) mutex

DbEnv.mutex_stat
	DB_STAT_CLEAR			# Clear stats after return

DbEnv.mutex_stat_print
	DB_STAT_ALL			# Everything
	DB_STAT_ALLOC			# Print allocation information
	DB_STAT_CLEAR			# Clear stats after return
	DB_STAT_SUBSYSTEM		# Print subsystems

DbEnv.remove
	DB_FORCE
	DB_USE_ENVIRON			# Use the environment
	DB_USE_ENVIRON_ROOT		# Use the environment if root

DbEnv.rep_set_config
	DB_REPMGR_CONF_2SITE_STRICT	# Don't cheat on election votes
	DB_REPMGR_CONF_ELECTIONS	# Manage elections to choose master
	DB_REP_CONF_AUTOINIT		# automatic client init
	DB_REP_CONF_AUTOROLLBACK	# UNDOC: discard txns to sync w/ master
	DB_REP_CONF_BULK		# Bulk transfer
	DB_REP_CONF_DELAYCLIENT		# Delay client synchronization
	DB_REP_CONF_INMEM		# In-memory replication
	DB_REP_CONF_LEASE		# Master leases
	DB_REP_CONF_NOWAIT		# Don't wait, return error

DbEnv.rep_set_transport
	DB_REP_ANYWHERE			# Message can be serviced anywhere
	DB_REP_NOBUFFER			# Do not buffer this message
	DB_REP_PERMANENT		# Important -- app may want to flush
	DB_REP_REREQUEST		# This msg already been requested

DbEnv.rep_start
	DB_REP_CLIENT			# Client
	DB_REP_MASTER			# Master

DbEnv.rep_stat
	DB_STAT_CLEAR			# Clear stats after return

DbEnv.rep_stat_print
	DB_STAT_ALL			# Everything
	DB_STAT_ALLOC			# Print allocation information
	DB_STAT_CLEAR			# Clear stats after return
	DB_STAT_SUBSYSTEM		# Print subsystems
	DB_STAT_SUMMARY			# UNDOC: print summary

# Covers both flags to the callback-setting method, and the callback itself
DbEnv.repmgr_msg_dispatch
	DB_REPMGR_NEED_RESPONSE		# Synchronous request message type

DbEnv.repmgr_start
	DB_REP_CLIENT			# Client
	DB_REP_ELECTION			# Election
	DB_REP_MASTER			# Master

DbEnv.repmgr_stat
	DB_STAT_CLEAR			# Clear stats after return

DbEnv.repmgr_stat_print
	DB_STAT_ALL			# Everything
	DB_STAT_ALLOC			# Print allocation information
	DB_STAT_CLEAR			# Clear stats after return
	DB_STAT_SUBSYSTEM		# Print subsystems

DbEnv.set_encrypt
	DB_ENCRYPT_AES			# AES, assumes SHA1 checksum

DbEnv.set_feedback.op
	DB_RECOVER			# Running recovery.

DbEnv.set_flags
	DB_AUTO_COMMIT			# Implied transaction
	DB_CDB_ALLDB			# Set CDB locking per environment
	DB_DATABASE_LOCKING		# UNDOC: try database-level locking
	DB_DIRECT_DB			# Don't buffer databases in the OS
	DB_DSYNC_DB			# Set O_DSYNC on the databases
	DB_HOTBACKUP_IN_PROGRESS	# Inhibit bulk loading optimization
	DB_MULTIVERSION			# Multiversion concurrency control
	DB_NOLOCKING			# Set locking/mutex behavior
	DB_NOMMAP			# Don't mmap the underlying file
	DB_NOPANIC			# Set panic state per environment
	DB_NOFLUSH			# UNDOC: don't flush cache on close
	DB_OVERWRITE			# Overwrite unlinked region files
	DB_PANIC_ENVIRONMENT		# Set panic state per environment
	DB_REGION_INIT			# Page-fault regions on open
	DB_TIME_NOTGRANTED		# Return NOTGRANTED on timeout
	DB_TXN_NOSYNC			# Do not sync log on commit
	DB_TXN_NOWAIT			# Do not wait for locks
	DB_TXN_SNAPSHOT			# Snapshot isolation
	DB_TXN_WRITE_NOSYNC		# Write the log bug don't sync
	DB_YIELDCPU			# Yield the CPU (a lot)

DbEnv.set_isalive
	DB_MUTEX_ALLOCATED		# UNDOC: Mutex currently allocated
	DB_MUTEX_LOCKED			# UNDOC: Mutex currently locked
	DB_MUTEX_LOGICAL_LOCK		# UNDOC: Mutex backs a database lock
	DB_MUTEX_PROCESS_ONLY		# Mutex private to a process
	DB_MUTEX_SELF_BLOCK		# Must be able to block self

DbEnv.set_timeout
	DB_SET_LOCK_TIMEOUT		# Set lock timeout
	DB_SET_TXN_NOW			# UNDOC: Timeout lock now
	DB_SET_TXN_TIMEOUT		# Set transaction timeout
	DB_SET_REG_TIMEOUT		# Set dbregister timeout

DbEnv.set_verbose
	DB_VERB_BACKUP			# Backup information
	DB_VERB_DEADLOCK		# Deadlock detection information
	DB_VERB_FILEOPS			# Major file operations
	DB_VERB_FILEOPS_ALL		# All file operations
	DB_VERB_RECOVERY		# Recovery information
	DB_VERB_REGISTER		# Dump waits-for table
	DB_VERB_REPLICATION		# All replication and repmgr output
	DB_VERB_REPMGR_CONNFAIL		# Repmgr connection failure output
	DB_VERB_REPMGR_MISC		# Miscellaneous repmgr output
	DB_VERB_REP_ELECT		# Replication election output
	DB_VERB_REP_LEASE		# Replication master lease output
	DB_VERB_REP_MISC		# Miscellaneous replication output
	DB_VERB_REP_MSGS		# Replication message output
	DB_VERB_REP_SYNC		# Replication client sync output
	DB_VERB_REP_SYSTEM		# Replication system messages
	DB_VERB_REP_TEST		# Replication temporary test output
	DB_VERB_WAITSFOR		# Dump waits-for table

DbEnv.stat_print
	DB_STAT_ALL			# Everything
	DB_STAT_ALLOC			# Print allocation information
	DB_STAT_CLEAR			# Clear stats after return
	DB_STAT_SUBSYSTEM		# Print subsystems

DbEnv.txn_begin
	DB_IGNORE_LEASE			# UNDOC: Ignore leases
	DB_READ_COMMITTED		# Degree 2 isolation
	DB_READ_UNCOMMITTED		# Degree 1 isolation
	DB_TXN_NOSYNC			# Do not sync log on commit
	DB_TXN_NOWAIT			# Do not wait for locks
	DB_TXN_FAMILY			# Cursors and child txns are
					# independent but lock-compatible
	DB_TXN_SNAPSHOT			# Snapshot isolation
	DB_TXN_SYNC			# Always sync log on commit
	DB_TXN_WAIT			# Always wait for locks in this txn
	DB_TXN_WRITE_NOSYNC		# Write the log but don't sync
	DB_TXN_BULK			# Enable transactional bulk loading 

DbEnv.txn_checkpoint
	DB_CKP_INTERNAL			# UNDOC: internally generated checkpoint
	DB_FORCE			# Force

DbEnv.txn_recover
	__MASK=0xff			# Berkeley DB operation codes.

DbEnv.txn_stat
	DB_STAT_CLEAR			# Clear stats after return

DbEnv.txn_stat_print
	DB_STAT_ALL			# Everything
	DB_STAT_ALLOC			# Print allocation information
	DB_STAT_CLEAR			# Clear stats after return
	DB_STAT_SUBSYSTEM		# Print subsystems

DbLogc.get
	__MASK=0xff			# Berkeley DB operation codes.

DbMpoolFile.close
	DB_MPOOL_DISCARD		# UNDOC: Discard file
	DB_FLUSH			# UNDOC: opened to flush a page
	DB_MPOOL_NOLOCK			# UNDOC: Already have mpf locked

DbMpoolFile.get
	DB_MPOOL_CREATE			# Create a page
	DB_MPOOL_DIRTY			# Get page for an update
	DB_MPOOL_EDIT			# Modify without copying
	DB_MPOOL_FREE			# UNDOC: Free page if present
	DB_MPOOL_LAST			# Return the last page
	DB_MPOOL_NEW			# Create a new page
	DB_MPOOL_TRY			# Try to read a page, but don't block

DbMpoolFile.open
	DB_CREATE			# Create as necessary
	DB_DIRECT			# Don't buffer the file in the OS
	DB_DURABLE_UNKNOWN		# UNDOC: Durability on open
	DB_EXTENT			# UNDOC: dealing with an extent
	DB_FLUSH			# UNDOC: opened to flush a page
	DB_MULTIVERSION			# Multiversion concurrency control
	DB_NOMMAP			# Don't mmap underlying file
	DB_ODDFILESIZE			# Truncate file to N * pgsize
	DB_RDONLY			# Read-only (O_RDONLY)
	DB_TXN_NOT_DURABLE		# UNDOC: Mark file not durable on open

DbMpoolFile.set_flags
	DB_MPOOL_NOFILE			# Never open a backing file
	DB_MPOOL_UNLINK			# Unlink the file on last close

DbSequence.get
	DB_AUTO_COMMIT			# UNDOC: compatibility only
	DB_TXN_NOSYNC			# Do not sync log on commit

DbSequence.open
	DB_AUTO_COMMIT			# UNDOC: compatibility only
	DB_CREATE			# Create as necessary
	DB_EXCL				# Exclusive open (O_EXCL)
	DB_THREAD			# Handle is free-threaded

DbSequence.remove
	DB_TXN_NOSYNC			# Do not sync log on commit

DbSequence.set_flags
	DB_SEQ_DEC			# Decrement sequence
	DB_SEQ_INC			# Increment sequence
	DB_SEQ_RANGE_SET		# UNDOC: Range set
	DB_SEQ_WRAP			# Wrap sequence at min/max
	DB_SEQ_WRAPPED			# UNDOC: Just wrapped

DbSequence.stat
	DB_STAT_CLEAR			# Clear stats after return

DbSequence.stat_print
	DB_STAT_CLEAR			# Clear stats after return
	DB_STAT_SUBSYSTEM		# Print subsystems

DbSite.set_config
	DB_BOOTSTRAP_HELPER		# Join target for new group member
	DB_GROUP_CREATOR		# Primordial membership DB creator
	DB_LEGACY			# Upgrading pre-5.2 group
	DB_LOCAL_SITE			# Identifies this as the local site
	DB_REPMGR_PEER			# C2C synchronization

DbTxn.commit
	DB_TXN_NOSYNC			# Do not sync log on commit
	DB_TXN_SYNC			# Always sync log on commit

DbTxn.set_timeout
	DB_SET_LOCK_TIMEOUT		# Set lock timeout
	DB_SET_TXN_TIMEOUT		# Set transaction timeout

db_create
	DB_CXX_NO_EXCEPTIONS		# C++: return error values
	DB_XA_CREATE			# Create a DBP for an XA database

Db.associate
	DB_AUTO_COMMIT			# UNDOC: compatibility only
	DB_CREATE			# Create as necessary
	DB_IMMUTABLE_KEY		# Secondary key is immutable

Db.associate_foreign
	DB_FOREIGN_ABORT		# If foreign key exists, delete aborts
	DB_FOREIGN_CASCADE		# If foreign key exists, delete cascades
	DB_FOREIGN_NULLIFY		# If foreign key exists, nullify it

Db.close
	DB_NOSYNC			# Berkeley DB operation codes.

Db.compact
	DB_FREELIST_ONLY		# Just sort and truncate
	DB_FREE_SPACE			# Free space

Db.cursor
	DB_CURSOR_BULK			# Optimize for bulk updates
	DB_CURSOR_TRANSIENT		# UNDOC: Single-use cursor
	DB_READ_COMMITTED		# Degree 2 isolation
	DB_READ_UNCOMMITTED		# Degree 1 isolation
	DB_RECOVER			# Called from recovery (internal)
	DB_WRITECURSOR			# Cursor can update (CDB)
	DB_WRITELOCK			# Cursor should get write locks
	DB_TXN_SNAPSHOT			# Snapshot isolation

Db.del
	DB_AUTO_COMMIT			# UNDOC: compatibility only
	DB_MULTIPLE			# Delete multiple data values
	DB_MULTIPLE_KEY			# Delete multiple key/data pairs

Db.exists
	DB_READ_COMMITTED		# Degree 2 isolation
	DB_READ_UNCOMMITTED		# Degree 1 isolation
	DB_RMW				# Acquire write lock immediately

Db.get
	__MASK=0xff			# Berkeley DB operation codes.
	DB_AUTO_COMMIT			# UNDOC: compatibility only
	DB_IGNORE_LEASE			# Ignore leases
	DB_MULTIPLE			# Return multiple data values
	DB_READ_COMMITTED		# Degree 2 isolation
	DB_READ_UNCOMMITTED		# Degree 1 isolation
	DB_RMW				# Acquire write lock immediately

Db.pget
	__MASK=0xff			# Berkeley DB operation codes.
	DB_IGNORE_LEASE			# Ignore leases
	DB_MULTIPLE			# Return multiple data values
	DB_READ_COMMITTED		# Degree 2 isolation
	DB_READ_UNCOMMITTED		# Degree 1 isolation
	DB_RMW				# Acquire write lock immediately

Db.join
	DB_JOIN_NOSORT			# Don't try to optmize join

Db.open
	DB_AUTO_COMMIT			# Implied transaction
	DB_CREATE			# Create file as necessary
	DB_EXCL				# Exclusive open (O_EXCL)
	DB_FCNTL_LOCKING		# UNDOC: fcntl(2) locking
	DB_MULTIVERSION			# Multiversion concurrency control
	DB_NOMMAP			# Don't mmap underlying file
	DB_NO_AUTO_COMMIT		# UNDOC: override env's AUTO_COMMIT
	DB_RDONLY			# Read-only (O_RDONLY)
	DB_RDWRMASTER			# UNDOC: allow subdb master open R/W
	DB_READ_UNCOMMITTED		# Degree 1 isolation
	DB_THREAD			# Handle is free-threaded
	DB_TRUNCATE			# Discard existing DB (O_TRUNC)

	# The following flags aren't actually part of the Db.open method
	# API, but they are accepted by the underlying __db_open function.
	DB_DURABLE_UNKNOWN		# UNDOC: Durability on open
	DB_INTERNAL_PERSISTENT_DB	# UNDOC: Open db in metadata dir
	DB_INTERNAL_TEMPORARY_DB	# UNDOC: Open db in env home dir
	DB_NOERROR			# UNDOC: Don't raise errors.
	DB_ODDFILESIZE			# UNDOC: Truncate file to N * pgsize
	DB_WRITEOPEN			# UNDOC: open with write lock

	# The following flags are DB constructor flags.  However, create and/or
	# open of BDB XML containers is done in a single call (rather than the
	# two-call "construct the object, then open it" paradigm used by DB),
	# and they can't collide for that reason.
	DB_CXX_NO_EXCEPTIONS		# C++: return error values

Db.put
	__MASK=0xff			# Berkeley DB operation codes.
	DB_AUTO_COMMIT			# UNDOC: compatibility only
	DB_MULTIPLE			# Put multiple (from key and data DBTs)
	DB_MULTIPLE_KEY			# Put multiple (from key DBT)

Db.set_encrypt
	DB_ENCRYPT_AES			# AES, assumes SHA1 checksum

Db.set_feedback
	DB_UPGRADE			# Upgrading
	DB_VERIFY			# Verifying

Db.set_flags
	DB_CHKSUM			# Checksums
	DB_DUP				# Btree, Hash: duplicate keys
	DB_DUPSORT			# Btree, Hash: sorted duplicated
	DB_ENCRYPT			# AES, assumes SHA1 checksum
	DB_INORDER			# Queue: strict ordering on consume
	DB_RECNUM			# Btree: record numbers
	DB_RENUMBER			# Recno: renumber on insert/delete
	DB_REVSPLITOFF			# Btree: turn off reverse splits
	DB_SNAPSHOT			# Recno: snapshot the input
	DB_TXN_NOT_DURABLE		# Do not log changes

Db.stat
	DB_FAST_STAT			# Don't traverse the database
	DB_READ_COMMITTED		# Degree 2 isolation
	DB_READ_UNCOMMITTED		# Degree 1 isolation

Db.truncate
	DB_AUTO_COMMIT			# UNDOC: compatibility only

Db.upgrade
	DB_DUPSORT			# Upgrade duplicate data items

Db.verify
	DB_AGGRESSIVE			# Salvage whatever could be data
	DB_NOORDERCHK			# Skip sort order/hashing check
	DB_ORDERCHKONLY			# Only perform the order check
	DB_PRINTABLE			# Use printable format for salvage
	DB_PR_PAGE			# UNDOC: Show page contents (-da)
	DB_PR_RECOVERYTEST		# UNDOC: Recover test (-dr)
	DB_SALVAGE			# Salvage what looks like data
	DB_UNREF			# UNDOC: Report unreferenced pages
	DB_VERIFY_PARTITION		# Verifying a partition

	# Flags understood by the btree structure checks (__bam_vrfy_subtree).
	# These share the same space as the global flags to Db.verify.
	DB_ST_DUPOK			# UNDOC: Duplicates are acceptable
	DB_ST_DUPSET			# UNDOC: Subtree is in a duplicate tree
	DB_ST_DUPSORT			# UNDOC: Duplicates are sorted
	DB_ST_IS_RECNO			# UNDOC: Subtree is a recno
	DB_ST_OVFL_LEAF			# UNDOC: Overflow reffed from leaf page
	DB_ST_RECNUM			# UNDOC: Subtree has record numbering on
	DB_ST_RELEN			# UNDOC: Subtree has fixed-length recs
	DB_ST_TOPLEVEL			# UNDOC: Subtree == entire tree

	# Flags understood by __bam_salvage and __db_salvage.  These need not
	# share name space with the __bam_vrfy_subtree flags, but must share
	# with Db.verify.
	DB_SA_SKIPFIRSTKEY		# UNDOC: I have no idea what this does.
	DB_SA_UNKNOWNKEY		# UNDOC: The salvage key is unknown

DbCursor.dup
	__MASK=0xff			# Berkeley DB operation codes.
	DB_SHALLOW_DUP			# UNDOC: Don't duplicate compression info

DbCursor.get
	__MASK=0xff			# Berkeley DB operation codes.
	DB_IGNORE_LEASE			# Ignore leases
	DB_MULTIPLE			# Return multiple data values
	DB_MULTIPLE_KEY			# Return multiple key/data pairs
	DB_READ_COMMITTED		# Degree 2 isolation
	DB_READ_UNCOMMITTED		# Degree 1 isolation
	DB_RMW				# Acquire write lock immediately

DbCursor.put
	__MASK=0xff			# Berkeley DB operation codes.