# Packages
Package mock_frontend is a generated GoMock package.
# Functions
ConstructTLSConfig creates the TLS config.
Execute runs the statement executor.
No description provided by the author
No description provided by the author
No description provided by the author
GetPassWord is used to get hash byte password SHA1(SHA1(password)).
No description provided by the author
GetRoutineId gets the routine id.
only support single value and unary minus.
GetTenantInfo extract tenant info from the input of the user.*
The format of the user
1.
No description provided by the author
HashPassWord is uesed to hash password *SHA1(SHA1(password)).
No description provided by the author
HashSha1 is used to calcute a sha1 hash SHA1().
No description provided by the author
InitGeneralTenant initializes the application level tenant.
initialize system variables from definition.
No description provided by the author
No description provided by the author
InitRole creates the new role.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
InitSysTenant initializes the tenant SYS before any tenants and accepting any requests during the system is booting.
No description provided by the author
No description provided by the author
No description provided by the author
InitUser creates new user for the tenant.
IsAdministrativeStatement checks the statement is the administrative statement.
No description provided by the author
No description provided by the author
IsDDL checks the statement is the DDL statement.
IsDropStatement checks the statement is the drop statement.
IsParameterModificationStatement checks the statement is the statement of parameter modification statement.
IsPrepareStatement checks the statement is the Prepare statement.
MakeDebugInfo prints bytes in multi-lines.
No description provided by the author
No description provided by the author
NeedToBeCommittedInActiveTransaction checks the statement that need to be committed
in an active transaction.
NewBackgroundSession generates an independent background session executing the sql.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SetSpecialUser saves the user for initialization !!!NOTE: userName must not contain Colon ':'.
length:
-1, complete string.
WildcardMatch implements wildcard pattern match algorithm.
# Constants
No description provided by the author
mysql client capabilities.
mysql client capabilities.
mysql client capabilities.
mysql client capabilities.
mysql client capabilities.
mysql client capabilities.
mysql client capabilities.
mysql client capabilities.
mysql client capabilities.
mysql client capabilities.
mysql client capabilities.
mysql client capabilities.
mysql client capabilities.
mysql client capabilities.
mysql client capabilities.
mysql client capabilities.
mysql client capabilities.
mysql client capabilities.
mysql client capabilities.
mysql client capabilities.
mysql client capabilities.
mysql client capabilities.
mysql client capabilities.
mysql client capabilities.
text protocol in mysql client protocol iteration command.
text protocol in mysql client protocol iteration command.
text protocol in mysql client protocol iteration command.
text protocol in mysql client protocol iteration command.
text protocol in mysql client protocol iteration command.
text protocol in mysql client protocol iteration command.
text protocol in mysql client protocol iteration command.
text protocol in mysql client protocol iteration command.
text protocol in mysql client protocol iteration command.
text protocol in mysql client protocol iteration command.
text protocol in mysql client protocol iteration command.
text protocol in mysql client protocol iteration command.
text protocol in mysql client protocol iteration command.
text protocol in mysql client protocol iteration command.
text protocol in mysql client protocol iteration command.
text protocol in mysql client protocol iteration command.
text protocol in mysql client protocol iteration command.
text protocol in mysql client protocol iteration command.
text protocol in mysql client protocol iteration command.
text protocol in mysql client protocol iteration command.
text protocol in mysql client protocol iteration command.
text protocol in mysql client protocol iteration command.
text protocol in mysql client protocol iteration command.
text protocol in mysql client protocol iteration command.
text protocol in mysql client protocol iteration command.
text protocol in mysql client protocol iteration command.
text protocol in mysql client protocol iteration command.
DefaultMySQLState is the default state of the mySQL.
No description provided by the author
No description provided by the author
No description provided by the author
EoFResponse EOF message.
ErrorResponse Error message.
the length of the mysql protocol header.
No description provided by the author
LocalInfileRequest local infile message.
reference : https://dev.mysql.com/doc/refman/8.0/en/storage-requirements.html#data-types-storage-reqs-strings.
MaxPayloadSize If the payload is larger than or equal to 2^24−1 bytes the length is set to 2^24−1 (ff ff ff)and additional packets are sent with the rest of the payload until the payload of a packetis less than 2^24−1 bytes.
No description provided by the author
TODO: this variable should be configure by set variable.
No description provided by the author
OkResponse OK message.
defined in mo.
reference to sql/query_options.h in mysql server 8.0.23.
reference to sql/query_options.h in mysql server 8.0.23.
reference to sql/query_options.h in mysql server 8.0.23.
reference to sql/query_options.h in mysql server 8.0.23.
reference to sql/query_options.h in mysql server 8.0.23.
reference to sql/query_options.h in mysql server 8.0.23.
reference to sql/query_options.h in mysql server 8.0.23.
reference to sql/query_options.h in mysql server 8.0.23.
reference to sql/query_options.h in mysql server 8.0.23.
reference to sql/query_options.h in mysql server 8.0.23.
reference to sql/query_options.h in mysql server 8.0.23.
reference to sql/query_options.h in mysql server 8.0.23.
reference to sql/query_options.h in mysql server 8.0.23.
reference to sql/query_options.h in mysql server 8.0.23.
reference to sql/query_options.h in mysql server 8.0.23.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
used in checking the privilege of CreateUser with the default role.
No description provided by the author
No description provided by the author
No description provided by the author
includes: table, view, stream, sequence, function, dblink,etc.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
include create/alter/drop index.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ResultResponse result message.
it is both in global and session.
it is only in global.
it is global and persisted.
it is persisted without updating global and session values.
to remove a persisted variable.
it is only in session.
More results exists (more packet follow).
This resultset contain stored procedure output parameter.
server status.
Session state change.
Autocommit mode is set.
When using COM_STMT_FETCH, indicate that current cursor still has result.
Database has been dropped.
A transaction is currently active.
Current transaction is a read-only transaction.
When using COM_STMT_FETCH, indicate that current cursor has finished to send results.
A DDL change did have an impact on an existing PREPARE (an automatic reprepare has been executed).
Current escape mode is "no backslash escape".
server status.
server status.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
reference to sql/query_options.h in mysql server 8.0.23.
No description provided by the author
# Variables
No description provided by the author
ConnIDAllocKey is used get connection ID from HAKeeper.
DefaultCapability means default capabilities of the server.
DefaultClientConnStatus default server status.
No description provided by the author
No description provided by the author
GetComputationWrapper gets the execs from the computation engine
*/.
No description provided by the author
the set of variables.
NewBackgroundHandler with first two parameters.
No description provided by the author
path exists in the system
return:
true/false - exists or not.
No description provided by the author
No description provided by the author
No description provided by the author
RecordStatementTxnID record txnID after TxnBegin or Compile(autocommit=1).
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
BackgroundSession executing the sql in background.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TODO: DeallocateExecutor has no response like QUIT COMMAND ?.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
FakeProtocol works for the background transaction that does not use the network protocol.
No description provided by the author
No description provided by the author
No description provided by the author
InternalCmdFieldList the CMD_FIELD_LIST statement.
No description provided by the author
No description provided by the author
IOPackageImpl implements the IOPackage for the basic interaction in the connection.
No description provided by the author
No description provided by the author
MOServer MatrixOne Server.
No description provided by the author
No description provided by the author
the result of the execution.
No description provided by the author
Discussion: for some MatrixOne types and Type.Scale value are needed for stringification, I think we need to add a field MoTypes []types.Type in this struct, what's your opinion on this matter?@Daviszhen.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Routine handles requests.
No description provided by the author
TODO: special handle for export.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TableInfoCache tableInfos of a database.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
UserInput normally, just use the sql.
No description provided by the author
# Interfaces
BackgroundExec executes the sql in background session without network output.
CmdExecutor handle the command from the client.
No description provided by the author
No description provided by the author
No description provided by the author
ComputationWrapper is the wrapper of the computation.
ExecResult is the result interface of the execution.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
StmtExecutor represents the single statement execution.
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author