github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

jgoerzen / hdbc-odbc

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 1
    • 1
  • Source
  • Commits
  • Network (1)
  • Issues (0)
  • Downloads (63)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Switch Branches (3)
    • master ✓
    • pristine-tar
    • upstream
  • Switch Tags (63)
    • upstream/2.2.3.0
    • upstream/2.2.0.0
    • hdbc-testsuite-0.99.0
    • hdbc-sqlite3-0.6.0
    • hdbc-sqlite3_0.5.0
    • hdbc-postgresql-0.99.0.1
    • hdbc-postgresql-0.99.0.0
    • hdbc-postgresql-0.6.0
    • hdbc-odbc-0.99.0.0
    • debian/2.2.3.0-1
    • debian/2.2.0.0-3
    • debian/2.2.0.0-2
    • debian/2.2.0.0-1
    • debian/2.1.0.0-3
    • debian/2.1.0.0-2
    • debian/2.1.0.0-1
    • debian/2.0.0.0-2
    • debian/2.0.0.0-1
    • debian/1.1.6.0.1
    • debian/1.1.6.0.0
    • debian/1.1.4.4.1
    • debian/1.1.4.4.0
    • debian/1.1.4.2.0
    • debian/1.1.4.1.0
    • converted-from-darcs
    • before-making-progress-compatibility-adjustments
    • after-darcs-conversion
    • Very_first_successful_compile_of_sqlite3
    • Utils_are_working
    • Tests_run_again
    • Ready_for_first_tests
    • RELEASE_hdbc-odbc_1.1.4.0.0
    • RELEASE_hdbc-odbc_1.1.3.1.0
    • RELEASE_hdbc-odbc_1.1.3.0.0
    • RELEASE_hdbc-odbc_1.1.2.2
    • RELEASE_hdbc-odbc_1.1.2.0
    • RELEASE_hdbc-odbc_1.1.0.0
    • RELEASE_1.0.0.0
    • Passes_all_tests_with_PostgreSQL
    • New_allocation_code_working
    • Initial_testsuite
    • First_passing_of_all_tests
    • Debugging_heisenbug
    • DEBIAN_hdbc-postgresql_0.99.0.0
    • DEBIAN_hdbc-odbc_1.1.4.0.1
    • DEBIAN_hdbc-odbc_1.1.4.0.0
    • DEBIAN_hdbc-odbc_1.1.3.1.0
    • DEBIAN_hdbc-odbc_1.1.3.0.0
    • DEBIAN_hdbc-odbc_1.1.2.2
    • DEBIAN_hdbc-odbc_1.1.2.1
    • DEBIAN_hdbc-odbc_1.1.2.0
    • DEBIAN_hdbc-odbc_1.1.0.0
    • DEBIAN_hdbc-odbc_1.0.1.1
    • DEBIAN_hdbc-odbc_1.0.1.0
    • DEBIAN_hdbc-odbc_1.0.0.1
    • DEBIAN_hdbc-odbc_0.99.2.1
    • DEBIAN_hdbc-odbc_0.99.2.0
    • DEBIAN_hdbc-odbc_0.99.0.0
    • Creation_of_ODBC_branch
    • Checkpointing_attempt_to_wrap_things
    • Before_swich_to_wrapping_C_objects
    • Before_postgresql_cfork
    • After_switchover_to_new_memory_management_code
  • Branch List
Sending Request…
Click here to lend your support to: hdbc-odbc and make a donation at www.pledgie.com !

ODBC driver for HDBC [Haskell] — Read more

  Cancel

http://wiki.github.com/jgoerzen/hdbc-odbc/

  Cancel
  • HTTP
  • Git Read-Only

This URL has Read+Write access

Merge branch 'tmp' 
jgoerzen (author)
Thu Apr 22 10:39:14 -0700 2010
commit  8445ff172bb485bbd932
tree    f173c93f7a85012323ce
parent  6f0af55118fae5796f7e parent  284e30608014ce9b65e3
hdbc-odbc /
name age
history
message
file COPYING Loading commit data...
file COPYRIGHT
directory Database/
file HDBC-odbc.cabal
file Makefile
file README.txt
file Setup.hs
file TODO
directory debian/
file hdbc-odbc-helper.c
file hdbc-odbc-helper.h
directory testsrc/
README.txt
Welcome to HDBC, Haskell Database Connectivity.

This package provides a database backend driver for ODBC.  You should
be able to use any ODBC front-end with it.

Please see HDBC itself for documentation on use.

This package provides one function in module Database.HDBC.ODBC:

{- | Connect to an ODBC server.

For information on the meaning of the passed string, please see:

<http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odbc/htm/odbcsqldrivers.asp>

An example string is:

>"DSN=hdbctest1"

-}
connectODBC :: String -> IO Connection

DIFFERENCES FROM HDBC STANDARD
------------------------------

None known at this time.

MYSQL NOTE
----------

Important note for MySQL users:

Unless you are going to use InnoDB tables, you are strongly encouraged to set

Option = 262144

in your odbc.ini (for Unix users), or to disable transaction support in your
DSN setup for Windows users.

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 /NOT/ what you
want.  It is a bug (or misfeature) in the MySQL driver, not in HDBC.

You should ignore this advice if you are using InnoDB tables.

Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server
  • English
  • Català
  • Čeština
  • Deutsch
  • Español
  • Français
  • Hrvatski
  • Indonesia
  • Italiano
  • 日本語
  • Nederlands
  • Norsk
  • Polski
  • Português (BR)
  • Српски
  • Svenska
  • 中文