Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

3.3.0 update breaks execute SQL implementation

未关闭
#427 4 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
ruby, sql

调研方向

从第34行的lib/puppet_x/sqlserver/sql_connection.rb开始,然后查阅README和发行说明,了解文档中记录的驱动程序要求。确认必须使用MSOLEDBSQL 18.x或更早版本,并且不支持版本19。在文档中记录该要求和不兼容性,并将所请求的驱动程序覆盖作为单独的后续工作。

由索引模型根据 Issue 内容生成。

描述

bugfix community

lib/puppet_x/sqlserver/sql_connection.rb was updated in the last release to update to a newer version of the SQL Driver.

I don't have a massive problem with this, as the Native SQL driver used was out of date and no longer supported, however, the release notes for this release made no mention of the requirement change. Unfortunately the referenced driver is also out of date and the latest version 19, does not work with this change.

The change has also been hardcoded, so there is no way of overriding the default.

Please can you:

  1. Update the documentation to state that the MSOLEDBSQL driver is now required to use this module. You can use this chocolatey package for installation. but it must version 18.x or earlier.

More details on this driver can be found here however, it references version 19 by default.

  1. Mention that the current release does not support v19 of MSOLEDBSQL in the release notes and readme.

  2. Raise a item to allow overriding of the driver, that way we can use version 19 of the driver or later version if Microsoft bring out a new one; defaulting to this one.

Error below for reference:

OLE error code:800A0E7A in ADODB.Connection
      Provider cannot be found. It may not be properly installed.
    HRESULT error code:0x80020009
      Exception occurred. (corrective)
主要语言
Ruby
星标
5
派生
23
平均合并
3 小时 17 分钟
30 天内合并 PR
1

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

puppetlabs/puppetlabs-sqlserver 的其他 Issue

查看 puppetlabs/puppetlabs-sqlserver 的全部 Issue

相似的 Issue

更多 Ruby Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。