This file is indexed.

/usr/share/doc/libghc-hdbc-odbc-doc/html/Database-HDBC-ODBC.html is in libghc-hdbc-odbc-doc 2.3.1.1-6build1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Database.HDBC.ODBC</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Database-HDBC-ODBC.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Database-HDBC-ODBC.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">HDBC-odbc-2.3.1.1: ODBC driver for HDBC</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Copyright</th><td>Copyright (C) 2005 John Goerzen</td></tr><tr><th>License</th><td>BSD3</td></tr><tr><th>Maintainer</th><td>John Goerzen &lt;jgoerzen@complete.org&gt;</td></tr><tr><th>Stability</th><td>provisional</td></tr><tr><th>Portability</th><td>portable</td></tr><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell98</td></tr></table><p class="caption">Database.HDBC.ODBC</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>HDBC driver interface for ODBC 3.x</p><p>Written by John Goerzen, jgoerzen@complete.org</p></div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><a href="#v:connectODBC">connectODBC</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> <a href="Database-HDBC-ODBC.html#t:Connection">Connection</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:Connection">Connection</a></li><li class="src short"><a href="#v:getQueryInfo">getQueryInfo</a> :: <a href="Database-HDBC-ODBC.html#t:Connection">Connection</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> ([<a href="file:///usr/share/doc/libghc-hdbc-doc/html/Database-HDBC-ColTypes.html#t:SqlColDesc">SqlColDesc</a>], [(<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a>, <a href="file:///usr/share/doc/libghc-hdbc-doc/html/Database-HDBC-ColTypes.html#t:SqlColDesc">SqlColDesc</a>)])</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a name="v:connectODBC" class="def">connectODBC</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> <a href="Database-HDBC-ODBC.html#t:Connection">Connection</a> <a href="src/Database-HDBC-ODBC-Connection.html#connectODBC" class="link">Source</a></p><div class="doc"><p>Connect to an ODBC server.</p><p>For information on the meaning of the passed string, please see:</p><p><a href="http://msdn2.microsoft.com/en-us/library/ms715433(VS.85).aspx">http://msdn2.microsoft.com/en-us/library/ms715433(VS.85).aspx</a></p><p>An example string is:</p><pre>&quot;DSN=hdbctest1&quot;</pre><p>This, and all other functions that use ODBC directly or indirectly, can raise
SqlErrors just like other HDBC backends.  The seErrorMsg field is specified
as a String in HDBC.  ODBC specifies this data as a list of strings.
Therefore, this driver uses show on the data from ODBC.  For friendly display,
or handling of individual component messages in your code, you can use 
read on the seErrorMsg field in a context that expects <code>[String]</code>.</p><p>Important note for MySQL users:</p><p>Unless you are going to use InnoDB tables, you are strongly encouraged to set</p><pre>Option = 262144</pre><p>in your odbc.ini (for Unix users), or to disable transaction support in your
DSN setup for Windows users.</p><p>If you fail to do this, the MySQL ODBC driver will incorrectly state that it
supports transactions.  dbTransactionSupport will incorrectly return True.
commit and rollback will then silently fail.  This is certainly <em>NOT</em> what you
want.  It is a bug (or misfeature) in the MySQL driver, not in HDBC.</p><p>You should ignore this advice if you are using InnoDB tables.</p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:Connection" class="def">Connection</a> <a href="src/Database-HDBC-ODBC-ConnectionImpl.html#Connection" class="link">Source</a></p><div class="subs instances"><p id="control.i:Connection" class="caption collapser" onclick="toggleSection('i:Connection')">Instances</p><div id="section.i:Connection" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-hdbc-doc/html/Database-HDBC-Types.html#t:IConnection">IConnection</a> <a href="Database-HDBC-ODBC.html#t:Connection">Connection</a></span> <a href="src/Database-HDBC-ODBC-ConnectionImpl.html#line-26" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:getQueryInfo" class="def">getQueryInfo</a> :: <a href="Database-HDBC-ODBC.html#t:Connection">Connection</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> ([<a href="file:///usr/share/doc/libghc-hdbc-doc/html/Database-HDBC-ColTypes.html#t:SqlColDesc">SqlColDesc</a>], [(<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a>, <a href="file:///usr/share/doc/libghc-hdbc-doc/html/Database-HDBC-ColTypes.html#t:SqlColDesc">SqlColDesc</a>)]) <a href="src/Database-HDBC-ODBC-ConnectionImpl.html#getQueryInfo" class="link">Source</a></p></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.16.1</p></div></body></html>