20.4.20sql/Index.html'>mysql_field_seek()MYSQL_FIELD_OFFSETsql/Index.html'>mysql_field_seek(MYSQL_RES*result,MYSQL_FIELD_OFFSEToffset)
20.4.20.1说明将字段光标设置到给定的偏移量。下一次调用sql/Index.html'>mysql_fetch_field()将检索与该偏移量关联的列的字段定义。 为了定位于行的起始,传递一个值为0的offset值。 20.4.20.2返回值字段光标的先前的值。 20.4.20.3错误无。 20.4.21sql/Index.html'>mysql_field_tell()MYSQL_FIELD_OFFSETsql/Index.html'>mysql_field_tell(MYSQL_RES*result)
20.4.21.1说明返回用于最后一个sql/Index.html'>mysql_fetch_field()的字段光标的位置。这个值可用作sql/Index.html'>mysql_field_seek()的一个参数。 20.4.21.2返回值字段光标的当前偏移量。 20.4.21.3错误无。 20.4.22sql/Index.html'>mysql_free_result()voidsql/Index.html'>mysql_free_result(MYSQL_RES*result)
20.4.22.1说明释放由sql/Index.html'>mysql_store_result()、sql/Index.html'>mysql_use_result()、sql/Index.html'>mysql_list_dbs()等为一个结果集合分配的内存。当你用完了一个结果集合时,你必须调用sql/Index.html'>mysql_free_result()来释放它使用的内存。 20.4.22.2返回值上一页 [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22] [23] [24] [25] [26] [27] [28] [29] [30] [31] [32] 下一页
|