forked from arana-db/arana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [ISSUE arana-db#94] Feat sequence (arana-db#211) * feat: support sequence * feat: none * feat: snowflake seqneuce finish * fix: add sequence unit test * feat: support sequence * chore: remove test.log * fix: fix cr issue * fix: fix integration_test fail * style: fix code style * docs: update code comment * fix: fix pr issue * fix: fix sql scriip style * test: add unit test * docs: fix sql script comment * refactor: update auto_increment to sequence * fix: fix cr issue * refactor: refactor sequence create mgr * style: fmt code style * fix: fix pr issue * docs: fix code comment * fix: fix cr issue * fix: fix sequence create table sql (arana-db#266) * fix: compatible with new optimizer structure * fix ut * fix: fix sequence bug (arana-db#302) * fix: fix sequence bug * refactor: use lazy creat sequence * style: fix code style * docs: update code comment * fix: fix pr issue * fix: remove unuse test file * Fix new sequence (arana-db#316) * fix: fix sequence bug * refactor: use lazy creat sequence * style: fix code style * docs: update code comment * fix: fix pr issue * fix: remove unuse test file * fix: fix snowflake all even number bug * Merge master (arana-db#320) * add unit test. (arana-db#306) * Add: add Range interface mock. * Add: add test case for iterator. * fix: format import. * fix: fix test case error. * Add: add test case for shard_expr. * Add: add license header. * Add: add new test case. * fix: fix import format. * refactor schemanager cache to lru cache (arana-db#246) Co-authored-by: Dong Jianhui <[email protected]> * optimize maxAllowedPacket config fix: arana-db#292 arana-db#281 (arana-db#297) * insert multi value at once request, throw error msg when any row error fix: arana-db#287 (arana-db#313) * feat: support show status (arana-db#309) * feat: max_allowed_packet is set by the user (arana-db#312) Co-authored-by: Zonglei Dong <[email protected]> Co-authored-by: Mulavar <[email protected]> Co-authored-by: Dong Jianhui <[email protected]> Co-authored-by: adair peng <[email protected]> * style: fix code style * ci: fix ci bug * ci: fix ci bug * ci: fix ci error * fix: fix ci bug * fix: fix runtime.Runtime use Co-authored-by: Jeffsky <[email protected]> Co-authored-by: Zonglei Dong <[email protected]> Co-authored-by: Mulavar <[email protected]> Co-authored-by: Dong Jianhui <[email protected]> Co-authored-by: adair peng <[email protected]>
- Loading branch information
1 parent
b04366f
commit e0d604b
Showing
28 changed files
with
1,206 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/* | ||
* Licensed to the Apache Software Foundation (ASF) under one or more | ||
* contributor license agreements. See the NOTICE file distributed with | ||
* this work for additional information regarding copyright ownership. | ||
* The ASF licenses this file to You under the Apache License, Version 2.0 | ||
* (the "License"); you may not use this file except in compliance with | ||
* the License. You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package rule | ||
|
||
type AutoIncrement struct { | ||
Type string | ||
Option map[string]string | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.