Plugin should run more extensive checks
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
阅读插件的就绪检查,以及 wp-includes/sqlite/class-wp-sqlite-lexer.php 第 919 行附近的 SQLite token 定义。跟踪在插件报告系统已就绪之前,如何检查受支持的 SQL 函数。完成的标准是检测到不兼容的 SQLite 功能(包括 FLOOR),而不是接受它们。
由索引模型根据 Issue 内容生成。
描述
Currently, the plugin says your system is ready as soon as the host has SQLite and SQLite3 class exists.
But MATH functions (like FLOOR) are not available before SQLite 3.35 [1]. While that version is more than 2 years old, Linux distros like Debian stable [2] (which is the one where the WordPress 7.x Docker images are based from [3]) still have 3.34.
IMHO, the plugin should make sure all the TOKENs it supports and creates SQLIte queries for (like FLOOR [4]) are supported in the server, so maybe a version check should be done against the SQLite3 version running on the server.
[1] https://www.sqlite.org/changes.html#version_3_35_0
[2] https://packages.debian.org/bullseye/libsqlite3-0
[3] https://hub.docker.com/layers/library/wordpress/php7.4-fpm/images/sha256-08a1cb1fbe022cd08d5d19e6f95ab549194927959a297da41590d4f2d884f7b4?context=explore
[4] https://github.com/WordPress/sqlite-database-integration/blob/main/wp-includes/sqlite/class-wp-sqlite-lexer.php#L919
- 主要语言
- PHP
- 星标
- 362
- 派生
- 69
- 平均合并
- 4 天 7 小时
- 30 天内合并 PR
- 9
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
WordPress/sqlite-database-integration 的其他 Issue
-
MySQL-on-SQLite does not translate DATE arithmetic with INTERVAL HOUR可能已有人在做 @samuelmbabhazi 于 24 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
WordPress/sqlite-database-integration#454 · 3 条评论 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 40/100
WordPress/sqlite-database-integration#531 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 48/100
WordPress/sqlite-database-integration#529 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 35/100
WordPress/sqlite-database-integration#528 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 4/5 1-2 天 新手友好度 52/100
WordPress/sqlite-database-integration#527 ·
维护者通常 1 天内回复
查看 WordPress/sqlite-database-integration 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 62/100
woocommerce/woocommerce-google-analytics-integration#699 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 60/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
ProfessionalWiki/NeoWiki#1675 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 88/100
-
难度 2/5 1-3 小时 新手友好度 70/100