-
Notifications
You must be signed in to change notification settings - Fork 8
feat: support stmt2 writing #89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 14 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
5a1a1d8
feat: add stmt2 encode
menshibin 1672c18
feat: stmt interface abstraction
menshibin 35de22a
feat: support stmt2 writing
menshibin a1132b2
feat: support binding super tables
menshibin 80215ff
feat: add stmt version adaptation
menshibin fd10399
feat: resolve conflicts in CI database creation
menshibin 4664e7e
feat: modify stmt2 test case error
menshibin 838b988
feat: modify stmt2 test case ip
menshibin a661050
feat: modify stmt2 case errors
menshibin 224d328
feat: modify stmt2 case url
menshibin 56a0004
feat: modify stmt2 test query case
menshibin 8416e0a
feat: modify stmt2 test query case url
menshibin 89c20f3
feat: add stmt2 query case debug info
menshibin 6709a50
feat: modify stmt2 test query case tim
menshibin 92bcd16
feat: clean up memory data after stmt2 execution
menshibin 7a9758c
feat: improve stmt query parameters
menshibin f3c8256
feat: improve stmt2 common issues
menshibin b67c329
feat: improve stmt export
menshibin 188ce7a
feat: optimize stmt2 encoding
menshibin 7f423f6
feat: optimize stmt2 parameter binding serialization
menshibin 9885107
feat: remove stmt2 parameter binding debugging log
menshibin 47c18cc
feat: remove code with invalid stmt2 parameter binding
menshibin ba5a2cf
feat: modify version
menshibin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,15 @@ | ||
|
|
||
| export class FieldBindParams { | ||
| params: any[]; | ||
| dataType: string; | ||
| typeLen: number; | ||
| columnType: number; | ||
| bindType: number; // 0: normal, 1: table name, 2: tag | ||
| constructor(params:any[], dataType:string, typeLen:number, columnType:number, bindType:number) { | ||
| this.params = [...params]; | ||
| this.dataType = dataType; | ||
| this.typeLen = typeLen; | ||
| this.columnType = columnType; | ||
| this.bindType = bindType; | ||
| } | ||
| } |
This file contains hidden or 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 @@ | ||
|
|
||
| export class ColumnInfo { | ||
| data:ArrayBuffer; | ||
| length:number; | ||
| type:number; | ||
| typeLen:number; | ||
| isNull?: number[]; | ||
| _rows: number; | ||
| _haveLength: number = 0; | ||
| _dataLengths?: number[]; | ||
| constructor([length,data]:[number, ArrayBuffer], type:number, typeLen:number, rows:number, | ||
| isNull?: number[], dataLengths?: number[], haveLength: number = 0) { | ||
| this.data = data; | ||
| this.type = type; | ||
| this.length = length; | ||
| this.typeLen = typeLen; | ||
| this._rows = rows; | ||
| this.isNull = isNull; | ||
| this._dataLengths = dataLengths; | ||
| this._haveLength = haveLength; | ||
| } | ||
|
|
||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.