Oracle 5.0 Reference Manual page 2202

Table of Contents

Advertisement

The MySQL server has gone away.
CR_SERVER_LOST
The connection to the server was lost during the query.
CR_UNKNOWN_ERROR
An unknown error occurred.
20.6.6.57.
mysql_rollback()
my_bool mysql_rollback(MYSQL *mysql)
Description
Rolls back the current transaction.
As of MySQL 5.0.3, the action of this function is subject to the value of the
system variable. In particular, if the value of
release after terminating a transaction and closes the client connection. The client program should call
mysql_close()
Return Values
Zero if successful. Nonzero if an error occurred.
Errors
None.
20.6.6.58.
mysql_row_seek()
MYSQL_ROW_OFFSET mysql_row_seek(MYSQL_RES *result, MYSQL_ROW_OFFSET offset)
Description
Sets the row cursor to an arbitrary row in a query result set. The
a value returned from
number; to seek to a row within a result set by number, use
This function requires that the result set structure contains the entire result of the query, so
mysql_row_seek()
mysql_use_result().
Return Values
The previous value of the row cursor. This value may be passed to a subsequent call to
mysql_row_seek().
Errors
None.
20.6.6.59.
mysql_row_tell()
MYSQL_ROW_OFFSET mysql_row_tell(MYSQL_RES *result)
Description
Returns the current position of the row cursor for the last mysql_fetch_row(). This value can be
used as an argument to mysql_row_seek().
C API Function Descriptions
[2942]
[2941]
to close the connection from the client side.
mysql_row_tell()
may be used only in conjunction with mysql_store_result(), not with
[444]
completion_type
offset
or from mysql_row_seek(). This value is not a row
mysql_data_seek()
2182
completion_type
is 2, the server performs a
value is a row offset, typically
instead.
[444]

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents