Versions in this module Expand all Collapse all v1 v1.2.5 Apr 2, 2022 v1.2.4 Mar 2, 2022 Changes in this version + const AuthSwitchHeader + const CachingSHA2Password + func CalcCachingSha2Password(salt []byte, password string) []byte + func ReadNullByte(data []byte, pos int) ([]byte, int, bool) + func WriteBytes(data []byte, pos int, value []byte) int v1.2.3 Sep 29, 2021 v1.2.2 Nov 10, 2020 v1.2.1 Oct 12, 2020 v1.2.0 Sep 21, 2020 v1.1.0 Sep 5, 2020 v1.0.3 May 21, 2020 v1.0.2 Nov 20, 2019 v1.0.1 Jul 31, 2019 v1.0.0 May 24, 2019 Changes in this version + const AllPrivMask + const AutoIncrementFlag + const BinCmpFlag + const BinaryCollationID + const BinaryFlag + const BlobFlag + const CharsetASCII + const CharsetBin + const CharsetLatin1 + const CharsetUTF8 + const CharsetUTF8MB4 + const ClientCompress + const ClientConnectAtts + const ClientConnectWithDB + const ClientFoundRows + const ClientIgnoreSigpipe + const ClientIgnoreSpace + const ClientInteractive + const ClientLocalFiles + const ClientLongFlag + const ClientLongPassword + const ClientMultiResults + const ClientMultiStatements + const ClientNoSchema + const ClientODBC + const ClientPSMultiResults + const ClientPluginAuth + const ClientPluginAuthLenencClientData + const ClientProtocol41 + const ClientReserved + const ClientSSL + const ClientSecureConnection + const ClientTransactions + const CollationASCII + const CollationBin + const CollationLatin1 + const CollationUTF8 + const CollationUTF8MB4 + const ComBinlogDump + const ComBinlogDumpGtid + const ComChangeUser + const ComConnect + const ComConnectOut + const ComCreateDB + const ComDaemon + const ComDebug + const ComDelayedInsert + const ComDropDB + const ComEnd + const ComFieldList + const ComInitDB + const ComPing + const ComProcessInfo + const ComProcessKill + const ComQuery + const ComQuit + const ComRefresh + const ComRegisterSlave + const ComResetConnection + const ComSetOption + const ComShutdown + const ComSleep + const ComStatistics + const ComStmtClose + const ComStmtExecute + const ComStmtFetch + const ComStmtPrepare + const ComStmtReset + const ComStmtSendLongData + const ComTableDump + const ComTime + const CursorTypeReadOnly + const DefaultCharset + const DefaultCollationID + const DefaultCollationName + const DefaultMySQLState + const EOFHeader + const EnumFlag + const ErrAbortingConnection + const ErrAccessDenied + const ErrAccessDeniedNoPassword + const ErrAddPartitionNoNewPartition + const ErrAddPartitionSubpart + const ErrAdminWrongMrgTable + const ErrAlterFilegroupFailed + const ErrAlterInfo + const ErrAlterOperationNotSupported + const ErrAlterOperationNotSupportedReason + const ErrAlterOperationNotSupportedReasonAutoinc + const ErrAlterOperationNotSupportedReasonChangeFts + const ErrAlterOperationNotSupportedReasonColumnType + const ErrAlterOperationNotSupportedReasonCopy + const ErrAlterOperationNotSupportedReasonFkCheck + const ErrAlterOperationNotSupportedReasonFkRename + const ErrAlterOperationNotSupportedReasonFts + const ErrAlterOperationNotSupportedReasonHiddenFts + const ErrAlterOperationNotSupportedReasonIgnore + const ErrAlterOperationNotSupportedReasonNopk + const ErrAlterOperationNotSupportedReasonNotNull + const ErrAlterOperationNotSupportedReasonPartition + const ErrAmbiguousFieldTerm + const ErrAutoConvert + const ErrAutoPositionRequiresGtidModeOn + const ErrAutoincReadFailed + const ErrBadDB + const ErrBadField + const ErrBadFtColumn + const ErrBadGeneratedColumn + const ErrBadHost + const ErrBadLogStatement + const ErrBadNull + const ErrBadSlave + const ErrBadSlaveAutoPosition + const ErrBadSlaveUntilCond + const ErrBadTable + const ErrBase64Decode + const ErrBinlogCacheSizeGreaterThanMax + const ErrBinlogCreateRoutineNeedSuper + const ErrBinlogLoggingImpossible + const ErrBinlogMultipleEnginesAndSelfLoggingEngine + const ErrBinlogPurgeEmFile + const ErrBinlogPurgeFatalErr + const ErrBinlogPurgeProhibited + const ErrBinlogReadEventChecksumFailure + const ErrBinlogRowEngineAndStmtEngine + const ErrBinlogRowInjectionAndStmtEngine + const ErrBinlogRowInjectionAndStmtMode + const ErrBinlogRowLoggingFailed + const ErrBinlogRowModeAndStmtEngine + const ErrBinlogRowRbrToSbr + const ErrBinlogRowWrongTableDef + const ErrBinlogStmtCacheSizeGreaterThanMax + const ErrBinlogStmtModeAndNoReplTables + const ErrBinlogStmtModeAndRowEngine + const ErrBinlogUnsafeAndStmtEngine + const ErrBinlogUnsafeAutoincColumns + const ErrBinlogUnsafeAutoincNotFirst + const ErrBinlogUnsafeCreateIgnoreSelect + const ErrBinlogUnsafeCreateReplaceSelect + const ErrBinlogUnsafeCreateSelectAutoinc + const ErrBinlogUnsafeInsertDelayed + const ErrBinlogUnsafeInsertIgnoreSelect + const ErrBinlogUnsafeInsertSelectUpdate + const ErrBinlogUnsafeInsertTwoKeys + const ErrBinlogUnsafeLimit + const ErrBinlogUnsafeMixedStatement + const ErrBinlogUnsafeMultipleEnginesAndSelfLoggingEngine + const ErrBinlogUnsafeNontransAfterTrans + const ErrBinlogUnsafeReplaceSelect + const ErrBinlogUnsafeRoutine + const ErrBinlogUnsafeStatement + const ErrBinlogUnsafeSystemFunction + const ErrBinlogUnsafeSystemTable + const ErrBinlogUnsafeSystemVariable + const ErrBinlogUnsafeUdf + const ErrBinlogUnsafeUpdateIgnore + const ErrBinlogUnsafeWriteAutoincSelect + const ErrBlobCantHaveDefault + const ErrBlobFieldInPartFunc + const ErrBlobKeyWithoutLength + const ErrBlobUsedAsKey + const ErrBlobsAndNoTerminated + const ErrCannotAddForeign + const ErrCannotLoadFromTableV2 + const ErrCannotUser + const ErrCantActivateLog + const ErrCantAggregate2collations + const ErrCantAggregate3collations + const ErrCantAggregateNcollations + const ErrCantChangeGtidNextInTransactionWhenGtidNextListIsNull + const ErrCantChangeTxCharacteristics + const ErrCantCreateDB + const ErrCantCreateFederatedTable + const ErrCantCreateFile + const ErrCantCreateGeometryObject + const ErrCantCreateHandlerFile + const ErrCantCreateSroutine + const ErrCantCreateTable + const ErrCantCreateThread + const ErrCantCreateUserWithGrant + const ErrCantDeleteFile + const ErrCantDoImplicitCommitInTrxWhenGtidNextIsSet + const ErrCantDoThisDuringAnTransaction + const ErrCantDropFieldOrKey + const ErrCantExecuteInReadOnlyTransaction + const ErrCantFindDlEntry + const ErrCantFindSystemRec + const ErrCantFindUdf + const ErrCantGetStat + const ErrCantGetWd + const ErrCantInitializeUdf + const ErrCantLock + const ErrCantLockLogTable + const ErrCantOpenFile + const ErrCantOpenLibrary + const ErrCantReadDir + const ErrCantRemoveAllFields + const ErrCantRenameLogTable + const ErrCantReopenTable + const ErrCantSetGtidNextListToNonNullWhenGtidModeIsOff + const ErrCantSetGtidNextToAnonymousWhenGtidModeIsOn + const ErrCantSetGtidNextToGtidWhenGtidModeIsOff + const ErrCantSetGtidNextWhenOwningGtid + const ErrCantSetGtidPurgedWhenGtidExecutedIsNotEmpty + const ErrCantSetGtidPurgedWhenGtidModeIsOff + const ErrCantSetGtidPurgedWhenOwnedGtidsIsNotEmpty + const ErrCantSetWd + const ErrCantUpdateTableInCreateTableSelect + const ErrCantUpdateUsedTableInSfOrTrg + const ErrCantUpdateWithReadlock + const ErrCantUseOptionHere + const ErrCantWriteLockLogTable + const ErrChangeRplInfoRepositoryFailure + const ErrCheckNoSuchTable + const ErrCheckNotImplemented + const ErrCheckread + const ErrCoalesceOnlyOnHashPartition + const ErrCoalescePartitionNoPartition + const ErrColCountDoesntMatchCorruptedV2 + const ErrColCountDoesntMatchPleaseUpdate + const ErrCollationCharsetMismatch + const ErrColumnaccessDenied + const ErrCommitNotAllowedInSfOrTrg + const ErrConCount + const ErrCondItemTooLong + const ErrConflictFnParse + const ErrConflictingDeclarations + const ErrConnectToForeignDataSource + const ErrConnectToMaster + const ErrConsecutiveReorgPartitions + const ErrCorruptHelpDB + const ErrCrashedOnRepair + const ErrCrashedOnUsage + const ErrCreateDBWithReadLock + const ErrCreateFilegroupFailed + const ErrCutValueGroupConcat + const ErrCyclicReference + const ErrDBCreateExists + const ErrDBDropDelete + const ErrDBDropExists + const ErrDBDropRmdir + const ErrDBaccessDenied + const ErrDaInvalidConditionNumber + const ErrDataOutOfRange + const ErrDataTooLong + const ErrDatabaseName + const ErrDatetimeFunctionOverflow + const ErrDdlLog + const ErrDebugSyncHitLimit + const ErrDebugSyncTimeout + const ErrDelayedCantChangeLock + const ErrDelayedInsertTableLocked + const ErrDelayedNotSupported + const ErrDependentByGeneratedColumn + const ErrDerivedMustHaveAlias + const ErrDiffGroupsProc + const ErrDiscardFkChecksRunning + const ErrDiskFull + const ErrDivisionByZero + const ErrDropDBWithReadLock + const ErrDropFilegroupFailed + const ErrDropIndexFk + const ErrDropLastPartition + const ErrDropPartitionNonExistent + const ErrDropUser + const ErrDumpNotImplemented + const ErrDupArgument + const ErrDupEntry + const ErrDupEntryAutoincrementCase + const ErrDupEntryWithKeyName + const ErrDupFieldName + const ErrDupIndex + const ErrDupKey + const ErrDupKeyName + const ErrDupSignalSet + const ErrDupUnique + const ErrDupUnknownInIndex + const ErrDuplicatedValueInType + const ErrEmptyQuery + const ErrErrorDuringCheckpoint + const ErrErrorDuringCommit + const ErrErrorDuringFlushLogs + const ErrErrorDuringRollback + const ErrErrorFirst + const ErrErrorInTriggerBody + const ErrErrorInUnknownTriggerBody + const ErrErrorLast + const ErrErrorOnClose + const ErrErrorOnRead + const ErrErrorOnRename + const ErrErrorOnWrite + const ErrErrorWhenExecutingCommand + const ErrEventAlreadyExists + const ErrEventCannotAlterInThePast + const ErrEventCannotCreateInThePast + const ErrEventCannotDelete + const ErrEventCantAlter + const ErrEventCompile + const ErrEventDataTooLong + const ErrEventDoesNotExist + const ErrEventDropFailed + const ErrEventEndsBeforeStarts + const ErrEventExecTimeInThePast + const ErrEventIntervalNotPositiveOrTooBig + const ErrEventInvalidCreationCtx + const ErrEventModifyQueue + const ErrEventNeitherMExprNorMAt + const ErrEventOpenTableFailed + const ErrEventRecursionForbidden + const ErrEventSameName + const ErrEventSetVar + const ErrEventStoreFailed + const ErrEventsDB + const ErrExceptionsWrite + const ErrExecStmtWithOpenCursor + const ErrFailedReadFromParFile + const ErrFailedRoutineBreakBinlog + const ErrFeatureDisabled + const ErrFieldNotFoundPart + const ErrFieldNotInGroupBy + const ErrFieldSpecifiedTwice + const ErrFieldTypeNotAllowedAsPartitionField + const ErrFileExists + const ErrFileNotFound + const ErrFileUsed + const ErrFilegroupOptionOnlyOnce + const ErrFilsortAbort + const ErrFkCannotDeleteParent + const ErrFkCannotOpenParent + const ErrFkColumnCannotChange + const ErrFkColumnCannotChangeChild + const ErrFkColumnCannotDrop + const ErrFkColumnCannotDropChild + const ErrFkColumnNotNull + const ErrFkDupName + const ErrFkFailAddSystem + const ErrFkIncorrectOption + const ErrFkNoIndexChild + const ErrFkNoIndexParent + const ErrFlushMasterBinlogClosed + const ErrForbidSchemaChange + const ErrForcingClose + const ErrForeignDataSourceDoesntExist + const ErrForeignDataStringInvalid + const ErrForeignDataStringInvalidCantCreate + const ErrForeignDuplicateKeyOldUnused + const ErrForeignDuplicateKeyWithChildInfo + const ErrForeignDuplicateKeyWithoutChildInfo + const ErrForeignKeyOnPartitioned + const ErrForeignServerDoesntExist + const ErrForeignServerExists + const ErrFormNotFound + const ErrFoundGtidEventWhenGtidModeIsOff + const ErrFparserBadHeader + const ErrFparserEOFInComment + const ErrFparserEOFInUnknownParameter + const ErrFparserErrorInParameter + const ErrFparserTooBigFile + const ErrFrmUnknownType + const ErrFseekFail + const ErrFtMatchingKeyNotFound + const ErrFulltextNotSupportedWithPartitioning + const ErrFuncInexistentNameCollision + const ErrFunctionNotDefined + const ErrGeneratedColumnFunctionIsNotAllowed + const ErrGeneratedColumnNonPrior + const ErrGeneratedColumnRefAutoInc + const ErrGetErrmsg + const ErrGetErrno + const ErrGetTemporaryErrmsg + const ErrGlobalVariable + const ErrGnoExhausted + const ErrGotSignal + const ErrGrantPluginUserExists + const ErrGrantWrongHostOrUser + const ErrGtidExecutedWasChanged + const ErrGtidMode2Or3RequiresEnforceGtidConsistencyOn + const ErrGtidModeCanOnlyChangeOneStepAtATime + const ErrGtidModeRequiresBinlog + const ErrGtidNextCantBeAutomaticIfGtidNextListIsNonNull + const ErrGtidNextIsNotInGtidNextList + const ErrGtidNextTypeUndefinedGroup + const ErrGtidPurgedWasChanged + const ErrGtidUnsafeCreateDropTemporaryTableInTransaction + const ErrGtidUnsafeCreateSelect + const ErrGtidUnsafeNonTransactionalTable + const ErrHandshake + const ErrHashchk + const ErrHeader + const ErrHostIsBlocked + const ErrHostNotPrivileged + const ErrHostname + const ErrIdentCausesTooLongPath + const ErrIllegalGrantForTable + const ErrIllegalHa + const ErrIllegalHaCreateOption + const ErrIllegalReference + const ErrIllegalValueForType + const ErrInconsistentPartitionInfo + const ErrInconsistentTypeOfFunctions + const ErrIncorrectGlobalLocalVar + const ErrIndexColumnTooLong + const ErrIndexCorrupt + const ErrIndexRebuild + const ErrInnodbFtLimit + const ErrInnodbFtWrongDocidColumn + const ErrInnodbFtWrongDocidIndex + const ErrInnodbImport + const ErrInnodbIndexCorrupt + const ErrInnodbNoFtTempTable + const ErrInnodbOnlineLogTooBig + const ErrInsecureChangeMaster + const ErrInsecurePlainText + const ErrInsertInfo + const ErrInsideTransactionPreventsSwitchBinlogDirect + const ErrInsideTransactionPreventsSwitchBinlogFormat + const ErrInsideTransactionPreventsSwitchSQLLogBin + const ErrInternal + const ErrInvalidCharacterString + const ErrInvalidDefault + const ErrInvalidGroupFuncUse + const ErrInvalidJSONContainsPathType + const ErrInvalidJSONData + const ErrInvalidJSONPath + const ErrInvalidJSONPathWildcard + const ErrInvalidJSONText + const ErrInvalidOnUpdate + const ErrInvalidUseOfNull + const ErrInvalidYearColumnLength + const ErrIoErrLogIndexRead + const ErrIoRead + const ErrIoWrite + const ErrIpsock + const ErrJSONUsedAsKey + const ErrKeyColumnDoesNotExits + const ErrKeyDoesNotExist + const ErrKeyNotFound + const ErrKeyPart0 + const ErrKeyRefDoNotMatchTableRef + const ErrKillDenied + const ErrLimitedPartRange + const ErrListOfFieldsOnlyInHash + const ErrLoadDataInvalidColumn + const ErrLoadFromFixedSizeRowsToVar + const ErrLoadInfo + const ErrLocalVariable + const ErrLockAborted + const ErrLockDeadlock + const ErrLockOrActiveTransaction + const ErrLockTableFull + const ErrLockWaitTimeout + const ErrLogInUse + const ErrLogPurgeNoFile + const ErrLogPurgeUnknownErr + const ErrLoggingProhibitChangingOf + const ErrMBiggerThanD + const ErrMalformedDefiner + const ErrMalformedGtidSetEncoding + const ErrMalformedGtidSetSpecification + const ErrMalformedGtidSpecification + const ErrMalformedPacket + const ErrMaster + const ErrMasterDelayValueOutOfRange + const ErrMasterFatalErrorReadingBinlog + const ErrMasterHasPurgedRequiredGtids + const ErrMasterInfo + const ErrMasterNetRead + const ErrMasterNetWrite + const ErrMaxPreparedStmtCountReached + const ErrMaxvalueInValuesIn + const ErrMessageAndStatement + const ErrMissingSkipSlave + const ErrMixHandler + const ErrMixOfGroupFuncAndFields + const ErrMixingNotAllowed + const ErrMtsCantParallel + const ErrMtsChangeMasterCantRunWithGaps + const ErrMtsFeatureIsNotSupported + const ErrMtsInconsistentData + const ErrMtsRecoveryFailure + const ErrMtsResetWorkers + const ErrMtsUpdatedDBsGreaterMax + const ErrMultiUpdateKeyConflict + const ErrMultipleDefConstInListPart + const ErrMultiplePriKey + const ErrMustChangePassword + const ErrMustChangePasswordLogin + const ErrNameBecomesEmpty + const ErrNativeFctNameCollision + const ErrNdbCantSwitchBinlogFormat + const ErrNdbReplicationSchema + const ErrNeedReprepare + const ErrNetErrorOnWrite + const ErrNetFcntl + const ErrNetPacketTooLarge + const ErrNetPacketsOutOfOrder + const ErrNetRead + const ErrNetReadErrorFromPipe + const ErrNetReadInterrupted + const ErrNetUncompress + const ErrNetWriteInterrupted + const ErrNetworkReadEventChecksumFailure + const ErrNeverUsed + const ErrNewAbortingConnection + const ErrNisamchk + const ErrNo + const ErrNoBinaryLogging + const ErrNoBinlog + const ErrNoConstExprInRangeOrList + const ErrNoDB + const ErrNoDefault + const ErrNoDefaultForField + const ErrNoDefaultForViewField + const ErrNoFileMapping + const ErrNoFormatDescriptionEventBeforeBinlogStatement + const ErrNoGroupForProc + const ErrNoPartitionForGivenValue + const ErrNoPartitionForGivenValueSilent + const ErrNoParts + const ErrNoPermissionToCreateUser + const ErrNoRaidCompiled + const ErrNoReferencedRow + const ErrNoReferencedRow2 + const ErrNoSuchIndex + const ErrNoSuchKeyValue + const ErrNoSuchPartitionunused + const ErrNoSuchTable + const ErrNoSuchThread + const ErrNoSuchUser + const ErrNoTablesUsed + const ErrNoTriggersOnSystemSchema + const ErrNoUniqueLogFile + const ErrNonGroupingFieldUsed + const ErrNonInsertableTable + const ErrNonUniq + const ErrNonUpdatableTable + const ErrNonexistingGrant + const ErrNonexistingProcGrant + const ErrNonexistingTableGrant + const ErrNonuniqTable + const ErrNonupdateableColumn + const ErrNormalShutdown + const ErrNotAllowedCommand + const ErrNotFormFile + const ErrNotKeyFile + const ErrNotSupportedAuthMode + const ErrNotSupportedYet + const ErrNotValidPassword + const ErrNullColumnInIndex + const ErrNullInValuesLessThan + const ErrObsoleteCannotLoadFromTable + const ErrObsoleteColCountDoesntMatchCorrupted + const ErrOldFileFormat + const ErrOldKeyFile + const ErrOnlyFdAndRbrEventsAllowedInBinlogStatement + const ErrOnlyIntegersAllowed + const ErrOnlyOnRangeListPartition + const ErrOpenAsReadonly + const ErrOperandColumns + const ErrOptionPreventsStatement + const ErrOrderWithProc + const ErrOutOfResources + const ErrOutOfSortMemory + const ErrOutofMemory + const ErrParse + const ErrPartState + const ErrPartitionClauseOnNonpartitioned + const ErrPartitionColumnList + const ErrPartitionConstDomain + const ErrPartitionEntry + const ErrPartitionExchangeDifferentOption + const ErrPartitionExchangeForeignKey + const ErrPartitionExchangePartTable + const ErrPartitionExchangeTempTable + const ErrPartitionFieldsTooLong + const ErrPartitionFuncNotAllowed + const ErrPartitionFunctionFailure + const ErrPartitionFunctionIsNotAllowed + const ErrPartitionInsteadOfSubpartition + const ErrPartitionMaxvalue + const ErrPartitionMerge + const ErrPartitionMgmtOnNonpartitioned + const ErrPartitionName + const ErrPartitionNoTemporary + const ErrPartitionNotDefined + const ErrPartitionRequiresValues + const ErrPartitionSubpartMix + const ErrPartitionSubpartition + const ErrPartitionWrongNoPart + const ErrPartitionWrongNoSubpart + const ErrPartitionWrongValues + const ErrPartitionsMustBeDefined + const ErrPasswdLength + const ErrPasswordAnonymousUser + const ErrPasswordFormat + const ErrPasswordNoMatch + const ErrPasswordNotAllowed + const ErrPathLength + const ErrPluginIsNotLoaded + const ErrPluginIsPermanent + const ErrPluginNoInstall + const ErrPluginNoUninstall + const ErrPrimaryCantHaveNull + const ErrProcAutoGrantFail + const ErrProcAutoRevokeFail + const ErrProcaccessDenied + const ErrPsManyParam + const ErrPsNoRecursion + const ErrQueryCacheDisabled + const ErrQueryInterrupted + const ErrQueryOnForeignDataSource + const ErrQueryOnMaster + const ErrRangeNotIncreasing + const ErrRbrNotAvailable + const ErrReadOnlyMode + const ErrReadOnlyTransaction + const ErrReady + const ErrRecordFileFull + const ErrRegexp + const ErrRelayLogFail + const ErrRelayLogInit + const ErrRemovedSpaces + const ErrRenamedName + const ErrReorgHashOnlyOnSameNo + const ErrReorgNoParam + const ErrReorgOutsideRange + const ErrReorgPartitionNotExist + const ErrRequiresPrimaryKey + const ErrReservedSyntax + const ErrResignalWithoutActiveHandler + const ErrRevokeGrants + const ErrRowDoesNotMatchGivenPartitionSet + const ErrRowDoesNotMatchPartition + const ErrRowInWrongPartition + const ErrRowIsReferenced + const ErrRowIsReferenced2 + const ErrRowSinglePartitionField + const ErrRplInfoDataTooLong + const ErrSQLSlaveSkipCounterNotSettableInGtidMode + const ErrSQLthreadWithSecureSlave + const ErrSameNamePartition + const ErrSameNamePartitionField + const ErrSelectReduced + const ErrServerIsInSecureAuthMode + const ErrServerShutdown + const ErrSetConstantsOnly + const ErrSetPasswordAuthPlugin + const ErrSetStatementCannotInvokeFunction + const ErrShutdownComplete + const ErrSignalBadConditionType + const ErrSignalException + const ErrSignalNotFound + const ErrSignalWarn + const ErrSizeOverflow + const ErrSkippingLoggedTransaction + const ErrSlaveCantCreateConversion + const ErrSlaveConfiguration + const ErrSlaveConversionFailed + const ErrSlaveCorruptEvent + const ErrSlaveCreateEventFailure + const ErrSlaveFatal + const ErrSlaveHeartbeatFailure + const ErrSlaveHeartbeatValueOutOfRange + const ErrSlaveHeartbeatValueOutOfRangeMax + const ErrSlaveHeartbeatValueOutOfRangeMin + const ErrSlaveIgnoreServerIds + const ErrSlaveIgnoredSslParams + const ErrSlaveIgnoredTable + const ErrSlaveIncident + const ErrSlaveMasterComFailure + const ErrSlaveMustStop + const ErrSlaveNotRunning + const ErrSlaveRelayLogReadFailure + const ErrSlaveRelayLogWriteFailure + const ErrSlaveSilentRetryTransaction + const ErrSlaveThread + const ErrSlaveWasNotRunning + const ErrSlaveWasRunning + const ErrSpAlreadyExists + const ErrSpBadCursorQuery + const ErrSpBadCursorSelect + const ErrSpBadSQLstate + const ErrSpBadVarShadow + const ErrSpBadreturn + const ErrSpBadselect + const ErrSpBadstatement + const ErrSpCantAlter + const ErrSpCantSetAutocommit + const ErrSpCaseNotFound + const ErrSpCondMismatch + const ErrSpCursorAfterHandler + const ErrSpCursorAlreadyOpen + const ErrSpCursorMismatch + const ErrSpCursorNotOpen + const ErrSpDoesNotExist + const ErrSpDropFailed + const ErrSpDupCond + const ErrSpDupCurs + const ErrSpDupHandler + const ErrSpDupParam + const ErrSpDupVar + const ErrSpFetchNoData + const ErrSpGotoInHndlr + const ErrSpLabelMismatch + const ErrSpLabelRedefine + const ErrSpLilabelMismatch + const ErrSpNoAggregate + const ErrSpNoDropSp + const ErrSpNoRecursion + const ErrSpNoRecursiveCreate + const ErrSpNoRetset + const ErrSpNoreturn + const ErrSpNoreturnend + const ErrSpNotVarArg + const ErrSpProcTableCorrupt + const ErrSpRecursionLimit + const ErrSpStoreFailed + const ErrSpSubselectNyi + const ErrSpUndeclaredVar + const ErrSpUninitVar + const ErrSpVarcondAfterCurshndlr + const ErrSpWrongName + const ErrSpWrongNoOfArgs + const ErrSpWrongNoOfFetchArgs + const ErrSpatialCantHaveNull + const ErrSpatialMustHaveGeomCol + const ErrSpecificAccessDenied + const ErrSrInvalidCreationCtx + const ErrStackOverrun + const ErrStackOverrunNeedMore + const ErrStartup + const ErrStmtCacheFull + const ErrStmtHasNoOpenCursor + const ErrStmtNotAllowedInSfOrTrg + const ErrStoredFunctionPreventsSwitchBinlogDirect + const ErrStoredFunctionPreventsSwitchBinlogFormat + const ErrStoredFunctionPreventsSwitchSQLLogBin + const ErrSubpartition + const ErrSubpartitionName + const ErrSubqueryNo1Row + const ErrSyntax + const ErrTableCantHandleAutoIncrement + const ErrTableCantHandleBlob + const ErrTableCantHandleFt + const ErrTableCantHandleSpkeys + const ErrTableDefChanged + const ErrTableExists + const ErrTableHasNoFt + const ErrTableInFkCheck + const ErrTableInSystemTablespace + const ErrTableMustHaveColumns + const ErrTableName + const ErrTableNeedsRebuild + const ErrTableNeedsUpgrade + const ErrTableNotLocked + const ErrTableNotLockedForWrite + const ErrTableSchemaMismatch + const ErrTableaccessDenied + const ErrTablenameNotAllowedHere + const ErrTablesDifferentMetadata + const ErrTablespaceAutoExtend + const ErrTablespaceDiscarded + const ErrTablespaceExists + const ErrTablespaceMissing + const ErrTempTablePreventsSwitchOutOfRbr + const ErrTemporaryName + const ErrTextFileNotReadable + const ErrTextLength + const ErrTooBigDisplaywidth + const ErrTooBigFieldlength + const ErrTooBigForUncompress + const ErrTooBigPrecision + const ErrTooBigRowsize + const ErrTooBigScale + const ErrTooBigSelect + const ErrTooBigSet + const ErrTooHighLevelOfNestingForSelect + const ErrTooLongBody + const ErrTooLongFieldComment + const ErrTooLongIdent + const ErrTooLongIndexComment + const ErrTooLongKey + const ErrTooLongString + const ErrTooLongTableComment + const ErrTooLongTablePartitionComment + const ErrTooManyConcurrentTrxs + const ErrTooManyDelayedThreads + const ErrTooManyFields + const ErrTooManyKeyParts + const ErrTooManyKeys + const ErrTooManyPartitionFuncFields + const ErrTooManyPartitions + const ErrTooManyRows + const ErrTooManyTables + const ErrTooManyUserConnections + const ErrTooManyValues + const ErrTooMuchAutoTimestampCols + const ErrTransCacheFull + const ErrTrgAlreadyExists + const ErrTrgCantChangeRow + const ErrTrgCantOpenTable + const ErrTrgCorruptedFile + const ErrTrgDoesNotExist + const ErrTrgInWrongSchema + const ErrTrgInvalidCreationCtx + const ErrTrgNoCreationCtx + const ErrTrgNoDefiner + const ErrTrgNoSuchRowInTrg + const ErrTrgOnViewOrTempTable + const ErrTruncateIllegalFk + const ErrTruncatedWrongValue + const ErrTruncatedWrongValueForField + const ErrUdfExists + const ErrUdfNoPaths + const ErrUndoRecordTooBig + const ErrUnexpectedEOF + const ErrUnionTablesInDifferentDir + const ErrUniqueKeyNeedAllFieldsInPf + const ErrUnknown + const ErrUnknownAlterAlgorithm + const ErrUnknownAlterLock + const ErrUnknownCharacterSet + const ErrUnknownCollation + const ErrUnknownCom + const ErrUnknownExplainFormat + const ErrUnknownKeyCache + const ErrUnknownLocale + const ErrUnknownPartition + const ErrUnknownProcedure + const ErrUnknownStmtHandler + const ErrUnknownStorageEngine + const ErrUnknownSystemVariable + const ErrUnknownTable + const ErrUnknownTargetBinlog + const ErrUnknownTimeZone + const ErrUnsuportedLogEngine + const ErrUnsupportedEngine + const ErrUnsupportedExtension + const ErrUnsupportedOnGeneratedColumn + const ErrUnsupportedPs + const ErrUntilCondIgnored + const ErrUpdateInfo + const ErrUpdateLogDeprecatedIgnored + const ErrUpdateLogDeprecatedTranslated + const ErrUpdateTableUsed + const ErrUpdateWithoutKeyInSafeMode + const ErrUserLimitReached + const ErrUsername + const ErrValuesIsNotIntType + const ErrVarCantBeRead + const ErrVariableIsNotStruct + const ErrVariableIsReadonly + const ErrVariableNotSettableInSfOrTrigger + const ErrVariableNotSettableInSp + const ErrVariableNotSettableInTransaction + const ErrViewCheckFailed + const ErrViewChecksum + const ErrViewDeleteMergeView + const ErrViewFrmNoUser + const ErrViewInvalid + const ErrViewInvalidCreationCtx + const ErrViewMultiupdate + const ErrViewNoCreationCtx + const ErrViewNoExplain + const ErrViewNoInsertFieldList + const ErrViewNonupdCheck + const ErrViewOtherUser + const ErrViewPreventUpdate + const ErrViewRecursive + const ErrViewSelectClause + const ErrViewSelectDerived + const ErrViewSelectTmptable + const ErrViewSelectVariable + const ErrViewWrongList + const ErrWarnAllowedPacketOverflowed + const ErrWarnCantDropDefaultKeycache + const ErrWarnDataOutOfRange + const ErrWarnDeprecatedSyntax + const ErrWarnDeprecatedSyntaxNoReplacement + const ErrWarnDeprecatedSyntaxWithVer + const ErrWarnEngineTransactionRollback + const ErrWarnFieldResolved + const ErrWarnHostnameWontWork + const ErrWarnISSkippedTable + const ErrWarnIndexNotApplicable + const ErrWarnInvalidTimestamp + const ErrWarnNullToNotnull + const ErrWarnQcResize + const ErrWarnTooFewRecords + const ErrWarnTooManyRecords + const ErrWarnUsingOtherHandler + const ErrWarnViewMerge + const ErrWarnViewWithoutKey + const ErrWarningNotCompleteRollback + const ErrWarningNotCompleteRollbackWithCreatedTempTable + const ErrWarningNotCompleteRollbackWithDroppedTempTable + const ErrWindowCircularityInWindowGraph + const ErrWindowDuplicateName + const ErrWindowExplainJSON + const ErrWindowFrameEndIllegal + const ErrWindowFrameIllegal + const ErrWindowFrameStartIllegal + const ErrWindowFunctionIgnoresFrame + const ErrWindowIllegalOrderBy + const ErrWindowInvalidWindowFuncAliasUse + const ErrWindowInvalidWindowFuncUse + const ErrWindowNestedWindowFuncUseInWindowSpec + const ErrWindowNoChildPartitioning + const ErrWindowNoGroupOrderUnused + const ErrWindowNoInherentFrame + const ErrWindowNoRedefineOrderBy + const ErrWindowNoSuchWindow + const ErrWindowRangeBoundNotConstant + const ErrWindowRangeFrameNumericType + const ErrWindowRangeFrameOrderType + const ErrWindowRangeFrameTemporalType + const ErrWindowRowsIntervalUse + const ErrWrongArguments + const ErrWrongAutoKey + const ErrWrongColumnName + const ErrWrongDBName + const ErrWrongExprInPartitionFunc + const ErrWrongFieldSpec + const ErrWrongFieldTerminators + const ErrWrongFkDef + const ErrWrongGroupField + const ErrWrongKeyColumn + const ErrWrongLockOfSystemTable + const ErrWrongMagic + const ErrWrongMrgTable + const ErrWrongNameForCatalog + const ErrWrongNameForIndex + const ErrWrongNativeTableStructure + const ErrWrongNumberOfColumnsInSelect + const ErrWrongObject + const ErrWrongOuterJoin + const ErrWrongParamcountToNativeFct + const ErrWrongParamcountToProcedure + const ErrWrongParametersToNativeFct + const ErrWrongParametersToProcedure + const ErrWrongParametersToStoredFct + const ErrWrongPartitionName + const ErrWrongPerfSchemaUsage + const ErrWrongSizeNumber + const ErrWrongSpvarTypeInLimit + const ErrWrongStringLength + const ErrWrongSubKey + const ErrWrongSumSelect + const ErrWrongTableName + const ErrWrongTypeColumnValue + const ErrWrongTypeForVar + const ErrWrongUsage + const ErrWrongValue + const ErrWrongValueCount + const ErrWrongValueCountOnRow + const ErrWrongValueForType + const ErrWrongValueForVar + const ErrWsasFailed + const ErrXaRbdeadlock + const ErrXaRbrollback + const ErrXaRbtimeout + const ErrXaerDupid + const ErrXaerInval + const ErrXaerNota + const ErrXaerOutside + const ErrXaerRmerr + const ErrXaerRmfail + const ErrYes + const ErrZlibZBuf + const ErrZlibZData + const ErrZlibZMem + const GroupFlag + const IsBooleanFlag + const KeywordDefault + const LocalInFileHeader + const MaxAllowedPacket + const MaxBlobWidth + const MaxDateWidth + const MaxDatetimeFullWidth + const MaxDatetimeWidthNoFsp + const MaxDatetimeWidthWithFsp + const MaxDecimalScale + const MaxDecimalWidth + const MaxDurationWidthNoFsp + const MaxDurationWidthWithFsp + const MaxFloatingTypeScale + const MaxFloatingTypeWidth + const MaxInt24 + const MaxIntWidth + const MaxPacketSize + const MaxPayloadLen + const MaxRealWidth + const MaxUint24 + const MinInt24 + const MinProtocolVersion + const MultipleKeyFlag + const MysqlNativePassword + const NoDefaultValueFlag + const NotFixedDec + const NotNullFlag + const NumFlag + const OKHeader + const OnUpdateNowFlag + const ParseToJSONFlag + const PartKeyFlag + const PreventNullInsertFlag + const PriKeyFlag + const ProtocolVersion + const SQLModeStr + const SQLSafeUpdates + const ServerMoreResultsExists + const ServerPSOutParams + const ServerStatusAutocommit + const ServerStatusCursorExists + const ServerStatusDBDropped + const ServerStatusInTrans + const ServerStatusLastRowSend + const ServerStatusMetadataChanged + const ServerStatusNoBackslashEscaped + const ServerStatusNoGoodIndexUsed + const ServerStatusNoIndexUsed + const ServerStatusWasSlow + const ServerVersion + const SetFlag + const SortAsc + const SortDesc + const TimeFormat + const TimeZone + const TimestampFlag + const TypeBit + const TypeBlob + const TypeDate + const TypeDatetime + const TypeDecimal + const TypeDouble + const TypeDuration + const TypeEnum + const TypeFloat + const TypeGeometry + const TypeInt24 + const TypeJSON + const TypeLong + const TypeLongBlob + const TypeLonglong + const TypeMediumBlob + const TypeNewDate + const TypeNewDecimal + const TypeNull + const TypeSet + const TypeShort + const TypeString + const TypeTimestamp + const TypeTiny + const TypeTinyBlob + const TypeUnspecified + const TypeVarString + const TypeVarchar + const TypeYear + const UTF8Charset + const UTF8DefaultCollation + const UTF8MB4Charset + const UTF8MB4DefaultCollation + const UniqueFlag + const UniqueKeyFlag + const UnsignedFlag + const WarnCondItemTruncated + const WarnDataTruncated + const WarnNoMasterInfo + const WarnNonASCIISeparatorNotImplemented + const WarnOptionBelowLimit + const WarnOptionIgnored + const WarnPluginBusy + const WarnPluginDeleteBuiltin + const ZerofillFlag + var CharsetIds = map[string]CollationID + var Charsets = map[string]string + var CollationNameToCharset = map[string]string + var CollationNames = map[string]CollationID + var Collations = map[CollationID]string + var Debug = false + var ErrBadConn = errors.New("connection was bad") + var ErrMalformPacket = errors.New("Malform packet error") + var ErrTxDone = errors.New("sql: Transaction has already been committed or rolled back") + var MySQLErrName = map[uint16]string + var MySQLState = map[uint16]string + var Priority2Str = map[PriorityEnum]string + var ReplaceNumbersInWords = false + var SQLModeSet = map[string]bool + var Str2SQLMode = map[string]SQLMode + func AppendBinaryValue(data []byte, fieldType uint8, value interface{}) ([]byte, error) + func AppendLenEncInt(data []byte, i uint64) []byte + func AppendLenEncStringBytes(data, b []byte) []byte + func AppendUint16(data []byte, n uint16) []byte + func AppendUint32(data []byte, n uint32) []byte + func AppendUint64(data []byte, n uint64) []byte + func CalcPassword(scramble, password []byte) []byte + func Escape(sql string) string + func FieldType(value interface{}) (typ uint8, err error) + func FormatBinaryDate(n int, data []byte) ([]byte, error) + func FormatBinaryDateTime(n int, data []byte) ([]byte, error) + func FormatBinaryTime(n int, data []byte) ([]byte, error) + func GetCharsetInfo(cs string) (string, string, error) + func GetDefaultCharsetAndCollate() (string, string) + func GetDefaultCollation(charset string) (string, error) + func GetDefaultFieldLengthAndDecimal(tp byte) (flen int, decimal int) + func GetDefaultFieldLengthAndDecimalForCast(tp byte) (flen int, decimal int) + func GetFingerprint(q string) string + func GetFingerprintOperation(fingerprint string) string + func GetMd5(fingerPrint string) string + func HasAutoIncrementFlag(flag uint) bool + func HasBinaryFlag(flag uint) bool + func HasIsBooleanFlag(flag uint) bool + func HasMultipleKeyFlag(flag uint) bool + func HasNoDefaultValueFlag(flag uint) bool + func HasNotNullFlag(flag uint) bool + func HasOnUpdateNowFlag(flag uint) bool + func HasParseToJSONFlag(flag uint) bool + func HasPreventNullInsertFlag(flag uint) bool + func HasPriKeyFlag(flag uint) bool + func HasTimestampFlag(flag uint) bool + func HasUniKeyFlag(flag uint) bool + func HasUnsignedFlag(flag uint) bool + func HasZerofillFlag(flag uint) bool + func IsErrorPacket(data []byte) bool + func IsIntegerType(tp byte) bool + func IsOKPacket(data []byte) bool + func IsValidCharset(charset string) bool + func LenEncIntSize(i uint64) int + func LenEncStringSize(value string) int + func LenNullString(value string) int + func ParseErrorPacket(data []byte) error + func RandomBuf(size int) ([]byte, error) + func ReadByte(data []byte, pos int) (byte, int, bool) + func ReadBytes(data []byte, pos int, size int) ([]byte, int, bool) + func ReadBytesCopy(data []byte, pos int, size int) ([]byte, int, bool) + func ReadLenEncInt(data []byte, pos int) (uint64, int, bool, bool) + func ReadLenEncStringAsBytes(data []byte, pos int) ([]byte, int, bool, bool) + func ReadNullString(data []byte, pos int) (string, int, bool) + func ReadUint16(data []byte, pos int) (uint16, int, bool) + func ReadUint32(data []byte, pos int) (uint32, int, bool) + func ReadUint64(data []byte, pos int) (uint64, int, bool) + func ValidCharsetAndCollation(cs string, co string) bool + func VerifyCharset(charset, collation string) error + func WriteByte(data []byte, pos int, value byte) int + func WriteLenEncInt(data []byte, pos int, i uint64) int + func WriteLenEncString(data []byte, pos int, value string) int + func WriteNullString(data []byte, pos int, value string) int + func WriteUint16(data []byte, pos int, value uint16) int + func WriteUint32(data []byte, pos int, value uint32) int + func WriteUint64(data []byte, pos int, value uint64) int + func WriteZeroes(data []byte, pos int, len int) int + type Charset struct + Collations map[string]*Collation + DefaultCollation string + Desc string + Maxlen int + Name string + type Collation struct + CharsetName string + ID int + IsDefault bool + Name string + func GetCollations() []*Collation + type CollationID uint8 + type Conn struct + ConnectionID uint32 + func NewConn(conn net.Conn) *Conn + func (c *Conn) Close() + func (c *Conn) Flush() error + func (c *Conn) GetConnectionID() uint32 + func (c *Conn) GetSequence() uint8 + func (c *Conn) IsClosed() bool + func (c *Conn) ReadEphemeralPacket() ([]byte, error) + func (c *Conn) ReadEphemeralPacketDirect() ([]byte, error) + func (c *Conn) ReadPacket() ([]byte, error) + func (c *Conn) RecycleReadPacket() + func (c *Conn) RemoteAddr() net.Addr + func (c *Conn) SetConnectionID(connectionID uint32) + func (c *Conn) SetSequence(sequence uint8) + func (c *Conn) StartEphemeralPacket(length int) []byte + func (c *Conn) StartWriterBuffering() + func (c *Conn) String() string + func (c *Conn) WriteEOFPacket(flags uint16, warnings uint16) error + func (c *Conn) WriteEphemeralPacket() error + func (c *Conn) WriteErrorPacket(errorCode uint16, sqlState string, format string, args ...interface{}) error + func (c *Conn) WriteErrorPacketFromError(err error) error + func (c *Conn) WriteOKPacket(affectedRows, lastInsertID uint64, flags uint16, warnings uint16) error + func (c *Conn) WriteOKPacketWithEOFHeader(affectedRows, lastInsertID uint64, flags uint16, warnings uint16) error + func (c *Conn) WritePacket(data []byte) error + type Desc struct + DefaultCollation string + Desc string + Maxlen int + Name string + func GetAllCharsets() []*Desc + func GetCharsetDesc(cs string) (*Desc, error) + type Field struct + Charset uint16 + ColumnLength uint32 + Data FieldData + Decimal uint8 + DefaultValue []byte + DefaultValueLength uint64 + Flag uint16 + Name []byte + OrgName []byte + OrgTable []byte + Schema []byte + Table []byte + Type uint8 + func (f *Field) Dump() []byte + type FieldData []byte + func (p FieldData) Parse() (f *Field, err error) + type PriorityEnum int + const DelayedPriority + const HighPriority + const LowPriority + const NoPriority + func Str2Priority(val string) PriorityEnum + func (n *PriorityEnum) Restore(ctx *format.RestoreCtx) error + type PrivilegeType uint32 + const AllPriv + const AlterPriv + const CreatePriv + const CreateRolePriv + const CreateUserPriv + const CreateViewPriv + const DeletePriv + const DropPriv + const DropRolePriv + const ExecutePriv + const GrantPriv + const IndexPriv + const InsertPriv + const ProcessPriv + const ReferencesPriv + const SelectPriv + const ShowDBPriv + const ShowViewPriv + const SuperPriv + const TriggerPriv + const UpdatePriv + type Result struct + AffectedRows uint64 + InsertID uint64 + Status uint16 + type Resultset struct + FieldNames map[string]int + Fields []*Field + RowDatas []RowData + Values [][]interface{} + func BuildBinaryResultset(fields []*Field, values [][]interface{}) (*Resultset, error) + func BuildResultset(fields []*Field, names []string, values [][]interface{}) (*Resultset, error) + func (r *Resultset) ColumnNumber() int + func (r *Resultset) GetFloat(row, column int) (float64, error) + func (r *Resultset) GetFloatByName(row int, name string) (float64, error) + func (r *Resultset) GetInt(row, column int) (int64, error) + func (r *Resultset) GetIntByName(row int, name string) (int64, error) + func (r *Resultset) GetString(row, column int) (string, error) + func (r *Resultset) GetStringByName(row int, name string) (string, error) + func (r *Resultset) GetUint(row, column int) (uint64, error) + func (r *Resultset) GetUintByName(row int, name string) (uint64, error) + func (r *Resultset) GetValue(row, column int) (interface{}, error) + func (r *Resultset) GetValueByName(row int, name string) (interface{}, error) + func (r *Resultset) IsNull(row, column int) (bool, error) + func (r *Resultset) IsNullByName(row int, name string) (bool, error) + func (r *Resultset) NameIndex(name string) (int, error) + func (r *Resultset) RowNumber() int + func (r *Resultset) Sort(sk []SortKey) error + func (r *Resultset) SortWithoutColumnName(sk []SortKey) error + type ResultsetSorter struct + func (r *ResultsetSorter) Len() int + func (r *ResultsetSorter) Less(i, j int) bool + func (r *ResultsetSorter) Swap(i, j int) + type RowData []byte + func (p RowData) Parse(f []*Field, binary bool) ([]interface{}, error) + func (p RowData) ParseBinary(f []*Field) ([]interface{}, error) + func (p RowData) ParseText(f []*Field) ([]interface{}, error) + type SQLError struct + Code uint16 + Message string + State string + func NewDefaultError(errCode uint16, args ...interface{}) *SQLError + func NewErrf(errCode uint16, format string, args ...interface{}) *SQLError + func NewError(errCode uint16, message string) *SQLError + func (se *SQLError) Error() string + func (se *SQLError) SQLCode() uint16 + func (se *SQLError) SQLState() string + type SQLMode int + const ModeANSI + const ModeANSIQuotes + const ModeAllowInvalidDates + const ModeDb2 + const ModeErrorForDivisionByZero + const ModeHighNotPrecedence + const ModeIgnoreSpace + const ModeInvalidDates + const ModeMaxdb + const ModeMsSQL + const ModeMySQL323 + const ModeMySQL40 + const ModeNoAutoCreateUser + const ModeNoAutoValueOnZero + const ModeNoBackslashEscapes + const ModeNoDirInCreate + const ModeNoEngineSubstitution + const ModeNoFieldOptions + const ModeNoKeyOptions + const ModeNoTableOptions + const ModeNoUnsignedSubtraction + const ModeNoZeroDate + const ModeNoZeroInDate + const ModeNone + const ModeNotUsed + const ModeOnlyFullGroupBy + const ModeOracle + const ModePadCharToFullLength + const ModePipesAsConcat + const ModePostgreSQL + const ModeRealAsFloat + const ModeStrictAllTables + const ModeStrictTransTables + const ModeTraditional + func GetSQLMode(s string) (SQLMode, error) + func (m SQLMode) HasANSIQuotesMode() bool + func (m SQLMode) HasAllowInvalidDatesMode() bool + func (m SQLMode) HasErrorForDivisionByZeroMode() bool + func (m SQLMode) HasHighNotPrecedenceMode() bool + func (m SQLMode) HasIgnoreSpaceMode() bool + func (m SQLMode) HasNoAutoCreateUserMode() bool + func (m SQLMode) HasNoBackslashEscapesMode() bool + func (m SQLMode) HasNoUnsignedSubtractionMode() bool + func (m SQLMode) HasNoZeroDateMode() bool + func (m SQLMode) HasNoZeroInDateMode() bool + func (m SQLMode) HasOnlyFullGroupBy() bool + func (m SQLMode) HasPadCharToFullLengthMode() bool + func (m SQLMode) HasPipesAsConcatMode() bool + func (m SQLMode) HasRealAsFloatMode() bool + func (m SQLMode) HasStrictMode() bool + type SessionVariables struct + func NewSessionVariables() *SessionVariables + func (s *SessionVariables) Delete(key string) + func (s *SessionVariables) Equals(dst *SessionVariables) bool + func (s *SessionVariables) Get(key string) (interface{}, bool) + func (s *SessionVariables) GetAll() map[string]*Variable + func (s *SessionVariables) GetUnusedAndClear() map[string]*Variable + func (s *SessionVariables) Set(key string, value interface{}) error + func (s *SessionVariables) SetEqualsWith(dst *SessionVariables) (bool, error) + type SortKey struct + Column int + Direction string + Name string + type TimeValue struct + Day int + Hour int + IsNegative bool + Microsecond int + Minute int + Second int + func (m *TimeValue) IsNull() bool + type Variable struct + func NewVariable(name string, value interface{}, verify verifyFunc) (*Variable, error) + func (v *Variable) Get() interface{} + func (v *Variable) Name() string + func (v *Variable) Set(value interface{}) error