mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-10 15:22:56 +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>
11 lines
397 B
Plaintext
11 lines
397 B
Plaintext
-- 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();
|
|
|
|
++|build()|++|branch:BRANCH|commit:COMMIT|commitshort:COMMITSHORT|dirty:DIRTY|version:VERSION++
|
|
|