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

mi_lo_increfcount()

The mi_lo_increfcount() function increments the reference count of a smart large object.

Syntax

Usage

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

Tip: The mi_lo_increfcount() function replaces the mi_large_object_increfcount() function, which Informix supports for backward compatibility only. Use mi_lo_increfcount() 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_decrefcount() 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.