hdbReOpenNewConfig
hdbReOpenNewConfig(
h_configID
)
=> t / nil
Description
Increments the reference count of an in-memory only configuration (that is, a new configuration that has not yet been written to disk) and returns t. If the configuration does not exist in memory or if it already exists on disk, this function returns nil and the reference count is not incremented.
The reference count of a configuration keeps track of the number of times the configuration has been opened.
hdbOpen and this function increment the reference count, while hdbClose decrements it.Arguments
Value Returned
|
The reference count is not incremented because the configuration does not exist in memory or it already exists on disk. |
Example
myConfig=hdbOpen("" "" "" "w")
hdbReOpenNewConfig(myConfig)
=> t
Configuration that exists on disk:
config=hdbOpen("mylib" "mycell" "myview" "config" "w")
hdbReOpenNewConfig(config)
=> nil
Related Topics
Parent/Child Database Functions
Return to top