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

          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.

          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.