Uploaded image for project: 'MariaDB Connector/ODBC'
  1. MariaDB Connector/ODBC
  2. ODBC-37

Issue reading table data with C# VS2013

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 2.0.11
    • None
    • None
    • Server Ver 14.14 Distrib 5.5.30, for Win64 (x86) (Windows server 2008 R2 standard), Client running C# application (Windows 7 enterprise)

    Description

      C# Application gets exceptions reading tables using MariaDB connector ODBC 2.0.10 64bit. No issues running with MySQL connector ODBC.

      C# Application included - change DB host, database, username, password before running to point to your database. Application should not have any exceptions reading tables. Works fine with MySQL connector ODBC driver.

      Exception:
      Arithmetic operation resulted in an overflow.

      Attachments

        1. fileContentLargeBlobSizes.csv
          2 kB
        2. maodbc.dll
          1.28 MB
        3. maodbc.dll
          1.66 MB
        4. MariaDbCSharpConnectorTest.zip
          6 kB

        Activity

          Thanks, I guess this can help. I will try to recreate your problem

          Lawrin Lawrin Novitsky added a comment - Thanks, I guess this can help. I will try to recreate your problem

          I could not re-create your problem, but I have some good reasons to think that I have fixed it. I removed old library from this page, and attached the new one. Could you please check if now it works for you?

          Lawrin Lawrin Novitsky added a comment - I could not re-create your problem, but I have some good reasons to think that I have fixed it. I removed old library from this page, and attached the new one. Could you please check if now it works for you?
          quadcell Steven Riat added a comment -

          It worked. Can you also give me a 32 bit version? Thank you very much.

          quadcell Steven Riat added a comment - It worked. Can you also give me a 32 bit version? Thank you very much.

          Closing. There was combination of bugs here. Most of them was pure 64bit problem. And I guess part of last problem was bug in (old) underlying Connector/C. And partly that was problem in SQLGetData, and I think 32bit was affected by it, too

          Lawrin Lawrin Novitsky added a comment - Closing. There was combination of bugs here. Most of them was pure 64bit problem. And I guess part of last problem was bug in (old) underlying Connector/C. And partly that was problem in SQLGetData, and I think 32bit was affected by it, too

          I attached 32bit dll here as well. But you know, this is not official release or something. Only good for testing purposes. But enjoy

          Lawrin Lawrin Novitsky added a comment - I attached 32bit dll here as well. But you know, this is not official release or something. Only good for testing purposes. But enjoy

          People

            Lawrin Lawrin Novitsky
            quadcell Steven Riat
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.