INFORMIX
DataBlade API Programmer's Manual
Chapter 12: DataBlade API Function Descriptions
Home Contents Index Master Index New Book

mi_lo_decrefcount()

The mi_lo_decrefcount() function decrements the reference count of a smart large object.

Syntax

Usage

The mi_lo_decrefcount() function is useful for manually tracking multiple references to the same smart large object. Typical use of this function is in the destroy() support function of an opaque data type that contains smart large objects. Use the mi_lo_decrefcount() function in the destroy() support function to decrement the reference count of the smart large object that is being deleted by one.

Tip: The mi_lo_decrefcount() function replaces the mi_large_object_decrefcount() function, which Informix supports for backward compatibility only. Use mi_lo_decrefcount() for all new DataBlade routines.

Return Values

>=0

The new reference count for the smart large object that LO_hdl references.

MI_ERROR

The function was not successful.

Related Topics

See the description of the mi_lo_increfcount() function.

In Chapter 3, "Handling Smart Large Objects," see "Managing the Reference Count".




DataBlade API Programmer's Manual, version 9.1
Copyright © 1998, Informix Software, Inc. All rights reserved.