From 780b92ada9afcf1d58085a83a0b9e6bc982203d1 Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 17 Feb 2015 17:25:57 +0000 Subject: Imported from /home/lorry/working-area/delta_berkeleydb/db-6.1.23.tar.gz. --- docs/api_reference/C/set_blob_dir.html | 176 +++++++++++++++++++++++++++++++++ 1 file changed, 176 insertions(+) create mode 100644 docs/api_reference/C/set_blob_dir.html (limited to 'docs/api_reference/C/set_blob_dir.html') diff --git a/docs/api_reference/C/set_blob_dir.html b/docs/api_reference/C/set_blob_dir.html new file mode 100644 index 00000000..c9a9cc27 --- /dev/null +++ b/docs/api_reference/C/set_blob_dir.html @@ -0,0 +1,176 @@ + + + + + + DB->set_blob_dir() + + + + + + + + + +
+
+
+
+

DB->set_blob_dir()

+
+
+
+
#include <db.h>
+
+int
+DB->set_blob_dir(DB *db, const char *dir);  
+

+ The DB->set_blob_dir() method sets the + directory where BLOB data is stored. Use this method if the + database is not opened within an encompassing environment. If an + environment is in use, use DB_ENV->set_blob_dir() instead. +

+

+ By default, if this method is not called then BLOB data is placed + in a directory local to the current working directory. +

+

+ Use DB->get_blob_dir() to identify the current storage location used + for BLOB data. +

+

+ This method configures operations performed using the specified + DB handle, not all operations + performed on the underlying database. +

+

+ This method may not be called after DB->open() is called. +

+

+ Unless otherwise specified, the + DB->set_blob_dir() + + method returns a non-zero error value on failure and 0 on success. + + + +

+
+
+
+
+

Parameters

+
+
+
+
+
+
+
+

dir

+
+
+
+

+ Provides the name of the directory where BLOB data is to + be stored. If an absolute path is not provided, then the + directory identified here is relative to the current + working directory. +

+
+
+
+
+
+
+

Errors

+
+
+
+

+ The DB->set_blob_dir() + + method may fail and return one of the following non-zero errors: + + + +

+
+
+
+
+

EINVAL

+
+
+
+

+ If the database was opened within a named environment; or + if the method was called after DB->open() was called; or if + an invalid parameter was specified. +

+
+
+
+
+
+
+

Class

+
+
+
+

+ DB +

+
+
+
+
+
+

See Also

+
+
+
+

+ BLOBs and Related Methods +

+
+
+ + + -- cgit v1.2.1