what is the upper limit of number of user defined function and relationship to `RESERVED_FUNCTION_POINTERS`

Đang mở
#215 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ó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
15/100
Loại issue
Tài liệu
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
javascript, sqlite, wasm
Lĩnh vực
databases

Hướng nghiên cứu

The issue names no source file, test, or entry point. Start by tracing sql.js's SQLite UDF registration and RESERVED_FUNCTION_POINTERS handling, then document whether repeated create_function calls or distinct functions consume pointers; a reproducible case and clear rule of thumb would define done.

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

Mô tả

Hi,

I ran into Finished up all reserved function pointers. Use a higher value for RESERVED_FUNCTION_POINTERS -- I understand I could build sql.js with a higher value for RESERVED_FUNCTION_POINTERS, but I just wanted to make sure the issue was actually the number of UDFs:

is there a rule of thumb number of user defined functions? I ran into this problem with about 5 unique ones (but I call .create_function quite a few times because i need to update the udf) --- is the function pointers counted by distinct udf names, or the number that create_function is called?

Would the RESERVED_FUNCTION_POINTERS correspond directly to the number of .create_function or distinct UDFs, or neither of the two?

Thanks so much!!

Ngôn ngữ chính
JavaScript
Star
13.7k
Fork
1.1k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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

Mở hướng dẫn đóng góp

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 sql-js/sql.js

Tất cả issue của sql-js/sql.js

Issue tương tự

Thêm issue về JavaScript

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.