Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • FPC Source FPC Source
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 1,277
    • Issues 1,277
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 57
    • Merge requests 57
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

Scheduled maintenance on the database layer will take place on 2022-07-02. We expect GitLab.com to be unavailable for up to 2 hours starting from 06:00 UTC. Kindly follow our status page for updates and read more in our blog post.

  • FPC
  • FPC
  • FPC SourceFPC Source
  • Issues
  • #13241
Closed
Open
Created Feb 25, 2009 by FPC Admin account@fpc_adminOwner

Could not retrieve primary key metadata for table ... using SQLPrimaryKeys. ODBC error details: ...

Original Reporter info from Mantis: lacak @lacak.sk
  • Reporter name: LacaK

Description:

This error occurs, when on TSQLQuery object is set :
ParseSQL:=true;
UsePrimaryKeyAsKey:=true;

Setting Active:=true leads to following error:
"Could not retrieve primary key metadata for table ... using SQLPrimaryKeys. ODBC error details: ... Connection is busy with results for another hstmt;"

Additional information:

Tested with MS SQL Server odbc driver and Firebird ODBC driver, result is same

Mantis conversion info:

  • Mantis ID: 13241
  • Version: 2.3.1
  • Fixed in version: 2.4.0
  • Fixed in revision: 13090 (#ce554000)
  • Monitored by: » @lacak.sk (LacaK)
  • Target version: 2.4.0
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking