Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-5393

ConnectSE: ODBC: CATFUNC=Tables returns too few rows

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 10.0.6
    • 10.0.7
    • None
    • None

    Description

      If I run this script with a data source having many tables:

      drop table if exists t1;
      create table t1 engine=connect table_type=odbc connection='DSN=oraodbc;UID=system;PWD=manager' catfunc=Tables;
      select * from t1;

      it returns only the first 512 records.
      The data source has actually more tables (about 8900 tables and views).

      Attachments

        Activity

          bar Alexander Barkov created issue -
          bar Alexander Barkov made changes -
          Field Original Value New Value
          Affects Version/s 10.0.6 [ 13202 ]
          bar Alexander Barkov made changes -
          Fix Version/s 10.0.7 [ 14100 ]

          This was a limit built into the code. I was raised to 16384.

          bertrandop Olivier Bertrand added a comment - This was a limit built into the code. I was raised to 16384.

          Limits can now be changed using the MAXRES option (to be specified in the OPTION_LIST) Default values are:

          Drivers 256
          Data sources: 512
          Tables: 10000
          Columns 20000

          Of course, retrieving a result set of say 120,000 may seem ridiculous for display, however it is needed when doing functional or group by queries.

          bertrandop Olivier Bertrand added a comment - Limits can now be changed using the MAXRES option (to be specified in the OPTION_LIST) Default values are: Drivers 256 Data sources: 512 Tables: 10000 Columns 20000 Of course, retrieving a result set of say 120,000 may seem ridiculous for display, however it is needed when doing functional or group by queries.
          bertrandop Olivier Bertrand made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Closed [ 6 ]
          serg Sergei Golubchik made changes -
          Workflow defaullt [ 30625 ] MariaDB v2 [ 42732 ]
          ratzpo Rasmus Johansson (Inactive) made changes -
          Workflow MariaDB v2 [ 42732 ] MariaDB v3 [ 61724 ]
          serg Sergei Golubchik made changes -
          Workflow MariaDB v3 [ 61724 ] MariaDB v4 [ 147302 ]

          People

            bar Alexander Barkov
            bar Alexander Barkov
            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.