"Fossies" - the Fresh Open Source Software Archive

Member "freetds-1.1.6/doc/reference/a01174.html" (29 Apr 2019, 11145 Bytes) of package /linux/privat/freetds-1.1.6.tar.bz2:


The requested HTML page contains Doxygen generated source code documentation with SVG graphics what is currently unsuited for Fossies "automatic" (rendered) mode so that page is shown "only" as HTML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted HTML file.

    1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    2 <html xmlns="http://www.w3.org/1999/xhtml">
    3 <head>
    4 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
    5 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
    6 <meta name="generator" content="Doxygen 1.8.12"/>
    7 <meta name="viewport" content="width=device-width, initial-scale=1"/>
    8 <title>FreeTDS API: tds_dynamic Struct Reference</title>
    9 <link href="tabs.css" rel="stylesheet" type="text/css"/>
   10 <script type="text/javascript" src="jquery.js"></script>
   11 <script type="text/javascript" src="dynsections.js"></script>
   12 <link href="search/search.css" rel="stylesheet" type="text/css"/>
   13 <script type="text/javascript" src="search/searchdata.js"></script>
   14 <script type="text/javascript" src="search/search.js"></script>
   15 <link href="doxygen.css" rel="stylesheet" type="text/css" />
   16 </head>
   17 <body>
   18 <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
   19 <div id="titlearea">
   20 <table cellspacing="0" cellpadding="0">
   21  <tbody>
   22  <tr style="height: 56px;">
   23   <td id="projectalign" style="padding-left: 0.5em;">
   24    <div id="projectname">FreeTDS API
   25    </div>
   26   </td>
   27  </tr>
   28  </tbody>
   29 </table>
   30 </div>
   31 <!-- end header part -->
   32 <!-- Generated by Doxygen 1.8.12 -->
   33 <script type="text/javascript">
   34 var searchBox = new SearchBox("searchBox", "search",false,'Search');
   35 </script>
   36 <script type="text/javascript" src="menudata.js"></script>
   37 <script type="text/javascript" src="menu.js"></script>
   38 <script type="text/javascript">
   39 $(function() {
   40   initMenu('',true,false,'search.php','Search');
   41   $(document).ready(function() { init_search(); });
   42 });
   43 </script>
   44 <div id="main-nav"></div>
   45 <!-- window showing the filter options -->
   46 <div id="MSearchSelectWindow"
   47      onmouseover="return searchBox.OnSearchSelectShow()"
   48      onmouseout="return searchBox.OnSearchSelectHide()"
   49      onkeydown="return searchBox.OnSearchSelectKey(event)">
   50 </div>
   51 
   52 <!-- iframe showing the search results (closed by default) -->
   53 <div id="MSearchResultsWindow">
   54 <iframe src="javascript:void(0)" frameborder="0" 
   55         name="MSearchResults" id="MSearchResults">
   56 </iframe>
   57 </div>
   58 
   59 </div><!-- top -->
   60 <div class="header">
   61   <div class="summary">
   62 <a href="#pub-attribs">Public Attributes</a> &#124;
   63 <a href="a01171.html">List of all members</a>  </div>
   64   <div class="headertitle">
   65 <div class="title">tds_dynamic Struct Reference</div>  </div>
   66 </div><!--header-->
   67 <div class="contents">
   68 
   69 <p>Holds information for a dynamic (also called prepared) query.  
   70  <a href="a01174.html#details">More...</a></p>
   71 
   72 <p><code>#include &lt;<a class="el" href="a00431_source.html">tds.h</a>&gt;</code></p>
   73 <div class="dynheader">
   74 Collaboration diagram for tds_dynamic:</div>
   75 <div class="dyncontent">
   76 <div class="center"><iframe scrolling="no" frameborder="0" src="a01172.svg" width="1319" height="543"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
   77 </div>
   78 <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
   79 <table class="memberdecls">
   80 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
   81 Public Attributes</h2></td></tr>
   82 <tr class="memitem:a744986c76b9b09f29325a1e0664b0e9a"><td class="memItemLeft" align="right" valign="top"><a id="a744986c76b9b09f29325a1e0664b0e9a"></a>
   83 bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01174.html#a744986c76b9b09f29325a1e0664b0e9a">defer_close</a></td></tr>
   84 <tr class="memdesc:a744986c76b9b09f29325a1e0664b0e9a"><td class="mdescLeft">&#160;</td><td class="mdescRight">true if dynamic was marker to be closed when connection is idle <br /></td></tr>
   85 <tr class="separator:a744986c76b9b09f29325a1e0664b0e9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
   86 <tr class="memitem:ad3fedfbec2ba0db4a64b82779d95a0c5"><td class="memItemLeft" align="right" valign="top">TDS_TINYINT&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01174.html#ad3fedfbec2ba0db4a64b82779d95a0c5">emulated</a></td></tr>
   87 <tr class="memdesc:ad3fedfbec2ba0db4a64b82779d95a0c5"><td class="mdescLeft">&#160;</td><td class="mdescRight">this dynamic query cannot be prepared so libTDS have to construct a simple query.  <a href="#ad3fedfbec2ba0db4a64b82779d95a0c5">More...</a><br /></td></tr>
   88 <tr class="separator:ad3fedfbec2ba0db4a64b82779d95a0c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
   89 <tr class="memitem:a72332750aee80a0a94c92b35d7263d76"><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01174.html#a72332750aee80a0a94c92b35d7263d76">id</a> [30]</td></tr>
   90 <tr class="memdesc:a72332750aee80a0a94c92b35d7263d76"><td class="mdescLeft">&#160;</td><td class="mdescRight">id of dynamic.  <a href="#a72332750aee80a0a94c92b35d7263d76">More...</a><br /></td></tr>
   91 <tr class="separator:a72332750aee80a0a94c92b35d7263d76"><td class="memSeparator" colspan="2">&#160;</td></tr>
   92 <tr class="memitem:adc93b94b6b4caf15dcf45297d928a8da"><td class="memItemLeft" align="right" valign="top"><a id="adc93b94b6b4caf15dcf45297d928a8da"></a>
   93 struct <a class="el" href="a01174.html">tds_dynamic</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01174.html#adc93b94b6b4caf15dcf45297d928a8da">next</a></td></tr>
   94 <tr class="memdesc:adc93b94b6b4caf15dcf45297d928a8da"><td class="mdescLeft">&#160;</td><td class="mdescRight">next in linked list, keep first <br /></td></tr>
   95 <tr class="separator:adc93b94b6b4caf15dcf45297d928a8da"><td class="memSeparator" colspan="2">&#160;</td></tr>
   96 <tr class="memitem:af6fd2355838cce1689fb0e04724b7b6a"><td class="memItemLeft" align="right" valign="top"><a id="af6fd2355838cce1689fb0e04724b7b6a"></a>
   97 TDS_INT&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01174.html#af6fd2355838cce1689fb0e04724b7b6a">num_id</a></td></tr>
   98 <tr class="memdesc:af6fd2355838cce1689fb0e04724b7b6a"><td class="mdescLeft">&#160;</td><td class="mdescRight">numeric id for mssql7+ <br /></td></tr>
   99 <tr class="separator:af6fd2355838cce1689fb0e04724b7b6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  100 <tr class="memitem:adba427a655336d0b128cdec36544464b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a01150.html">TDSPARAMINFO</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01174.html#adba427a655336d0b128cdec36544464b">params</a></td></tr>
  101 <tr class="memdesc:adba427a655336d0b128cdec36544464b"><td class="mdescLeft">&#160;</td><td class="mdescRight">query parameters.  <a href="#adba427a655336d0b128cdec36544464b">More...</a><br /></td></tr>
  102 <tr class="separator:adba427a655336d0b128cdec36544464b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  103 <tr class="memitem:a1cee141e5f7045e691eec830cec1c158"><td class="memItemLeft" align="right" valign="top"><a id="a1cee141e5f7045e691eec830cec1c158"></a>
  104 char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01174.html#a1cee141e5f7045e691eec830cec1c158">query</a></td></tr>
  105 <tr class="memdesc:a1cee141e5f7045e691eec830cec1c158"><td class="mdescLeft">&#160;</td><td class="mdescRight">saved query, we need to know original query if prepare is impossible <br /></td></tr>
  106 <tr class="separator:a1cee141e5f7045e691eec830cec1c158"><td class="memSeparator" colspan="2">&#160;</td></tr>
  107 <tr class="memitem:a2798c66fb3c8637c7fb29c6d1efebfa4"><td class="memItemLeft" align="right" valign="top"><a id="a2798c66fb3c8637c7fb29c6d1efebfa4"></a>
  108 TDS_INT&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01174.html#a2798c66fb3c8637c7fb29c6d1efebfa4">ref_count</a></td></tr>
  109 <tr class="memdesc:a2798c66fb3c8637c7fb29c6d1efebfa4"><td class="mdescLeft">&#160;</td><td class="mdescRight">reference counter so client can retain safely a pointer <br /></td></tr>
  110 <tr class="separator:a2798c66fb3c8637c7fb29c6d1efebfa4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  111 <tr class="memitem:ac736e163c0d4cdbca980a861214d99e7"><td class="memItemLeft" align="right" valign="top"><a id="ac736e163c0d4cdbca980a861214d99e7"></a>
  112 <a class="el" href="a01150.html">TDSPARAMINFO</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01174.html#ac736e163c0d4cdbca980a861214d99e7">res_info</a></td></tr>
  113 <tr class="memdesc:ac736e163c0d4cdbca980a861214d99e7"><td class="mdescLeft">&#160;</td><td class="mdescRight">query results <br /></td></tr>
  114 <tr class="separator:ac736e163c0d4cdbca980a861214d99e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  115 </table>
  116 <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  117 <div class="textblock"><p>Holds information for a dynamic (also called prepared) query. </p>
  118 </div><h2 class="groupheader">Member Data Documentation</h2>
  119 <a id="ad3fedfbec2ba0db4a64b82779d95a0c5"></a>
  120 <h2 class="memtitle"><span class="permalink"><a href="#ad3fedfbec2ba0db4a64b82779d95a0c5">&sect;&nbsp;</a></span>emulated</h2>
  121 
  122 <div class="memitem">
  123 <div class="memproto">
  124       <table class="memname">
  125         <tr>
  126           <td class="memname">TDS_TINYINT tds_dynamic::emulated</td>
  127         </tr>
  128       </table>
  129 </div><div class="memdoc">
  130 
  131 <p>this dynamic query cannot be prepared so libTDS have to construct a simple query. </p>
  132 <p>This can happen for instance is tds protocol doesn't support dynamics or trying to prepare query under Sybase that have BLOBs as parameters. </p>
  133 
  134 </div>
  135 </div>
  136 <a id="a72332750aee80a0a94c92b35d7263d76"></a>
  137 <h2 class="memtitle"><span class="permalink"><a href="#a72332750aee80a0a94c92b35d7263d76">&sect;&nbsp;</a></span>id</h2>
  138 
  139 <div class="memitem">
  140 <div class="memproto">
  141       <table class="memname">
  142         <tr>
  143           <td class="memname">char tds_dynamic::id[30]</td>
  144         </tr>
  145       </table>
  146 </div><div class="memdoc">
  147 
  148 <p>id of dynamic. </p>
  149 <p>Usually this id correspond to server one but if not specified is generated automatically by libTDS </p>
  150 
  151 </div>
  152 </div>
  153 <a id="adba427a655336d0b128cdec36544464b"></a>
  154 <h2 class="memtitle"><span class="permalink"><a href="#adba427a655336d0b128cdec36544464b">&sect;&nbsp;</a></span>params</h2>
  155 
  156 <div class="memitem">
  157 <div class="memproto">
  158       <table class="memname">
  159         <tr>
  160           <td class="memname"><a class="el" href="a01150.html">TDSPARAMINFO</a>* tds_dynamic::params</td>
  161         </tr>
  162       </table>
  163 </div><div class="memdoc">
  164 
  165 <p>query parameters. </p>
  166 <p>Mostly used executing query however is a good idea to prepare query again if parameter type change in an incompatible way (ie different types or larger size). Is also better to prepare a query knowing parameter types earlier. </p>
  167 
  168 </div>
  169 </div>
  170 <hr/>The documentation for this struct was generated from the following file:<ul>
  171 <li>include/freetds/<a class="el" href="a00431_source.html">tds.h</a></li>
  172 </ul>
  173 </div><!-- contents -->
  174 <!-- start footer part -->
  175 <hr class="footer"/><address class="footer"><small>
  176 Generated by &#160;<a href="http://www.doxygen.org/index.html">
  177 <img class="footer" src="doxygen.png" alt="doxygen"/>
  178 </a> 1.8.12
  179 </small></address>
  180 </body>
  181 </html>