Skip to content

implemented connection string authentification - #648

Merged
Shfdis merged 4 commits into
odbc-driver-featurefrom
odbc-connection-string
Aug 6, 2026
Merged

implemented connection string authentification#648
Shfdis merged 4 commits into
odbc-driver-featurefrom
odbc-connection-string

Conversation

@Shfdis

@Shfdis Shfdis commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@Shfdis

Shfdis commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e856312ac8

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread odbc/src/utils/util.cpp
Comment thread odbc/src/statement.cpp Outdated
Comment thread odbc/src/connection_config.cpp
Comment thread odbc/src/statement.cpp
@robot-vibe-db

robot-vibe-db Bot commented Aug 4, 2026

Copy link
Copy Markdown

AI Review Summary

Verdict: ✅ No critical issues found

Critical issues

No critical issues found.

Other findings

  • Major | Medium: Unknown connection string attributes are rejected instead of being silently ignored, breaking standard ODBC interoperability with BI tools and applications that pass extra keywords — odbc/src/connection_config.cpp:239
  • Minor | Medium: GetDiagField(SQL_DIAG_ROW_COUNT) returns hardcoded -1 instead of RowCount_, diverging from SQLRowCount after this PR adds actual row-count tracking — odbc/src/statement.cpp:999

This review was generated automatically. Critical issues require attention; other findings are advisory.
If this comment was useful, please give it a 👍 — it helps us improve the review bot.

@robot-vibe-db

robot-vibe-db Bot commented Aug 4, 2026

Copy link
Copy Markdown

Full analysis log

Analysis performed by claude, claude-opus-4-6.

@Shfdis

Shfdis commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0c2e5ce30d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .github/scripts/run_iam_integration_tests.sh Outdated
Comment thread odbc/tests/integration/authentication_it.cpp Outdated

@robot-vibe-db robot-vibe-db Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AI Review Summary

Verdict: ✅ No critical issues found

Critical issues

No critical issues found.

Other findings

  • Major | Medium: RebindToDatabase dereferences DriverConfig_ without checking if it has a value — potential crash on disconnected connection — odbc/src/connection.cpp:291
  • Minor | Medium: ThrowInvalidAttribute uses SQLSTATE 01S00 (a warning state per ODBC spec) for errors that prevent connection establishment — odbc/src/connection_config.cpp:61
  • Minor | Low: GetDiagField no longer validates recNumber == 0 for header field SQL_DIAG_ROW_COUNT, removing a spec-compliance guard — odbc/src/statement.cpp:985
  • Nit | Low: TScopedEnvironmentVariable uses setenv/unsetenv which are not thread-safe per POSIX — could race if auth tests run in parallel with other env-modifying tests — odbc/tests/integration/authentication_it.cpp:32

This review was generated automatically. Critical issues require attention; other findings are advisory.
If this comment was useful, please give it a 👍 — it helps us improve the review bot.

Comment thread odbc/src/connection.cpp
Comment thread odbc/src/connection_config.cpp Outdated
Comment thread odbc/src/statement.cpp
@robot-vibe-db

robot-vibe-db Bot commented Aug 4, 2026

Copy link
Copy Markdown

Full analysis log

Analysis performed by claude, claude-opus-4-6.

@Shfdis

Shfdis commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🎉

Reviewed commit: d0b566133f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@robot-vibe-db robot-vibe-db Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AI Review Summary

Verdict: ✅ No critical issues found

Critical issues

No critical issues found.

Other findings

  • Minor | Medium: StatsMode(Basic) unconditionally enabled for all queries, adding overhead for SELECTs and DDL where stats aren't consumed — odbc/src/statement.cpp:369
  • Nit | Low: GetDiagField no longer checks recNumber == 0 for SQL_DIAG_ROW_COUNT, a minor ODBC spec deviation — odbc/src/statement.cpp:985

This review was generated automatically. Critical issues require attention; other findings are advisory.
If this comment was useful, please give it a 👍 — it helps us improve the review bot.

Comment thread odbc/src/statement.cpp
Comment thread odbc/src/statement.cpp
@robot-vibe-db

robot-vibe-db Bot commented Aug 6, 2026

Copy link
Copy Markdown

Full analysis log

Analysis performed by claude, claude-opus-4-6.

@Shfdis
Shfdis merged commit 062fb78 into odbc-driver-feature Aug 6, 2026
20 checks passed
@Shfdis
Shfdis deleted the odbc-connection-string branch August 6, 2026 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant