mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-09 06:42:57 +00:00
* feat: add build function and register it build() function to return the database build info #2909 * refactor: fix typos and change code structure * test: add test for build() * refactor: cargo fmt and eliminate warnings * Apply suggestions from code review Co-authored-by: Weny Xu <wenymedia@gmail.com> * refactor: move system.sql to a new directory --------- Co-authored-by: Weny Xu <wenymedia@gmail.com>
8 lines
299 B
SQL
8 lines
299 B
SQL
-- SQLNESS REPLACE branch:\s+.+ branch: BRANCH
|
|
-- SQLNESS REPLACE commit:\s+.+ commit: COMMIT
|
|
-- SQLNESS REPLACE commit+\s+short:\s+.+ commit short: COMMIT SHORT
|
|
-- SQLNESS REPLACE dirty:\s+.+ dirty: DIRTY
|
|
-- SQLNESS REPLACE version:\s+.+ version: VERSION
|
|
-- SQLNESS REPLACE [\s\-]+
|
|
SELECT build();
|