Programming Guide |
Determines if a cursor is on the default connection
#include <dmuproto.h>int dm_cursor_consistent(char *cursor_name);
cursor_name
- Specifies a cursor name. For a named cursor, use the name specified in a DBMS DECLARE CURSOR command. For a default cursor, specify as a null pointer or an empty string.
- 1 The cursor (named or default) exists and is on the default connection.
- 0 The cursor (named or default) is on a connection other than the default, or is not found.
dm_cursor_consistent
determines whether a database cursor is on the default connection. The cursor may be named, or ifcursor_name
is a null pointer or an empty string, the default cursor.
dm_cursor_connection, dm_cursor_engine