Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

3.3.0 update breaks execute SQL implementation

Đang mở
#427 4 bình luận 2 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
ruby, sql
Lĩnh vực
databases, documentation

Hướng nghiên cứu

Bắt đầu với lib/puppet_x/sqlserver/sql_connection.rb ở dòng 34, sau đó xem README và ghi chú phát hành để kiểm tra yêu cầu driver đã được ghi lại. Xác nhận rằng cần MSOLEDBSQL 18.x hoặc cũ hơn và phiên bản 19 không được hỗ trợ. Ghi lại yêu cầu và tính không tương thích trong tài liệu, đồng thời đưa việc ghi đè driver được yêu cầu thành một follow-up riêng.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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)
Ngôn ngữ chính
Ruby
Star
5
Fork
23
Merge trung bình
3 giờ 17 phút
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của puppetlabs/puppetlabs-sqlserver

Tất cả issue của puppetlabs/puppetlabs-sqlserver

Issue tương tự

Thêm issue về Ruby

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.