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

[Bug]: Freeze when adding composite key with checkboxes

Đang mở
#4,150 0 bình luận 0 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
48/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
cpp, sqlite
Lĩnh vực
databases, desktop

Hướng nghiên cứu

Tái hiện tình trạng treo trong DB4S trên Windows bằng cách tạo hai cột và chọn cả hai hộp kiểm PK, sau đó so sánh quy trình đó với tab „Index Constraints“ đang hoạt động. Kiểm tra để bảo đảm ứng dụng vẫn phản hồi và đoạn mã SQL CREATE TABLE bao gồm khóa chính tổng hợp mà không dẫn đến trạng thái không phản hồi.

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

Mô tả

What did you do?

I was editing a project with the app, when I tried to create a new table. I created two columns, and made one of them a primary key by clicking the PK checkbox. Then I tried to check the PK checkbox for the second column, at which point the app froze.

What did you expect to see?

I had expected that the second column would be added to the primary key constraint at the end of the CREATE TABLE sql snippet at the bottom.

What did you see instead?

The app froze. Forced closed for brevity in video.

https://github.com/user-attachments/assets/342f6491-03e5-40d5-86ac-f41264943106

Further experiments found that the composite key can be added successfully in the Index Constraints tab - this seems to be an issue specifically with the checkboxes.

DB4S Version

3.13.99 (nightly)

What OS are you seeing the problem on?

Windows

OS version

Windows 11 Home 25H2

Relevant log output
No additions to SQL Log pane at time of freeze, and no new lines were written to WinDbg at time of freeze or after (DB4S becomes entirely unresponsive when run through WinDbg and the window cannot be forced to crash except by stopping the debugging session)
Prevention against duplicate issues
  • I have searched for similar issues
Ngôn ngữ chính
C++
Star
24.6k
Fork
2.4k
Merge trung bình
2 ngày 8 giờ
Pull request đã merge (30 ngày)
4

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

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 sqlitebrowser/sqlitebrowser

Tất cả issue của sqlitebrowser/sqlitebrowser

Issue tương tự

Thêm issue về C++

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.