@@ -1796,15 +1796,15 @@ <h1><font size="4" style="font-size: 14pt">Generic interfaces.</font></h1>
17961796 cursor (analogue of isc_dsql_set_cursor_name()). Parameter
17971797 cursorFlags is needed to open bidirectional cursor setting it's
17981798 value to Istatement::CURSOR_TYPE_SCROLLABLE.</ font > </ p >
1799- < li > < p > < font size =" 4 " style ="font-size: 14pt " > I </ font > < font face =" Liberation Serif, serif " > < font size ="4 " style ="font-size: 14pt "> Batch *
1799+ < li > < p style ="margin-bottom: 0cm " > < font size ="4 " style ="font-size: 14pt "> IBatch *
18001800 createBatch(StatusType* status, ITransaction* transaction, unsigned
18011801 stmtLength, const char* sqlStmt, unsigned dialect, IMessageMetadata*
1802- inMetadata, unsigned</ font > </ font > < font face =" Liberation Serif, serif " > < font size =" 4 " style =" font-size: 14pt " > parLength,
1802+ inMetadata, unsigned parLength,
18031803 const unsigned char* par) – prepares sqlStmt and creates < a href ="#Batch "> Batch</ a >
18041804 interface ready to accept multiple sets of input parameters in
1805- inMetadata format. Leaving inMetadata</ font > </ font > < font face =" Liberation Serif, serif " > < font size =" 4 " style =" font-size: 14pt " > NULL
1805+ inMetadata format. Leaving inMetadata NULL
18061806 makes batch use default format for sqlStmt. Parameters block may be
1807- passed to createBatch() making it possible to adjust batch behavior.</ font > </ font > </ p >
1807+ passed to createBatch() making it possible to adjust batch behavior.</ font > </ p >
18081808 < li > < p style ="margin-bottom: 0cm "> < font size ="4 " style ="font-size: 14pt "> IEvents*
18091809 queEvents(StatusType* status, IEventCallback* callback, unsigned
18101810 length, const unsigned char* events) – replaces isc_que_events()
@@ -1951,7 +1951,6 @@ <h1><font size="4" style="font-size: 14pt">Generic interfaces.</font></h1>
19511951< a href ="#Batch "> Batch</ a > interface. It contains more or less
19521952(depending upon parameters passed when < a href ="#Batch "> Batch</ a > was
19531953created) detailed information about the results of batch execution.</ font > </ p >
1954- < p style ="margin-bottom: 0cm "> < font size ="4 " style ="font-size: 14pt "> {</ font > </ p >
19551954< ol >
19561955 < li > < p style ="margin-bottom: 0cm "> < font size ="4 " style ="font-size: 14pt "> uint
19571956 getSize(StatusType* status) – returns the total number of
@@ -2377,14 +2376,13 @@ <h1><font size="4" style="font-size: 14pt">Generic interfaces.</font></h1>
23772376 < li > < p style ="margin-bottom: 0cm "> < font size ="4 " style ="font-size: 14pt "> unsigned
23782377 getMessageLength(StatusType* status) - returns length of message
23792378 buffer (use it to allocate memory for the buffer).</ font > </ p >
2380- < li > < p > < font face =" Liberation Serif, serif "> < font size ="4 " style ="font-size: 14pt "> unsigned
2379+ < li > < p style =" margin-bottom: 0cm "> < font size ="4 " style ="font-size: 14pt "> unsigned
23812380 getAlignment(StatusType* status) – returns alignment required for
2382- message buffer.</ font > </ font > </ p >
2383- < li > < p > < font face ="Liberation Serif, serif "> < font size ="4 " style ="font-size: 14pt "> unsigned</ font > </ font >
2384- < font face ="Liberation Serif, serif "> < font size ="4 " style ="font-size: 14pt "> getAlignedLength(StatusType*
2385- status) – returns length of message buffer taking into an account
2381+ message buffer.</ font > </ p >
2382+ < li > < p style ="margin-bottom: 0cm "> < font size ="4 " style ="font-size: 14pt "> unsigned
2383+ getAlignedLength(StatusType* status) – returns length of message buffer taking into an account
23862384 alignment requirements (use it to allocate memory for an array of
2387- buffers and navigate through that array).</ font > </ font > </ p >
2385+ buffers and navigate through that array).</ font > </ p >
23882386</ ol >
23892387< p style ="margin-bottom: 0cm "> < br />
23902388
@@ -2426,18 +2424,18 @@ <h1><font size="4" style="font-size: 14pt">Generic interfaces.</font></h1>
24262424 < li > < p style ="margin-bottom: 0cm "> < font size ="4 " style ="font-size: 14pt "> IMessageMetadata*
24272425 getMetadata(StatusType* status) – get < a href ="#10. MessageMetadata "> MessageMetadata</ a >
24282426 interface built by this builder.</ font > </ p >
2429- < li > < p style ="margin-bottom: 0cm "> < font face =" Liberation Serif, serif " > < font size ="4 " style ="font-size: 14pt "> void
2427+ < li > < p style ="margin-bottom: 0cm "> < font size ="4 " style ="font-size: 14pt "> void
24302428 setField(StatusType* status, uint index, const string field) – set
2431- name of a field / column.</ font > </ font > </ p >
2432- < li > < p style ="margin-bottom: 0cm "> < font face =" Liberation Serif, serif " > < font size ="4 " style ="font-size: 14pt "> void
2429+ name of a field / column.</ font > </ p >
2430+ < li > < p style ="margin-bottom: 0cm "> < font size ="4 " style ="font-size: 14pt "> void
24332431 setRelation(StatusType* status, uint index, const string relation) –
2434- set name of the relation from which the field was selected.</ font > </ font > </ p >
2435- < li > < p style ="margin-bottom: 0cm "> < font face =" Liberation Serif, serif " > < font size ="4 " style ="font-size: 14pt "> void
2432+ set name of the relation from which the field was selected.</ font > </ p >
2433+ < li > < p style ="margin-bottom: 0cm "> < font size ="4 " style ="font-size: 14pt "> void
24362434 setOwner(StatusType* status, uint index, const string owner) – set
2437- name of that relation owner.</ font > </ font > </ p >
2438- < li > < p style ="margin-bottom: 0cm "> < font face =" Liberation Serif, serif " > < font size ="4 " style ="font-size: 14pt "> void
2435+ name of that relation owner.</ font > </ p >
2436+ < li > < p style ="margin-bottom: 0cm "> < font size ="4 " style ="font-size: 14pt "> void
24392437 setAlias(StatusType* status, uint index, const string alias) – set
2440- alias name of the field in related statement.</ font > </ font > </ p >
2438+ alias name of the field in related statement.</ font > </ p >
24412439</ ol >
24422440< p style ="margin-bottom: 0cm "> < br />
24432441
@@ -2639,6 +2637,11 @@ <h1><font size="4" style="font-size: 14pt">Generic interfaces.</font></h1>
26392637in < a href ="#Attachment "> IAttachment</ a > or < a href ="#Statement "> IStatement</ a > .
26402638All fetch calls except fetchNext() work only for bidirectional
26412639(opened with CURSOR_TYPE_SCROLLABLE flag) result set.</ font > </ p >
2640+ < p style ="margin-bottom: 0cm "> < font size ="4 " style ="font-size: 14pt "> Items
2641+ accepted in getInfo() call:</ font > </ p >
2642+ < p style ="margin-bottom: 0cm "> < font size ="4 " style ="font-size: 14pt "> INF_RECORD_COUNT
2643+ – number of records stored inside a scrollable cursor, or -1 for a uni-directional cursor.</ font > </ p >
2644+ < p style ="margin-bottom: 0cm "> < br />
26422645< ol >
26432646 < li > < p style ="margin-bottom: 0cm "> < font size ="4 " style ="font-size: 14pt "> int
26442647 fetchNext(StatusType* status, void* message) – fetch next record,
@@ -2673,6 +2676,10 @@ <h1><font size="4" style="font-size: 14pt">Generic interfaces.</font></h1>
26732676 < li > < p style ="margin-bottom: 0cm "> < font size ="4 " style ="font-size: 14pt "> void
26742677 close(StatusType* status) – close result set, releases interface
26752678 on success.</ font > </ p >
2679+ < li > < p style ="margin-bottom: 0cm "> < font size ="4 " style ="font-size: 14pt "> void
2680+ getInfo(StatusType* status, unsigned itemsLength, const unsigned
2681+ char* items, unsigned bufferLength, unsigned char* buffer) –
2682+ retrieve information about result set.</ font > </ p >
26762683</ ol >
26772684< p style ="margin-bottom: 0cm "> < br />
26782685
@@ -2733,27 +2740,27 @@ <h1><font size="4" style="font-size: 14pt">Generic interfaces.</font></h1>
27332740 returning multiple rows of data. Partial analogue of
27342741 isc_dsql_execute2() - in and out XSLQDAs replaced with input and
27352742 output messages with appropriate buffers.</ font > </ p >
2736- < li > < p style ="margin-bottom: 0cm "> < font face =" Liberation Serif, serif " > < font size ="4 " style ="font-size: 14pt "> IResultSet*
2743+ < li > < p style ="margin-bottom: 0cm "> < font size ="4 " style ="font-size: 14pt "> IResultSet*
27372744 openCursor(StatusType* status, ITransaction* transaction,
27382745 IMessageMetadata* inMetadata, void* inBuffer, IMessageMetadata*
27392746 outMetadata, unsigned flags) – executes SQL statement potentially
27402747 returning multiple rows of data. Returns < a href ="#ResultSet "> ResultSet</ a >
27412748 interface which should be used to fetch that data. Format of output
27422749 data is defined by outMetadata parameter, leaving it NULL default
27432750 format may be used. Parameter flags is needed to open bidirectional
2744- cursor setting it's value to Istatement::CURSOR_TYPE_SCROLLABLE.</ font > </ font > </ p >
2745- < li > < p style ="margin-bottom: 0cm "> < font face =" Liberation Serif, serif " > < font size ="4 " style ="font-size: 14pt "> IBatch*
2751+ cursor setting it's value to Istatement::CURSOR_TYPE_SCROLLABLE.</ font > </ p >
2752+ < li > < p style ="margin-bottom: 0cm "> < font size ="4 " style ="font-size: 14pt "> IBatch*
27462753 createBatch(StatusType* status, IMessageMetadata* inMetadata, uint
27472754 parLength, const uchar* par) – creates < a href ="#Batch "> Batch</ a >
27482755 interface to SQL statement with input parameters making it possible
27492756 to execute that statement with multiple sets of parameters. Format
27502757 of input data is defined by inMetadata parameter, leaving it NULL
27512758 makes batch use default format from this interface. Parameters block
27522759 may be passed to createBatch() making it possible to adjust batch
2753- behavior.</ font > </ font > </ p >
2754- < li > < p style ="margin-bottom: 0cm "> < font face =" Liberation Serif, serif " > < font size ="4 " style ="font-size: 14pt "> void
2760+ behavior.</ font > </ p >
2761+ < li > < p style ="margin-bottom: 0cm "> < font size ="4 " style ="font-size: 14pt "> void
27552762 setCursorName(StatusType* status, const char* name) – replaces
2756- isc_dsql_set_cursor_name(). </ font > </ font >
2763+ isc_dsql_set_cursor_name().</ font >
27572764 </ p >
27582765 < li > < p style ="margin-bottom: 0cm "> < font size ="4 " style ="font-size: 14pt "> void
27592766 free(StatusType* status) – free statement, releases interface on
0 commit comments