Versions in this module Expand all Collapse all v1 v1.4.6 Apr 5, 2013 Changes in this version + const ER_ABORTING_CONNECTION + const ER_ACCESS_DENIED_ERROR + const ER_ALTER_INFO + const ER_AUTOINC_READ_FAILED + const ER_AUTO_CONVERT + const ER_BAD_DB_ERROR + const ER_BAD_FIELD_ERROR + const ER_BAD_FT_COLUMN + const ER_BAD_HOST_ERROR + const ER_BAD_NULL_ERROR + const ER_BAD_SLAVE + const ER_BAD_SLAVE_UNTIL_COND + const ER_BAD_TABLE_ERROR + const ER_BINLOG_CREATE_ROUTINE_NEED_SUPER + const ER_BINLOG_PURGE_FATAL_ERR + const ER_BINLOG_PURGE_PROHIBITED + const ER_BINLOG_UNSAFE_ROUTINE + const ER_BLOBS_AND_NO_TERMINATED + const ER_BLOB_CANT_HAVE_DEFAULT + const ER_BLOB_KEY_WITHOUT_LENGTH + const ER_BLOB_USED_AS_KEY + const ER_CANNOT_ADD_FOREIGN + const ER_CANNOT_USER + const ER_CANT_AGGREGATE_2COLLATIONS + const ER_CANT_AGGREGATE_3COLLATIONS + const ER_CANT_AGGREGATE_NCOLLATIONS + const ER_CANT_CREATE_DB + const ER_CANT_CREATE_FEDERATED_TABLE + const ER_CANT_CREATE_FILE + const ER_CANT_CREATE_GEOMETRY_OBJECT + const ER_CANT_CREATE_TABLE + const ER_CANT_CREATE_THREAD + const ER_CANT_CREATE_USER_WITH_GRANT + const ER_CANT_DELETE_FILE + const ER_CANT_DO_THIS_DURING_AN_TRANSACTION + const ER_CANT_DROP_FIELD_OR_KEY + const ER_CANT_FIND_DL_ENTRY + const ER_CANT_FIND_SYSTEM_REC + const ER_CANT_FIND_UDF + const ER_CANT_GET_STAT + const ER_CANT_GET_WD + const ER_CANT_INITIALIZE_UDF + const ER_CANT_LOCK + const ER_CANT_OPEN_FILE + const ER_CANT_OPEN_LIBRARY + const ER_CANT_READ_DIR + const ER_CANT_REMOVE_ALL_FIELDS + const ER_CANT_REOPEN_TABLE + const ER_CANT_SET_WD + const ER_CANT_UPDATE_USED_TABLE_IN_SF_OR_TRG + const ER_CANT_UPDATE_WITH_READLOCK + const ER_CANT_USE_OPTION_HERE + const ER_CHECKREAD + const ER_CHECK_NOT_IMPLEMENTED + const ER_CHECK_NO_SUCH_TABLE + const ER_COLLATION_CHARSET_MISMATCH + const ER_COLUMNACCESS_DENIED_ERROR + const ER_COMMIT_NOT_ALLOWED_IN_SF_OR_TRG + const ER_CONFLICTING_DECLARATIONS + const ER_CONNECT_TO_FOREIGN_DATA_SOURCE + const ER_CONNECT_TO_MASTER + const ER_CON_COUNT_ERROR + const ER_CORRUPT_HELP_DB + const ER_CRASHED_ON_REPAIR + const ER_CRASHED_ON_USAGE + const ER_CREATE_DB_WITH_READ_LOCK + const ER_CUT_VALUE_GROUP_CONCAT + const ER_CYCLIC_REFERENCE + const ER_DATA_TOO_LONG + const ER_DATETIME_FUNCTION_OVERFLOW + const ER_DBACCESS_DENIED_ERROR + const ER_DB_CREATE_EXISTS + const ER_DB_DROP_DELETE + const ER_DB_DROP_EXISTS + const ER_DB_DROP_RMDIR + const ER_DELAYED_CANT_CHANGE_LOCK + const ER_DELAYED_INSERT_TABLE_LOCKED + const ER_DERIVED_MUST_HAVE_ALIAS + const ER_DIFF_GROUPS_PROC + const ER_DISK_FULL + const ER_DIVISION_BY_ZERO + const ER_DROP_DB_WITH_READ_LOCK + const ER_DROP_USER + const ER_DUMP_NOT_IMPLEMENTED + const ER_DUPLICATED_VALUE_IN_TYPE + const ER_DUP_ARGUMENT + const ER_DUP_ENTRY + const ER_DUP_FIELDNAME + const ER_DUP_KEY + const ER_DUP_KEYNAME + const ER_DUP_UNIQUE + const ER_EMPTY_QUERY + const ER_ERROR_DURING_CHECKPOINT + const ER_ERROR_DURING_COMMIT + const ER_ERROR_DURING_FLUSH_LOGS + const ER_ERROR_DURING_ROLLBACK + const ER_ERROR_ON_CLOSE + const ER_ERROR_ON_READ + const ER_ERROR_ON_RENAME + const ER_ERROR_ON_WRITE + const ER_ERROR_WHEN_EXECUTING_COMMAND + const ER_EXEC_STMT_WITH_OPEN_CURSOR + const ER_FAILED_ROUTINE_BREAK_BINLOG + const ER_FEATURE_DISABLED + const ER_FIELD_SPECIFIED_TWICE + const ER_FILE_EXISTS_ERROR + const ER_FILE_NOT_FOUND + const ER_FILE_USED + const ER_FILSORT_ABORT + const ER_FLUSH_MASTER_BINLOG_CLOSED + const ER_FORBID_SCHEMA_CHANGE + const ER_FORCING_CLOSE + const ER_FOREIGN_DATA_SOURCE_DOESNT_EXIST + const ER_FOREIGN_DATA_STRING_INVALID + const ER_FOREIGN_DATA_STRING_INVALID_CANT_CREATE + const ER_FORM_NOT_FOUND + const ER_FPARSER_BAD_HEADER + const ER_FPARSER_EOF_IN_COMMENT + const ER_FPARSER_EOF_IN_UNKNOWN_PARAMETER + const ER_FPARSER_ERROR_IN_PARAMETER + const ER_FPARSER_TOO_BIG_FILE + const ER_FRM_UNKNOWN_TYPE + const ER_FSEEK_FAIL + const ER_FT_MATCHING_KEY_NOT_FOUND + const ER_FUNCTION_NOT_DEFINED + const ER_GET_ERRMSG + const ER_GET_ERRNO + const ER_GET_TEMPORARY_ERRMSG + const ER_GLOBAL_VARIABLE + const ER_GOT_SIGNAL + const ER_GRANT_WRONG_HOST_OR_USER + const ER_HANDSHAKE_ERROR + const ER_HASHCHK + const ER_HOSTNAME + const ER_HOST_IS_BLOCKED + const ER_HOST_NOT_PRIVILEGED + const ER_ILLEGAL_GRANT_FOR_TABLE + const ER_ILLEGAL_HA + const ER_ILLEGAL_REFERENCE + const ER_ILLEGAL_VALUE_FOR_TYPE + const ER_INCORRECT_GLOBAL_LOCAL_VAR + const ER_INDEX_REBUILD + const ER_INSERT_INFO + const ER_INVALID_CHARACTER_STRING + const ER_INVALID_DEFAULT + const ER_INVALID_GROUP_FUNC_USE + const ER_INVALID_ON_UPDATE + const ER_INVALID_USE_OF_NULL + const ER_IO_ERR_LOG_INDEX_READ + const ER_IPSOCK_ERROR + const ER_KEY_COLUMN_DOES_NOT_EXITS + const ER_KEY_DOES_NOT_EXITS + const ER_KEY_NOT_FOUND + const ER_KEY_PART_0 + const ER_KEY_REF_DO_NOT_MATCH_TABLE_REF + const ER_KILL_DENIED_ERROR + const ER_LOAD_FROM_FIXED_SIZE_ROWS_TO_VAR + const ER_LOAD_INFO + const ER_LOCAL_VARIABLE + const ER_LOCK_DEADLOCK + const ER_LOCK_OR_ACTIVE_TRANSACTION + const ER_LOCK_TABLE_FULL + const ER_LOCK_WAIT_TIMEOUT + const ER_LOGGING_PROHIBIT_CHANGING_OF + const ER_LOG_IN_USE + const ER_LOG_PURGE_UNKNOWN_ERR + const ER_MALFORMED_DEFINER + const ER_MASTER + const ER_MASTER_FATAL_ERROR_READING_BINLOG + const ER_MASTER_INFO + const ER_MASTER_NET_READ + const ER_MASTER_NET_WRITE + const ER_MAX_PREPARED_STMT_COUNT_REACHED + const ER_MISSING_SKIP_SLAVE + const ER_MIXING_NOT_ALLOWED + const ER_MIX_OF_GROUP_FUNC_AND_FIELDS + const ER_MULTIPLE_PRI_KEY + const ER_M_BIGGER_THAN_D + const ER_NET_ERROR_ON_WRITE + const ER_NET_FCNTL_ERROR + const ER_NET_PACKETS_OUT_OF_ORDER + const ER_NET_PACKET_TOO_LARGE + const ER_NET_READ_ERROR + const ER_NET_READ_ERROR_FROM_PIPE + const ER_NET_READ_INTERRUPTED + const ER_NET_UNCOMPRESS_ERROR + const ER_NET_WRITE_INTERRUPTED + const ER_NEW_ABORTING_CONNECTION + const ER_NISAMCHK + const ER_NO + const ER_NONEXISTING_GRANT + const ER_NONEXISTING_PROC_GRANT + const ER_NONEXISTING_TABLE_GRANT + const ER_NONUNIQ_TABLE + const ER_NONUPDATEABLE_COLUMN + const ER_NON_GROUPING_FIELD_USED + const ER_NON_INSERTABLE_TABLE + const ER_NON_UNIQ_ERROR + const ER_NON_UPDATABLE_TABLE + const ER_NORMAL_SHUTDOWN + const ER_NOT_ALLOWED_COMMAND + const ER_NOT_FORM_FILE + const ER_NOT_KEYFILE + const ER_NOT_SUPPORTED_AUTH_MODE + const ER_NOT_SUPPORTED_YET + const ER_NO_BINARY_LOGGING + const ER_NO_DB_ERROR + const ER_NO_DEFAULT + const ER_NO_DEFAULT_FOR_FIELD + const ER_NO_DEFAULT_FOR_VIEW_FIELD + const ER_NO_FILE_MAPPING + const ER_NO_GROUP_FOR_PROC + const ER_NO_PERMISSION_TO_CREATE_USER + const ER_NO_RAID_COMPILED + const ER_NO_REFERENCED_ROW + const ER_NO_REFERENCED_ROW_2 + const ER_NO_SUCH_INDEX + const ER_NO_SUCH_TABLE + const ER_NO_SUCH_THREAD + const ER_NO_SUCH_USER + const ER_NO_TABLES_USED + const ER_NO_TRIGGERS_ON_SYSTEM_SCHEMA + const ER_NO_UNIQUE_LOGFILE + const ER_NULL_COLUMN_IN_INDEX + const ER_OLD_FILE_FORMAT + const ER_OLD_KEYFILE + const ER_OPEN_AS_READONLY + const ER_OPERAND_COLUMNS + const ER_OPTION_PREVENTS_STATEMENT + const ER_ORDER_WITH_PROC + const ER_OUTOFMEMORY + const ER_OUT_OF_RESOURCES + const ER_OUT_OF_SORTMEMORY + const ER_PARSE_ERROR + const ER_PASSWD_LENGTH + const ER_PASSWORD_ANONYMOUS_USER + const ER_PASSWORD_NOT_ALLOWED + const ER_PASSWORD_NO_MATCH + const ER_PRIMARY_CANT_HAVE_NULL + const ER_PROCACCESS_DENIED_ERROR + const ER_PROC_AUTO_GRANT_FAIL + const ER_PROC_AUTO_REVOKE_FAIL + const ER_PS_MANY_PARAM + const ER_PS_NO_RECURSION + const ER_QUERY_INTERRUPTED + const ER_QUERY_ON_FOREIGN_DATA_SOURCE + const ER_QUERY_ON_MASTER + const ER_READY + const ER_READ_ONLY_TRANSACTION + const ER_RECORD_FILE_FULL + const ER_REGEXP_ERROR + const ER_RELAY_LOG_FAIL + const ER_RELAY_LOG_INIT + const ER_REMOVED_SPACES + const ER_REQUIRES_PRIMARY_KEY + const ER_RESERVED_SYNTAX + const ER_REVOKE_GRANTS + const ER_ROW_IS_REFERENCED + const ER_ROW_IS_REFERENCED_2 + const ER_SELECT_REDUCED + const ER_SERVER_IS_IN_SECURE_AUTH_MODE + const ER_SERVER_SHUTDOWN + const ER_SET_CONSTANTS_ONLY + const ER_SHUTDOWN_COMPLETE + const ER_SLAVE_IGNORED_SSL_PARAMS + const ER_SLAVE_IGNORED_TABLE + const ER_SLAVE_MUST_STOP + const ER_SLAVE_NOT_RUNNING + const ER_SLAVE_THREAD + const ER_SLAVE_WAS_NOT_RUNNING + const ER_SLAVE_WAS_RUNNING + const ER_SPATIAL_CANT_HAVE_NULL + const ER_SPECIFIC_ACCESS_DENIED_ERROR + const ER_SP_ALREADY_EXISTS + const ER_SP_BADRETURN + const ER_SP_BADSELECT + const ER_SP_BADSTATEMENT + const ER_SP_BAD_CURSOR_QUERY + const ER_SP_BAD_CURSOR_SELECT + const ER_SP_BAD_SQLSTATE + const ER_SP_BAD_VAR_SHADOW + const ER_SP_CANT_ALTER + const ER_SP_CANT_SET_AUTOCOMMIT + const ER_SP_CASE_NOT_FOUND + const ER_SP_COND_MISMATCH + const ER_SP_CURSOR_AFTER_HANDLER + const ER_SP_CURSOR_ALREADY_OPEN + const ER_SP_CURSOR_MISMATCH + const ER_SP_CURSOR_NOT_OPEN + const ER_SP_DOES_NOT_EXIST + const ER_SP_DROP_FAILED + const ER_SP_DUP_COND + const ER_SP_DUP_CURS + const ER_SP_DUP_HANDLER + const ER_SP_DUP_PARAM + const ER_SP_DUP_VAR + const ER_SP_FETCH_NO_DATA + const ER_SP_GOTO_IN_HNDLR + const ER_SP_LABEL_MISMATCH + const ER_SP_LABEL_REDEFINE + const ER_SP_LILABEL_MISMATCH + const ER_SP_NORETURN + const ER_SP_NORETURNEND + const ER_SP_NOT_VAR_ARG + const ER_SP_NO_AGGREGATE + const ER_SP_NO_DROP_SP + const ER_SP_NO_RECURSION + const ER_SP_NO_RECURSIVE_CREATE + const ER_SP_NO_RETSET + const ER_SP_PROC_TABLE_CORRUPT + const ER_SP_RECURSION_LIMIT + const ER_SP_STORE_FAILED + const ER_SP_SUBSELECT_NYI + const ER_SP_UNDECLARED_VAR + const ER_SP_UNINIT_VAR + const ER_SP_VARCOND_AFTER_CURSHNDLR + const ER_SP_WRONG_NAME + const ER_SP_WRONG_NO_OF_ARGS + const ER_SP_WRONG_NO_OF_FETCH_ARGS + const ER_STACK_OVERRUN + const ER_STACK_OVERRUN_NEED_MORE + const ER_STARTUP + const ER_STMT_HAS_NO_OPEN_CURSOR + const ER_STMT_NOT_ALLOWED_IN_SF_OR_TRG + const ER_SUBQUERY_NO_1_ROW + const ER_SYNTAX_ERROR + const ER_TABLEACCESS_DENIED_ERROR + const ER_TABLENAME_NOT_ALLOWED_HERE + const ER_TABLE_CANT_HANDLE_AUTO_INCREMENT + const ER_TABLE_CANT_HANDLE_BLOB + const ER_TABLE_CANT_HANDLE_FT + const ER_TABLE_CANT_HANDLE_SPKEYS + const ER_TABLE_DEF_CHANGED + const ER_TABLE_EXISTS_ERROR + const ER_TABLE_MUST_HAVE_COLUMNS + const ER_TABLE_NEEDS_UPGRADE + const ER_TABLE_NOT_LOCKED + const ER_TABLE_NOT_LOCKED_FOR_WRITE + const ER_TEXTFILE_NOT_READABLE + const ER_TOO_BIG_DISPLAYWIDTH + const ER_TOO_BIG_FIELDLENGTH + const ER_TOO_BIG_FOR_UNCOMPRESS + const ER_TOO_BIG_PRECISION + const ER_TOO_BIG_ROWSIZE + const ER_TOO_BIG_SCALE + const ER_TOO_BIG_SELECT + const ER_TOO_BIG_SET + const ER_TOO_LONG_BODY + const ER_TOO_LONG_IDENT + const ER_TOO_LONG_KEY + const ER_TOO_LONG_STRING + const ER_TOO_MANY_DELAYED_THREADS + const ER_TOO_MANY_FIELDS + const ER_TOO_MANY_KEYS + const ER_TOO_MANY_KEY_PARTS + const ER_TOO_MANY_ROWS + const ER_TOO_MANY_TABLES + const ER_TOO_MANY_USER_CONNECTIONS + const ER_TOO_MUCH_AUTO_TIMESTAMP_COLS + const ER_TRANS_CACHE_FULL + const ER_TRG_ALREADY_EXISTS + const ER_TRG_CANT_CHANGE_ROW + const ER_TRG_DOES_NOT_EXIST + const ER_TRG_IN_WRONG_SCHEMA + const ER_TRG_NO_DEFINER + const ER_TRG_NO_SUCH_ROW_IN_TRG + const ER_TRG_ON_VIEW_OR_TEMP_TABLE + const ER_TRUNCATED_WRONG_VALUE + const ER_TRUNCATED_WRONG_VALUE_FOR_FIELD + const ER_UDF_EXISTS + const ER_UDF_NO_PATHS + const ER_UNEXPECTED_EOF + const ER_UNION_TABLES_IN_DIFFERENT_DIR + const ER_UNKNOWN_CHARACTER_SET + const ER_UNKNOWN_COLLATION + const ER_UNKNOWN_COM_ERROR + const ER_UNKNOWN_ERROR + const ER_UNKNOWN_KEY_CACHE + const ER_UNKNOWN_PROCEDURE + const ER_UNKNOWN_STMT_HANDLER + const ER_UNKNOWN_STORAGE_ENGINE + const ER_UNKNOWN_SYSTEM_VARIABLE + const ER_UNKNOWN_TABLE + const ER_UNKNOWN_TARGET_BINLOG + const ER_UNKNOWN_TIME_ZONE + const ER_UNSUPPORTED_EXTENSION + const ER_UNSUPPORTED_PS + const ER_UNTIL_COND_IGNORED + const ER_UPDATE_INFO + const ER_UPDATE_LOG_DEPRECATED_IGNORED + const ER_UPDATE_LOG_DEPRECATED_TRANSLATED + const ER_UPDATE_TABLE_USED + const ER_UPDATE_WITHOUT_KEY_IN_SAFE_MODE + const ER_USERNAME + const ER_USER_LIMIT_REACHED + const ER_VARIABLE_IS_NOT_STRUCT + const ER_VAR_CANT_BE_READ + const ER_VIEW_CHECKSUM + const ER_VIEW_CHECK_FAILED + const ER_VIEW_DELETE_MERGE_VIEW + const ER_VIEW_FRM_NO_USER + const ER_VIEW_INVALID + const ER_VIEW_MULTIUPDATE + const ER_VIEW_NONUPD_CHECK + const ER_VIEW_NO_EXPLAIN + const ER_VIEW_NO_INSERT_FIELD_LIST + const ER_VIEW_OTHER_USER + const ER_VIEW_PREVENT_UPDATE + const ER_VIEW_RECURSIVE + const ER_VIEW_SELECT_CLAUSE + const ER_VIEW_SELECT_DERIVED + const ER_VIEW_SELECT_TMPTABLE + const ER_VIEW_SELECT_VARIABLE + const ER_VIEW_WRONG_LIST + const ER_WARNING_NOT_COMPLETE_ROLLBACK + const ER_WARN_ALLOWED_PACKET_OVERFLOWED + const ER_WARN_CANT_DROP_DEFAULT_KEYCACHE + const ER_WARN_DATA_OUT_OF_RANGE + const ER_WARN_DEPRECATED_SYNTAX + const ER_WARN_FIELD_RESOLVED + const ER_WARN_HOSTNAME_WONT_WORK + const ER_WARN_INVALID_TIMESTAMP + const ER_WARN_NULL_TO_NOTNULL + const ER_WARN_QC_RESIZE + const ER_WARN_TOO_FEW_RECORDS + const ER_WARN_TOO_MANY_RECORDS + const ER_WARN_USING_OTHER_HANDLER + const ER_WARN_VIEW_MERGE + const ER_WARN_VIEW_WITHOUT_KEY + const ER_WRONG_ARGUMENTS + const ER_WRONG_AUTO_KEY + const ER_WRONG_COLUMN_NAME + const ER_WRONG_DB_NAME + const ER_WRONG_FIELD_SPEC + const ER_WRONG_FIELD_TERMINATORS + const ER_WRONG_FIELD_WITH_GROUP + const ER_WRONG_FK_DEF + const ER_WRONG_GROUP_FIELD + const ER_WRONG_KEY_COLUMN + const ER_WRONG_LOCK_OF_SYSTEM_TABLE + const ER_WRONG_MAGIC + const ER_WRONG_MRG_TABLE + const ER_WRONG_NAME_FOR_CATALOG + const ER_WRONG_NAME_FOR_INDEX + const ER_WRONG_NUMBER_OF_COLUMNS_IN_SELECT + const ER_WRONG_OBJECT + const ER_WRONG_OUTER_JOIN + const ER_WRONG_PARAMCOUNT_TO_PROCEDURE + const ER_WRONG_PARAMETERS_TO_PROCEDURE + const ER_WRONG_STRING_LENGTH + const ER_WRONG_SUB_KEY + const ER_WRONG_SUM_SELECT + const ER_WRONG_TABLE_NAME + const ER_WRONG_TYPE_FOR_VAR + const ER_WRONG_USAGE + const ER_WRONG_VALUE_COUNT + const ER_WRONG_VALUE_COUNT_ON_ROW + const ER_WRONG_VALUE_FOR_TYPE + const ER_WRONG_VALUE_FOR_VAR + const ER_WSAS_FAILED + const ER_XAER_DUPID + const ER_XAER_INVAL + const ER_XAER_NOTA + const ER_XAER_OUTSIDE + const ER_XAER_RMERR + const ER_XAER_RMFAIL + const ER_XA_RBROLLBACK + const ER_YES + const ER_ZLIB_Z_BUF_ERROR + const ER_ZLIB_Z_DATA_ERROR + const ER_ZLIB_Z_MEM_ERROR + const TimeFormat + const WARN_DATA_TRUNCATED + var ErrAlredyConn = ClientError("not connected") + var ErrAuthentication = ClientError("authentication error") + var ErrBadCommand = ClientError("comand isn't text SQL nor *Stmt") + var ErrBadResult = ClientError("unexpected result") + var ErrBindCount = ClientError("wrong number of values for bind") + var ErrBindUnkType = ClientError("unknown value type for bind") + var ErrNotConn = ClientError("not connected") + var ErrOldProtocol = ClientError("server does not support 4.1 protocol") + var ErrPkt = ClientError("malformed packet") + var ErrPktLong = ClientError("packet too long") + var ErrReadAfterEOR = ClientError("previous ScanRow call returned io.EOF") + var ErrRowLength = ClientError("wrong length of row slice") + var ErrSeq = ClientError("packet sequence error") + var ErrSmallPktSize = ClientError("specified packet size is to small") + var ErrUnexpNullDate = ClientError("unexpected NULL DATETIME") + var ErrUnexpNullLCB = ClientError("unexpected NULL LCB") + var ErrUnexpNullLCS = ClientError("unexpected NULL LCS") + var ErrUnexpNullTime = ClientError("unexpected NULL TIME") + var ErrUnkDataType = ClientError("unknown data source type") + var ErrUnkMySQLType = ClientError("unknown MySQL type") + var ErrUnkResultPkt = ClientError("unexpected or unknown result packet") + var ErrUnreadedReply = ClientError("reply is not completely read") + var ErrWrongDateLen = ClientError("wrong datetime/timestamp length") + var ErrWrongParamNum = ClientError("wrong parameter number") + var ErrWrongTimeLen = ClientError("wrong time length") + var New func(proto, laddr, raddr, user, passwd string, db ...string) Conn + func DurationString(d time.Duration) string + func End(r Result) error + func Exec(s Stmt, params ...interface{}) (rows []Row, res Result, err error) + func ExecFirst(s Stmt, params ...interface{}) (row Row, res Result, err error) + func ExecLast(s Stmt, params ...interface{}) (row Row, res Result, err error) + func ParseDuration(str string) (dur time.Duration, err error) + func ParseTime(str string, loc *time.Location) (t time.Time, err error) + func Query(c Conn, sql string, params ...interface{}) (rows []Row, res Result, err error) + func QueryFirst(c Conn, sql string, params ...interface{}) (row Row, res Result, err error) + func QueryLast(c Conn, sql string, params ...interface{}) (row Row, res Result, err error) + func TimeString(t time.Time) string + type Blob []byte + type ClientError string + func (e ClientError) Error() string + type Conn interface + Begin func() (Transaction, error) + Clone func() Conn + Close func() error + Connect func() error + FullFieldInfo func(full bool) + IsConnected func() bool + NarrowTypeSet func(narrow bool) + Reconnect func() error + Register func(sql string) + SetMaxPktSize func(new_size int) int + SetTimeout func(time.Duration) + Use func(dbname string) error + func NewFromCF(cfgFile string) (con Conn, unk map[string]string, err error) + type ConnCommon interface + Escape func(txt string) string + Ping func() error + Prepare func(sql string) (Stmt, error) + Query func(sql string, params ...interface{}) ([]Row, Result, error) + QueryFirst func(sql string, params ...interface{}) (Row, Result, error) + QueryLast func(sql string, params ...interface{}) (Row, Result, error) + Start func(sql string, params ...interface{}) (Result, error) + ThreadId func() uint32 + type Date struct + Day byte + Month byte + Year int16 + func ParseDate(str string) (dd Date, err error) + func (dd Date) IsZero() bool + func (dd Date) Localtime() time.Time + func (dd Date) String() string + func (dd Date) Time(loc *time.Location) (t time.Time) + type Error struct + Code uint16 + Msg []byte + func (err Error) Error() string + type Field struct + Catalog string + Db string + DispLen uint32 + Flags uint16 + Name string + OrgName string + OrgTable string + Scale byte + Table string + Type byte + type Raw struct + Typ uint16 + Val *[]byte + type Result interface + AffectedRows func() uint64 + End func() error + Fields func() []*Field + GetFirstRow func() (Row, error) + GetLastRow func() (Row, error) + GetRow func() (Row, error) + GetRows func() ([]Row, error) + InsertId func() uint64 + MakeRow func() Row + Map func(string) int + Message func() string + MoreResults func() bool + NextResult func() (Result, error) + ScanRow func(Row) error + StatusOnly func() bool + WarnCount func() int + type Row []interface + func (tr Row) Bin(nn int) (bin []byte) + func (tr Row) Bool(nn int) (val bool) + func (tr Row) BoolErr(nn int) (val bool, err error) + func (tr Row) Date(nn int) (val Date) + func (tr Row) DateErr(nn int) (val Date, err error) + func (tr Row) Duration(nn int) (val time.Duration) + func (tr Row) DurationErr(nn int) (val time.Duration, err error) + func (tr Row) Float(nn int) (val float64) + func (tr Row) FloatErr(nn int) (val float64, err error) + func (tr Row) ForceBool(nn int) (val bool) + func (tr Row) ForceDate(nn int) (val Date) + func (tr Row) ForceDuration(nn int) (val time.Duration) + func (tr Row) ForceFloat(nn int) (val float64) + func (tr Row) ForceInt(nn int) (val int) + func (tr Row) ForceInt64(nn int) (val int64) + func (tr Row) ForceLocaltime(nn int) (val time.Time) + func (tr Row) ForceTime(nn int, loc *time.Location) (val time.Time) + func (tr Row) ForceUint(nn int) (val uint) + func (tr Row) ForceUint64(nn int) (val uint64) + func (tr Row) Int(nn int) (val int) + func (tr Row) Int64(nn int) (val int64) + func (tr Row) Int64Err(nn int) (val int64, err error) + func (tr Row) IntErr(nn int) (val int, err error) + func (tr Row) Localtime(nn int) (val time.Time) + func (tr Row) LocaltimeErr(nn int) (t time.Time, err error) + func (tr Row) Str(nn int) (str string) + func (tr Row) Time(nn int, loc *time.Location) (val time.Time) + func (tr Row) TimeErr(nn int, loc *time.Location) (t time.Time, err error) + func (tr Row) Uint(nn int) (val uint) + func (tr Row) Uint64(nn int) (val uint64) + func (tr Row) Uint64Err(nn int) (val uint64, err error) + func (tr Row) UintErr(nn int) (val uint, err error) + func GetFirstRow(r Result) (row Row, err error) + func GetLastRow(r Result) (Row, error) + func GetRow(r Result) (Row, error) + func GetRows(r Result) (rows []Row, err error) + type Stmt interface + Bind func(params ...interface{}) + Delete func() error + Exec func(params ...interface{}) ([]Row, Result, error) + ExecFirst func(params ...interface{}) (Row, Result, error) + ExecLast func(params ...interface{}) (Row, Result, error) + Fields func() []*Field + NumParam func() int + Reset func() error + Run func(params ...interface{}) (Result, error) + SendLongData func(pnum int, data interface{}, pkt_size int) error + WarnCount func() int + type Timestamp struct + func (t Timestamp) String() string + type Transaction interface + Commit func() error + Do func(st Stmt) Stmt + IsValid func() bool + Rollback func() error