-
Notifications
You must be signed in to change notification settings - Fork 0
Comparing changes
Open a pull request
base repository: changsongyang/AliSQL
base: master
head repository: alibaba/AliSQL
compare: master
- 20 commits
- 39 files changed
- 7 contributors
Commits on Jan 27, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 57c4a2e - Browse repository at this point
Copy the full SHA 57c4a2eView commit details
Commits on Feb 2, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 8919fc4 - Browse repository at this point
Copy the full SHA 8919fc4View commit details
Commits on Feb 4, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 1a97fb1 - Browse repository at this point
Copy the full SHA 1a97fb1View commit details -
Add DuckDB early initialization for crash recovery
- Add InitializeIfNeeded() to trigger DuckDB initialization at startup when duckdb_mode=ON or DuckDB data files exist - Add DataFilesExist() to check for duckdb.db or WAL files - Call InitializeIfNeeded() in mysqld_main() after CreateInstance() to ensure WAL replay happens at startup rather than on first request - Fix merge conflicts in wiki documentation files Co-Authored-By: Claude Opus 4.5 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3fc2639 - Browse repository at this point
Copy the full SHA 3fc2639View commit details -
Merge branch 'master' of github.com:alibaba/AliSQL
* 'master' of github.com:alibaba/AliSQL: Update README.md MOD build.sh: use bundled tirpc to compile
zongzhi.czz committedFeb 4, 2026 Configuration menu - View commit details
-
Copy full SHA for 5b18772 - Browse repository at this point
Copy the full SHA 5b18772View commit details -
Redesign README with modern layout and add Chinese version
- Restructure README.md with centered logo, badges, and feature tables - Add usage examples for DuckDB analytics and vector search - Add visual roadmap and star history chart - Create README_zh.md for Chinese-speaking users - Remove emoji icons for cleaner appearance Co-Authored-By: Claude Opus 4.5 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 70c1e8d - Browse repository at this point
Copy the full SHA 70c1e8dView commit details -
Use local alisql-logo.png for README logo
Co-Authored-By: Claude Opus 4.5 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6f6d262 - Browse repository at this point
Copy the full SHA 6f6d262View commit details -
Remove horizontal dividers from README files
Co-Authored-By: Claude Opus 4.5 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 35b8662 - Browse repository at this point
Copy the full SHA 35b8662View commit details -
Co-Authored-By: Claude Opus 4.5 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 87c00ed - Browse repository at this point
Copy the full SHA 87c00edView commit details
Commits on Feb 5, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 8e432df - Browse repository at this point
Copy the full SHA 8e432dfView commit details -
Add global support for sql_safe_updates system variable
Add command-line option --sql-safe-updates to allow setting the global default value for sql_safe_updates from the configuration file (my.cnf) or command line. Changes: - Add opt_sql_safe_updates variable and source_sql_safe_updates for tracking the command-line option source - Add --sql-safe-updates option to my_long_options array - Synchronize the command-line value to global_system_variables.option_bits during server startup This follows the same pattern used for --autocommit option, as Sys_var_bit does not support command-line options directly. Usage: # In my.cnf [mysqld] sql-safe-updates = 1 # Or via command line mysqld --sql-safe-updates=1 Co-Authored-By: Claude Opus 4.5 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4a45b4e - Browse repository at this point
Copy the full SHA 4a45b4eView commit details -
Add RDSAI CLI to README as related tool
Add introduction and quick start guide for rdsai-cli project (https://github.com/aliyun/rdsai-cli) - an AI-powered database CLI that supports natural language queries for AliSQL and MySQL. Co-Authored-By: Claude Opus 4.5 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d633c98 - Browse repository at this point
Copy the full SHA d633c98View commit details -
Configuration menu - View commit details
-
Copy full SHA for be67dab - Browse repository at this point
Copy the full SHA be67dabView commit details
Commits on Mar 31, 2026
-
Fix crash when inserting invalid integer into DATETIME column with Du…
…ckDB engine (alibaba#134) Fixes alibaba#131 Description =========== - Server crashes with assertion failure when executing: INSERT IGNORE INTO t (col1) VALUES (57399) where col1 is a DATETIME column on a DuckDB engine table. - The assertion `mon > 0 && mon < 13 && year <= 9999` in sec_since_epoch() (sql/tztime.cc:356) fails because the MYSQL_TIME struct contains month=0. - InnoDB handles this case gracefully by truncating to zero date with a warning, but DuckDB engine crashes. Cause ===== - MySQL's SQL layer converts the invalid integer 57399 to a zero date (0000-00-00 00:00:00) via number_to_datetime() -> reset(), setting month=0. - In the DuckDB write path, DeltaAppender::append_mysql_field() for MYSQL_TYPE_DATETIME2 calls TIME_to_gmt_sec() without validating the MYSQL_TIME struct, which triggers the assertion in sec_since_epoch(). Fix === - Add a zero/invalid date check (tm.month == 0) in the MYSQL_TYPE_DATETIME2 branch of DeltaAppender::append_mysql_field() before calling TIME_to_gmt_sec(). - When a zero date is detected, compute the timestamp directly using calc_daynr(), consistent with the existing MYSQL_TYPE_NEWDATE handling. - Valid dates (month in [1, 12]) continue to use the original TIME_to_gmt_sec() path.
Configuration menu - View commit details
-
Copy full SHA for 4fb1793 - Browse repository at this point
Copy the full SHA 4fb1793View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5992bff - Browse repository at this point
Copy the full SHA 5992bffView commit details
Commits on Apr 9, 2026
-
Fix JSON function error handling when called from DuckDB engine (alib…
…aba#139) When JSON functions (json_overlaps, json_depth, json_unquote) are called from DuckDB engine with invalid input, they previously triggered MySQL error handling (my_error) which is not appropriate in the DuckDB context. This fix adds a `m_caller_is_duckdb` flag to the relevant JSON function classes so that when called from DuckDB, errors are thrown as C++ exceptions (duckdb::InvalidInputException) instead of MySQL errors, allowing DuckDB to handle them properly. Fixes alibaba#136 Co-authored-by: Claude Opus 4.6 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 68ebfb1 - Browse repository at this point
Copy the full SHA 68ebfb1View commit details
Commits on May 11, 2026
-
Fix VECTOR column DATA_TYPE in INFORMATION_SCHEMA views
VECTOR columns stored as '/*!99999 vector(N) */ varbinary(4N)' in DD caused INFORMATION_SCHEMA.COLUMNS/PARAMETERS/ROUTINES to return '/*!99999' as DATA_TYPE instead of 'varbinary'. Fix by adding SUBSTRING_INDEX(..., '*/ ', -1) to strip the versioned comment prefix. Add EXTRA_IS_VERSION minor upgrade mechanism to rebuild I_S views on existing installations without bumping upstream IS_DD_VERSION. Co-Authored-By: Claude Opus 4.6 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 12726be - Browse repository at this point
Copy the full SHA 12726beView commit details
Commits on May 12, 2026
-
ci: trigger alisql-docker build on release publish (alibaba#148)
On every published release whose tag starts with AliSQL-8.0.*, push the same tag to p1p1bear/alisql-docker so its existing build workflow can build and push the multi-arch Docker image to Docker Hub (songhuaxiong/alisql). Requires repo secret DOCKER_REPO_PAT (fine-grained PAT with Contents: read/write on p1p1bear/alisql-docker).
Configuration menu - View commit details
-
Copy full SHA for 687f38e - Browse repository at this point
Copy the full SHA 687f38eView commit details -
Configuration menu - View commit details
-
Copy full SHA for d06deb5 - Browse repository at this point
Copy the full SHA d06deb5View commit details -
ci: add build-and-release workflow for tag-triggered tarball builds (a…
…libaba#150) Build glibc 2.17 compatible AliSQL tarballs (x86_64 + aarch64) inside oraclelinux:7 on tag push, inject version from tag name into the version file, then create a GitHub Release with both tarballs attached. Triggered by tags matching AliSQL-8.0.* or AliSQL-5.7.*.
Configuration menu - View commit details
-
Copy full SHA for dce1871 - Browse repository at this point
Copy the full SHA dce1871View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff master...master