The qmynd Reference Manual

This is the qmynd Reference Manual, version 1.0, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 08 19:16:17 2024 GMT+0.

Table of Contents


1 Introduction


2 Systems

The main system appears first, followed by any subsystem dependency.


2.1 qmynd

MySQL Native Driver

Maintainer

Alejandro Sedeño

Author

Alejandro Sedeño

License

MIT-style

Long Description

MySQL Native Driver for Common Lisp

Version

1.0

Dependencies
  • babel (system).
  • flexi-streams (system).
  • ironclad (system).
  • list-of (system).
  • trivial-gray-streams (system).
  • usocket (system).
  • cl+ssl (system).
  • chipz (system).
  • salza2 (system).
Source

qmynd.asd.

Child Component

src (module).


3 Modules

Modules are listed depth-first from the system components tree.


3.1 qmynd/src

Source

qmynd.asd.

Parent Component

qmynd (system).

Child Components

3.2 qmynd/src/common

Dependency

pkgdcl.lisp (file).

Source

qmynd.asd.

Parent Component

src (module).

Child Components

3.3 qmynd/src/wire-protocol

Dependency

common (module).

Source

qmynd.asd.

Parent Component

src (module).

Child Components

3.4 qmynd/src/mysql-protocol

Dependencies
Source

qmynd.asd.

Parent Component

src (module).

Child Components

3.6 qmynd/src/mysql-protocol/prepared-statements

Dependencies
Source

qmynd.asd.

Parent Component

mysql-protocol (module).

Child Components

4 Files

Files are sorted by type and then listed depth-first from the systems components trees.


4.1 Lisp


4.1.1 qmynd/qmynd.asd

Source

qmynd.asd.

Parent Component

qmynd (system).

ASDF Systems

qmynd.


4.1.2 qmynd/src/pkgdcl.lisp

Source

qmynd.asd.

Parent Component

src (module).

Packages

4.1.3 qmynd/src/common/charsets.lisp

Source

qmynd.asd.

Parent Component

common (module).

Internals

4.1.4 qmynd/src/common/constants.lisp

Dependency

charsets.lisp (file).

Source

qmynd.asd.

Parent Component

common (module).

Public Interface
Internals

4.1.5 qmynd/src/common/conditions.lisp

Source

qmynd.asd.

Parent Component

common (module).

Public Interface
Internals

4.1.6 qmynd/src/common/feature-detection.lisp

Source

qmynd.asd.

Parent Component

common (module).

Internals

4.1.7 qmynd/src/common/utilities.lisp

Source

qmynd.asd.

Parent Component

common (module).

Internals

4.1.8 qmynd/src/common/date-time.lisp

Dependencies
Source

qmynd.asd.

Parent Component

common (module).

Public Interface
Internals

4.1.9 qmynd/src/common/misc.lisp

Dependency

constants.lisp (file).

Source

qmynd.asd.

Parent Component

common (module).

Internals

mysql-cs-coll-to-character-encoding (function).


4.1.10 qmynd/src/wire-protocol/wire-packet.lisp

Source

qmynd.asd.

Parent Component

wire-protocol (module).

Public Interface

print-object (method).

Internals

4.1.11 qmynd/src/wire-protocol/basic-types.lisp

Dependency

wire-packet.lisp (file).

Source

qmynd.asd.

Parent Component

wire-protocol (module).

Internals

4.1.12 qmynd/src/wire-protocol/compressed-protocol.lisp

Dependency

basic-types.lisp (file).

Source

qmynd.asd.

Parent Component

wire-protocol (module).

Public Interface
Internals

4.1.13 qmynd/src/mysql-protocol/define-packet.lisp

Source

qmynd.asd.

Parent Component

mysql-protocol (module).

Public Interface
Internals

packet-slot-name (reader method).


4.1.14 qmynd/src/mysql-protocol/connection.lisp

Source

qmynd.asd.

Parent Component

mysql-protocol (module).

Public Interface
Internals

4.1.15 qmynd/src/mysql-protocol/response-packets.lisp

Dependencies
Source

qmynd.asd.

Parent Component

mysql-protocol (module).

Public Interface
Internals

4.1.16 qmynd/src/mysql-protocol/authentication.lisp

Source

qmynd.asd.

Parent Component

mysql-protocol (module).

Public Interface
Internals

4.1.17 qmynd/src/mysql-protocol/handshake.lisp

Dependencies
Source

qmynd.asd.

Parent Component

mysql-protocol (module).

Public Interface
Internals

4.1.18 qmynd/src/mysql-protocol/response-result-set.lisp

Dependency

define-packet.lisp (file).

Source

qmynd.asd.

Parent Component

mysql-protocol (module).

Public Interface
Internals

4.1.19 qmynd/src/mysql-protocol/text-protocol/command-quit.lisp

Source

qmynd.asd.

Parent Component

text-protocol (module).

Public Interface

send-command-quit (function).


4.1.20 qmynd/src/mysql-protocol/text-protocol/command-initialize-database.lisp

Source

qmynd.asd.

Parent Component

text-protocol (module).

Public Interface

send-command-initialize-database (function).


4.1.21 qmynd/src/mysql-protocol/text-protocol/command-query.lisp

Source

qmynd.asd.

Parent Component

text-protocol (module).

Public Interface

send-command-query (function).


4.1.22 qmynd/src/mysql-protocol/text-protocol/command-field-list.lisp

Source

qmynd.asd.

Parent Component

text-protocol (module).

Public Interface

send-command-field-list (function).


4.1.23 qmynd/src/mysql-protocol/text-protocol/command-refresh.lisp

Source

qmynd.asd.

Parent Component

text-protocol (module).

Public Interface

send-command-refresh (function).


4.1.24 qmynd/src/mysql-protocol/text-protocol/command-shutdown.lisp

Source

qmynd.asd.

Parent Component

text-protocol (module).

Public Interface

send-command-shutdown (function).


4.1.25 qmynd/src/mysql-protocol/text-protocol/command-statistics.lisp

Source

qmynd.asd.

Parent Component

text-protocol (module).

Public Interface

send-command-statistics (function).


4.1.26 qmynd/src/mysql-protocol/text-protocol/command-process-information.lisp

Source

qmynd.asd.

Parent Component

text-protocol (module).

Public Interface

send-command-process-information (function).


4.1.27 qmynd/src/mysql-protocol/text-protocol/command-process-kill.lisp

Source

qmynd.asd.

Parent Component

text-protocol (module).

Public Interface

send-command-process-kill (function).


4.1.28 qmynd/src/mysql-protocol/text-protocol/command-debug.lisp

Source

qmynd.asd.

Parent Component

text-protocol (module).

Public Interface

send-command-debug (function).


4.1.29 qmynd/src/mysql-protocol/text-protocol/command-ping.lisp

Source

qmynd.asd.

Parent Component

text-protocol (module).

Public Interface

send-command-ping (function).


4.1.30 qmynd/src/mysql-protocol/text-protocol/command-change-user.lisp

Source

qmynd.asd.

Parent Component

text-protocol (module).

Internals

send-command-change-user (function).


4.1.31 qmynd/src/mysql-protocol/prepared-statements/binary-protocol-encoding.lisp

Source

qmynd.asd.

Parent Component

prepared-statements (module).

Public Interface

encode-binary-parameter (function).


4.1.32 qmynd/src/mysql-protocol/prepared-statements/prepared-statement.lisp

Dependency

binary-protocol-encoding.lisp (file).

Source

qmynd.asd.

Parent Component

prepared-statements (module).

Public Interface
Internals

4.1.33 qmynd/src/api.lisp

Dependency

mysql-protocol (module).

Source

qmynd.asd.

Parent Component

src (module).

Public Interface

5 Packages

Packages are listed by definition order.


5.1 qmynd

Source

pkgdcl.lisp.

Used By List

qmynd-impl.

Public Interface

5.2 qmynd-impl

Source

pkgdcl.lisp.

Use List
  • common-lisp.
  • list-of.
  • qmynd.
Public Interface
Internals

6 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


6.1 Public Interface


6.1.1 Constants

Constant: +mysql-server-more-results-exist+
Package

qmynd.

Source

constants.lisp.

Constant: +mysql-server-ps-out-params+
Package

qmynd.

Source

constants.lisp.

Constant: +mysql-server-query-was-slow+
Package

qmynd.

Source

constants.lisp.

Constant: +mysql-server-server-status-last-row-sent+
Package

qmynd.

Source

constants.lisp.

Constant: +mysql-server-status-autocommit+
Package

qmynd.

Source

constants.lisp.

Constant: +mysql-server-status-cursor-exists+
Package

qmynd.

Source

constants.lisp.

Constant: +mysql-server-status-database-dropped+
Package

qmynd.

Source

constants.lisp.

Constant: +mysql-server-status-in-transaction+
Package

qmynd.

Source

constants.lisp.

Constant: +mysql-server-status-metadata-changed+
Package

qmynd.

Source

constants.lisp.

Constant: +mysql-server-status-no-backslash-escapes+
Package

qmynd.

Source

constants.lisp.

Constant: +mysql-server-status-no-good-index-used+
Package

qmynd.

Source

constants.lisp.

Constant: +mysql-server-status-no-index-used+
Package

qmynd.

Source

constants.lisp.


6.1.2 Special variables

Special Variable: *mysql-connection*

All API entry-points after connect take a mysql-connection argument and must bind *mysql-connection* to that connection for internal function use.

Package

qmynd-impl.

Source

connection.lisp.

Special Variable: *mysql-encoding*

As it happens, it’s quite easy to have data in an encoding known only by the application, and completely unknown by MySQL which will keep sending unrelated meta-data. Use this setting to force the Qmynd driver to be using the encoding you know your data is encoded with.

Package

qmynd.

Source

connection.lisp.


6.1.3 Macros

Macro: define-packet (name slots)
Package

qmynd-impl.

Source

define-packet.lisp.

Macro: with-mysql-connection ((c) &body body)
Package

qmynd-impl.

Source

connection.lisp.


6.1.4 Ordinary functions

Function: column-definition-encoding (column-definition)
Package

qmynd-impl.

Source

response-result-set.lisp.

Function: column-definition-type (column-definition)
Package

qmynd-impl.

Source

response-result-set.lisp.

Function: emit-packet-parser (parser-name constructor-name slot-descriptors)
Package

qmynd-impl.

Source

define-packet.lisp.

Function: emit-packet-parser-slot (parser-name slotd stream locals)
Package

qmynd-impl.

Source

define-packet.lisp.

Function: emit-packet-parser-slot-reader (slotd stream locals)
Package

qmynd-impl.

Source

define-packet.lisp.

Function: emit-packet-slot-lisp-type (slotd optional)
Package

qmynd-impl.

Source

define-packet.lisp.

Function: emit-packet-struct (struct-name slotds)
Package

qmynd-impl.

Source

define-packet.lisp.

Function: encode-binary-parameter (value value-stream type-stream)
Package

qmynd-impl.

Source

binary-protocol-encoding.lisp.

Function: flagsp (bits-to-test bits-available &optional mode)
Package

qmynd-impl.

Source

connection.lisp.

Function: generate-auth-response (password auth-data &optional plugin)
Package

qmynd-impl.

Source

authentication.lisp.

Function: mysql-clear-password-auth-response (password)

This function implements the MySQL clear-text password authentication mechanism.

Package

qmynd-impl.

Source

authentication.lisp.

Function: mysql-command-init (command)

Initialize the default MySQL connection for a new command. Resets sequence-id in underlying stream(s).

Package

qmynd-impl.

Source

connection.lisp.

Function: mysql-connect (&key host port username password database client-found-rows compress ssl ssl-verify)

Connect to a MySQL over a network (AF_INET) socket and begin the MySQL Handshake.
Returns a QMYND:MYSQL-CONNECTION object or signals a QMYND:MYSQL-ERROR.
Accepts the following keyword arguments:
HOST: The host to connect to. (default: "localhost")
PORT: The port to connect to. (default: 3306)
USERNAME: User to authenticate as.
PASSWORD: Password to authenticate with.
DATABASE: What database to use upon connecting. (default: nil)
CLIENT-FOUND-ROWS: Whether or not to require the client-found-rows feature from the server (default: nil) COMPRESS: Whether or not to use compression. (default: nil).
SSL: Whether or not to use SSL. (default: :UNSPECIFIED)
T - Forces SSL (or error out if it’s not available).
NIL - Disable SSL, even if it is available.
:UNSPECIFIED - Opportunistic use of SSL.
SSL-VERIFY: Whether or not to verify the SSL certificate presented by the server. (Default: nil)

Package

qmynd.

Source

api.lisp.

Function: mysql-current-command-p (command)

Tests to see if COMMAND is the current command of the default MySQL connection.

Package

qmynd-impl.

Source

connection.lisp.

Function: mysql-date-time-to-universal-time (date-time)

Converts a MySQL DateTime to a Lisp integer-time. Returns NIL if all elements of the date-time are zero.

Package

qmynd.

Source

date-time.lisp.

Function: mysql-has-capability (cap-bits)
Package

qmynd-impl.

Source

connection.lisp.

Function: mysql-has-some-capability (cap-bits)
Package

qmynd-impl.

Source

connection.lisp.

Function: mysql-local-connect (&key path username password database client-found-rows)

Connect to a MySQL over a local (AF_LOCAL) socket and begin the MySQL Handshake.
Returns a QMYND:MYSQL-CONNECTION object or signals a QMYND:MYSQL-ERROR.
Accepts the following keyword arguments:
PATH: The path of the local socket to connect to. (default: #P"/var/run/mysqld/mysqld.sock") USERNAME: User to authenticate as.
PASSWORD: Password to authenticate with.
DATABASE: What database to use upon connecting. (default: nil)
CLIENT-FOUND-ROWS: Whether or not to require the client-found-rows feature from the server (default: nil)

Package

qmynd.

Source

api.lisp.

Function: mysql-native-password-auth-response (password auth-data)
Package

qmynd-impl.

Source

authentication.lisp.

Function: mysql-query (connection query-string &key row-fn as-text result-type)

Send a SQL Query over the connection using the MySQL Text Protocol. For queries that return rows, returns two values:
A vector of rows, each of which is a vector of columns.
A vector of column descriptors.
For queries that don’t return rows, returns a QMYND:RESPONSE-OK-PACKET. May signal a QMYND:MYSQL-ERROR.

Package

qmynd.

Source

api.lisp.

Function: mysql-read-packet ()

Read a wire packet from the default MySQL connection’s stream.

Package

qmynd-impl.

Source

connection.lisp.

Function: mysql-statement-prepare (connection query-string)

Prepares a SQL Query using the MySQL Prepared Statement Protocol. Returns a QMYND:MYSQL-PREPARED-STATEMENT.
NB: The QMYND:MYSQL-PREPARED-STATEMENT remembers the QMYND:MYSQL-CONNECTION it was prepared for.

Package

qmynd.

Source

api.lisp.

Function: mysql-time-interval-to-seconds (interval)

Converts a MYSQL-TIME-INTERVAL to a whole number of seconds. Returns microseconds as a second value.

Package

qmynd.

Source

date-time.lisp.

Function: mysql-write-packet (payload)

Write PAYLOAD to the default MySQL connection’s stream as a wire packet.

Package

qmynd-impl.

Source

connection.lisp.

Function: parse-binary-protocol-result-column (stream column-definition)
Package

qmynd-impl.

Source

response-result-set.lisp.

Function: parse-binary-resultset-rows (column-count column-definitions)
Package

qmynd-impl.

Source

response-result-set.lisp.

Function: parse-column-count (stream)
Package

qmynd-impl.

Source

response-result-set.lisp.

Function: parse-response (stream)

Parse a generic (OK, ERR, EOF) packet.
Update MySQL connection status flags as necessary.

Package

qmynd-impl.

Source

response-packets.lisp.

Function: parse-resultset-rows (column-count column-definitions &key as-text result-type)

Accumulate the whole result set in memory then return it as a list or a vector depending on the value of RESULT-TYPE (a symbol).

Package

qmynd-impl.

Source

response-result-set.lisp.

Function: parse-slot (slot-specifier)
Package

qmynd-impl.

Source

define-packet.lisp.

Function: parse-text-protocol-result-column (octets column-definition)
Package

qmynd-impl.

Source

response-result-set.lisp.

Function: process-initial-handshake-payload (stream)

Initial handshake processing dispatch.

Package

qmynd-impl.

Source

handshake.lisp.

Function: process-initial-handshake-v10 (stream)

Parse an INITIAL-HANDSHAKE-V10 Packet and populate the default MySQL connection.

Package

qmynd-impl.

Source

handshake.lisp.

Reader: response-ok-packet-affected-rows (instance)
Writer: (setf response-ok-packet-affected-rows) (instance)
Package

qmynd.

Source

response-packets.lisp.

Target Slot

affected-rows.

Reader: response-ok-packet-last-insert-id (instance)
Writer: (setf response-ok-packet-last-insert-id) (instance)
Package

qmynd.

Source

response-packets.lisp.

Target Slot

last-insert-id.

Reader: response-ok-packet-status-flags (instance)
Writer: (setf response-ok-packet-status-flags) (instance)
Package

qmynd.

Source

response-packets.lisp.

Target Slot

status-flags.

Reader: response-ok-packet-warnings (instance)
Writer: (setf response-ok-packet-warnings) (instance)
Package

qmynd.

Source

response-packets.lisp.

Target Slot

warnings.

Function: seconds-to-mysql-time-interval (value &optional microseconds)

Creates a MYSQL-TIME-INTERVAL representing VALUE seconds.
An optional second argument can be used to specify microseconds.

Package

qmynd.

Source

date-time.lisp.

Function: send-command-debug ()
Package

qmynd-impl.

Source

command-debug.lisp.

Function: send-command-field-list (table &optional field-wildcard)
Package

qmynd-impl.

Source

command-field-list.lisp.

Function: send-command-initialize-database (schema-name)
Package

qmynd-impl.

Source

command-initialize-database.lisp.

Function: send-command-ping ()
Package

qmynd-impl.

Source

command-ping.lisp.

Function: send-command-process-information ()
Package

qmynd-impl.

Source

command-process-information.lisp.

Function: send-command-process-kill (connection-id)
Package

qmynd-impl.

Source

command-process-kill.lisp.

Function: send-command-query (query-string &key row-fn as-text result-type)

Send QUERY-STRING to the current MySQL connection.

When the ROW-FN parameter is given, it must be a function and is called with each row as input, and the rows are discarded once the function is called.

When AS-TEXT is t, the column values are not converted to native types and returned as text instead.

By default the resultset is a vector of rows where each row is itself a vector of columns. When RESULT-TYPE is list, the result is a list of list of columns instead.

Package

qmynd-impl.

Source

command-query.lisp.

Function: send-command-quit ()
Package

qmynd-impl.

Source

command-quit.lisp.

Function: send-command-refresh (flags)
Package

qmynd-impl.

Source

command-refresh.lisp.

Function: send-command-shutdown (&optional shutdown-type)
Package

qmynd-impl.

Source

command-shutdown.lisp.

Function: send-command-statement-prepare (query-string)
Package

qmynd-impl.

Source

prepared-statement.lisp.

Function: send-command-statement-send-long-data (statement parameter-id data)
Package

qmynd-impl.

Source

prepared-statement.lisp.

Function: send-command-statistics ()
Package

qmynd-impl.

Source

command-statistics.lisp.

Function: send-handshake-response-41 (&key username auth-plugin auth-response database)

Send a MySQL Handshake Response v41 to the default MySQL connection.

Package

qmynd-impl.

Source

handshake.lisp.

Function: universal-time-to-mysql-date-time (integer-time &optional microseconds)

Converts a Lisp integer-time to a MySQL DateTime. If integer-time is NIL, returns a MySQL DateTime with all elements set to zero.

Package

qmynd.

Source

date-time.lisp.


6.1.5 Generic functions

Generic Reader: mysql-connection-auth-data (object)
Package

qmynd-impl.

Methods
Reader Method: mysql-connection-auth-data ((mysql-base-connection mysql-base-connection))

automatically generated reader method

Source

connection.lisp.

Target Slot

auth-data.

Generic Writer: (setf mysql-connection-auth-data) (object)
Package

qmynd-impl.

Methods
Writer Method: (setf mysql-connection-auth-data) ((mysql-base-connection mysql-base-connection))

automatically generated writer method

Source

connection.lisp.

Target Slot

auth-data.

Generic Reader: mysql-connection-auth-plugin (object)
Package

qmynd-impl.

Methods
Reader Method: mysql-connection-auth-plugin ((mysql-base-connection mysql-base-connection))

automatically generated reader method

Source

connection.lisp.

Target Slot

auth-plugin.

Generic Writer: (setf mysql-connection-auth-plugin) (object)
Package

qmynd-impl.

Methods
Writer Method: (setf mysql-connection-auth-plugin) ((mysql-base-connection mysql-base-connection))

automatically generated writer method

Source

connection.lisp.

Target Slot

auth-plugin.

Generic Reader: mysql-connection-capabilities (object)
Package

qmynd-impl.

Methods
Reader Method: mysql-connection-capabilities ((mysql-base-connection mysql-base-connection))

automatically generated reader method

Source

connection.lisp.

Target Slot

capabilities.

Generic Writer: (setf mysql-connection-capabilities) (object)
Package

qmynd-impl.

Methods
Writer Method: (setf mysql-connection-capabilities) ((mysql-base-connection mysql-base-connection))

automatically generated writer method

Source

connection.lisp.

Target Slot

capabilities.

Generic Reader: mysql-connection-character-set (object)
Package

qmynd-impl.

Methods
Reader Method: mysql-connection-character-set ((mysql-base-connection mysql-base-connection))

automatically generated reader method

Source

connection.lisp.

Target Slot

character-set.

Generic Writer: (setf mysql-connection-character-set) (object)
Package

qmynd-impl.

Methods
Writer Method: (setf mysql-connection-character-set) ((mysql-base-connection mysql-base-connection))

automatically generated writer method

Source

connection.lisp.

Target Slot

character-set.

Generic Reader: mysql-connection-connected (object)
Package

qmynd-impl.

Methods
Reader Method: mysql-connection-connected ((mysql-base-connection mysql-base-connection))

automatically generated reader method

Source

connection.lisp.

Target Slot

connected.

Generic Writer: (setf mysql-connection-connected) (object)
Package

qmynd-impl.

Methods
Writer Method: (setf mysql-connection-connected) ((mysql-base-connection mysql-base-connection))

automatically generated writer method

Source

connection.lisp.

Target Slot

connected.

Generic Reader: mysql-connection-connection-id (object)
Package

qmynd-impl.

Methods
Reader Method: mysql-connection-connection-id ((mysql-base-connection mysql-base-connection))

automatically generated reader method

Source

connection.lisp.

Target Slot

connection-id.

Generic Writer: (setf mysql-connection-connection-id) (object)
Package

qmynd-impl.

Methods
Writer Method: (setf mysql-connection-connection-id) ((mysql-base-connection mysql-base-connection))

automatically generated writer method

Source

connection.lisp.

Target Slot

connection-id.

Generic Reader: mysql-connection-cs-coll (object)
Package

qmynd-impl.

Methods
Reader Method: mysql-connection-cs-coll ((mysql-base-connection mysql-base-connection))

automatically generated reader method

Source

connection.lisp.

Target Slot

mysql-cs-coll.

Generic Writer: (setf mysql-connection-cs-coll) (object)
Package

qmynd-impl.

Methods
Writer Method: (setf mysql-connection-cs-coll) ((mysql-base-connection mysql-base-connection))

automatically generated writer method

Source

connection.lisp.

Target Slot

mysql-cs-coll.

Generic Reader: mysql-connection-current-command (object)
Package

qmynd-impl.

Methods
Reader Method: mysql-connection-current-command ((mysql-base-connection mysql-base-connection))

automatically generated reader method

Source

connection.lisp.

Target Slot

current-command.

Generic Writer: (setf mysql-connection-current-command) (object)
Package

qmynd-impl.

Methods
Writer Method: (setf mysql-connection-current-command) ((mysql-base-connection mysql-base-connection))

automatically generated writer method

Source

connection.lisp.

Target Slot

current-command.

Generic Reader: mysql-connection-default-schema (object)
Package

qmynd-impl.

Methods
Reader Method: mysql-connection-default-schema ((mysql-base-connection mysql-base-connection))

automatically generated reader method

Source

connection.lisp.

Target Slot

default-schema.

Generic Writer: (setf mysql-connection-default-schema) (object)
Package

qmynd-impl.

Methods
Writer Method: (setf mysql-connection-default-schema) ((mysql-base-connection mysql-base-connection))

automatically generated writer method

Source

connection.lisp.

Target Slot

default-schema.

Generic Function: mysql-connection-has-capability (c cap-bits)
Package

qmynd.

Methods
Method: mysql-connection-has-capability ((c mysql-base-connection) cap-bits)
Source

connection.lisp.

Generic Function: mysql-connection-has-some-capability (c cap-bits)
Package

qmynd-impl.

Methods
Method: mysql-connection-has-some-capability ((c mysql-base-connection) cap-bits)
Source

connection.lisp.

Generic Function: mysql-connection-has-status (c status-bits)
Package

qmynd.

Methods
Method: mysql-connection-has-status ((c mysql-base-connection) status-bits)
Source

connection.lisp.

Generic Reader: mysql-connection-prepared-statements (object)
Package

qmynd-impl.

Methods
Reader Method: mysql-connection-prepared-statements ((mysql-base-connection mysql-base-connection))

automatically generated reader method

Source

connection.lisp.

Target Slot

prepared-statements.

Generic Writer: (setf mysql-connection-prepared-statements) (object)
Package

qmynd-impl.

Methods
Writer Method: (setf mysql-connection-prepared-statements) ((mysql-base-connection mysql-base-connection))

automatically generated writer method

Source

connection.lisp.

Target Slot

prepared-statements.

Generic Function: mysql-connection-read-packet (c)
Package

qmynd-impl.

Methods
Method: mysql-connection-read-packet ((c mysql-base-connection))

Read a wire packet from C’s stream.

Source

connection.lisp.

Generic Reader: mysql-connection-sequence-id (object)
Package

qmynd-impl.

Methods
Reader Method: mysql-connection-sequence-id ((mysql-base-connection mysql-base-connection))

automatically generated reader method

Source

connection.lisp.

Target Slot

sequence-id.

Generic Writer: (setf mysql-connection-sequence-id) (object)
Package

qmynd-impl.

Methods
Writer Method: (setf mysql-connection-sequence-id) ((mysql-base-connection mysql-base-connection))

automatically generated writer method

Source

connection.lisp.

Target Slot

sequence-id.

Generic Reader: mysql-connection-server-version (object)
Package

qmynd-impl.

Methods
Reader Method: mysql-connection-server-version ((mysql-base-connection mysql-base-connection))

automatically generated reader method

Source

connection.lisp.

Target Slot

server-version.

Generic Writer: (setf mysql-connection-server-version) (object)
Package

qmynd-impl.

Methods
Writer Method: (setf mysql-connection-server-version) ((mysql-base-connection mysql-base-connection))

automatically generated writer method

Source

connection.lisp.

Target Slot

server-version.

Generic Reader: mysql-connection-socket (object)
Package

qmynd-impl.

Methods
Reader Method: mysql-connection-socket ((mysql-local-connection mysql-local-connection))

automatically generated reader method

Source

connection.lisp.

Target Slot

socket.

Reader Method: mysql-connection-socket ((mysql-inet-connection mysql-inet-connection))

automatically generated reader method

Source

connection.lisp.

Target Slot

socket.

Generic Writer: (setf mysql-connection-socket) (object)
Package

qmynd-impl.

Methods
Writer Method: (setf mysql-connection-socket) ((mysql-local-connection mysql-local-connection))

automatically generated writer method

Source

connection.lisp.

Target Slot

socket.

Writer Method: (setf mysql-connection-socket) ((mysql-inet-connection mysql-inet-connection))

automatically generated writer method

Source

connection.lisp.

Target Slot

socket.

Generic Reader: mysql-connection-status-flags (object)
Package

qmynd-impl.

Methods
Reader Method: mysql-connection-status-flags ((mysql-base-connection mysql-base-connection))

automatically generated reader method

Source

connection.lisp.

Target Slot

status-flags.

Generic Writer: (setf mysql-connection-status-flags) (object)
Package

qmynd-impl.

Methods
Writer Method: (setf mysql-connection-status-flags) ((mysql-base-connection mysql-base-connection))

automatically generated writer method

Source

connection.lisp.

Target Slot

status-flags.

Generic Reader: mysql-connection-stream (object)
Package

qmynd-impl.

Methods
Reader Method: mysql-connection-stream ((mysql-base-connection mysql-base-connection))

automatically generated reader method

Source

connection.lisp.

Target Slot

stream.

Generic Writer: (setf mysql-connection-stream) (object)
Package

qmynd-impl.

Methods
Writer Method: (setf mysql-connection-stream) ((mysql-base-connection mysql-base-connection))

automatically generated writer method

Source

connection.lisp.

Target Slot

stream.

Generic Function: mysql-connection-write-packet (c payload)
Package

qmynd-impl.

Methods
Method: mysql-connection-write-packet ((c mysql-base-connection) payload)

Write PAYLOAD to C’s stream as a wire packet.

Source

connection.lisp.

Generic Reader: mysql-date-time-day (object)
Package

qmynd.

Methods
Reader Method: mysql-date-time-day ((mysql-date-time mysql-date-time))

automatically generated reader method

Source

date-time.lisp.

Target Slot

day.

Generic Writer: (setf mysql-date-time-day) (object)
Package

qmynd.

Methods
Writer Method: (setf mysql-date-time-day) ((mysql-date-time mysql-date-time))

automatically generated writer method

Source

date-time.lisp.

Target Slot

day.

Generic Reader: mysql-date-time-hour (object)
Package

qmynd.

Methods
Reader Method: mysql-date-time-hour ((mysql-date-time mysql-date-time))

automatically generated reader method

Source

date-time.lisp.

Target Slot

hour.

Generic Writer: (setf mysql-date-time-hour) (object)
Package

qmynd.

Methods
Writer Method: (setf mysql-date-time-hour) ((mysql-date-time mysql-date-time))

automatically generated writer method

Source

date-time.lisp.

Target Slot

hour.

Generic Reader: mysql-date-time-microsecond (object)
Package

qmynd.

Methods
Reader Method: mysql-date-time-microsecond ((mysql-date-time mysql-date-time))

automatically generated reader method

Source

date-time.lisp.

Target Slot

microsecond.

Generic Writer: (setf mysql-date-time-microsecond) (object)
Package

qmynd.

Methods
Writer Method: (setf mysql-date-time-microsecond) ((mysql-date-time mysql-date-time))

automatically generated writer method

Source

date-time.lisp.

Target Slot

microsecond.

Generic Reader: mysql-date-time-minute (object)
Package

qmynd.

Methods
Reader Method: mysql-date-time-minute ((mysql-date-time mysql-date-time))

automatically generated reader method

Source

date-time.lisp.

Target Slot

minute.

Generic Writer: (setf mysql-date-time-minute) (object)
Package

qmynd.

Methods
Writer Method: (setf mysql-date-time-minute) ((mysql-date-time mysql-date-time))

automatically generated writer method

Source

date-time.lisp.

Target Slot

minute.

Generic Reader: mysql-date-time-month (object)
Package

qmynd.

Methods
Reader Method: mysql-date-time-month ((mysql-date-time mysql-date-time))

automatically generated reader method

Source

date-time.lisp.

Target Slot

month.

Generic Writer: (setf mysql-date-time-month) (object)
Package

qmynd.

Methods
Writer Method: (setf mysql-date-time-month) ((mysql-date-time mysql-date-time))

automatically generated writer method

Source

date-time.lisp.

Target Slot

month.

Generic Reader: mysql-date-time-second (object)
Package

qmynd.

Methods
Reader Method: mysql-date-time-second ((mysql-date-time mysql-date-time))

automatically generated reader method

Source

date-time.lisp.

Target Slot

second.

Generic Writer: (setf mysql-date-time-second) (object)
Package

qmynd.

Methods
Writer Method: (setf mysql-date-time-second) ((mysql-date-time mysql-date-time))

automatically generated writer method

Source

date-time.lisp.

Target Slot

second.

Generic Reader: mysql-date-time-year (object)
Package

qmynd.

Methods
Reader Method: mysql-date-time-year ((mysql-date-time mysql-date-time))

automatically generated reader method

Source

date-time.lisp.

Target Slot

year.

Generic Writer: (setf mysql-date-time-year) (object)
Package

qmynd.

Methods
Writer Method: (setf mysql-date-time-year) ((mysql-date-time mysql-date-time))

automatically generated writer method

Source

date-time.lisp.

Target Slot

year.

Generic Function: mysql-disconnect (c)
Package

qmynd.

Methods
Method: mysql-disconnect ((c mysql-base-connection))

Shut down a MySQL connection.

Source

api.lisp.

Generic Reader: mysql-prepared-statement-columns (object)
Package

qmynd-impl.

Methods
Reader Method: mysql-prepared-statement-columns ((mysql-prepared-statement mysql-prepared-statement))

automatically generated reader method

Source

prepared-statement.lisp.

Target Slot

columns.

Generic Writer: (setf mysql-prepared-statement-columns) (object)
Package

qmynd-impl.

Methods
Writer Method: (setf mysql-prepared-statement-columns) ((mysql-prepared-statement mysql-prepared-statement))

automatically generated writer method

Source

prepared-statement.lisp.

Target Slot

columns.

Generic Reader: mysql-prepared-statement-connection (object)
Package

qmynd-impl.

Methods
Reader Method: mysql-prepared-statement-connection ((mysql-prepared-statement mysql-prepared-statement))

automatically generated reader method

Source

prepared-statement.lisp.

Target Slot

connection.

Generic Writer: (setf mysql-prepared-statement-connection) (object)
Package

qmynd-impl.

Methods
Writer Method: (setf mysql-prepared-statement-connection) ((mysql-prepared-statement mysql-prepared-statement))

automatically generated writer method

Source

prepared-statement.lisp.

Target Slot

connection.

Generic Reader: mysql-prepared-statement-parameters (object)
Package

qmynd-impl.

Methods
Reader Method: mysql-prepared-statement-parameters ((mysql-prepared-statement mysql-prepared-statement))

automatically generated reader method

Source

prepared-statement.lisp.

Target Slot

parameters.

Generic Writer: (setf mysql-prepared-statement-parameters) (object)
Package

qmynd-impl.

Methods
Writer Method: (setf mysql-prepared-statement-parameters) ((mysql-prepared-statement mysql-prepared-statement))

automatically generated writer method

Source

prepared-statement.lisp.

Target Slot

parameters.

Generic Reader: mysql-prepared-statement-query-string (object)
Package

qmynd-impl.

Methods
Reader Method: mysql-prepared-statement-query-string ((mysql-prepared-statement mysql-prepared-statement))

automatically generated reader method

Source

prepared-statement.lisp.

Target Slot

query-string.

Generic Writer: (setf mysql-prepared-statement-query-string) (object)
Package

qmynd-impl.

Methods
Writer Method: (setf mysql-prepared-statement-query-string) ((mysql-prepared-statement mysql-prepared-statement))

automatically generated writer method

Source

prepared-statement.lisp.

Target Slot

query-string.

Generic Reader: mysql-prepared-statement-statement-id (object)
Package

qmynd-impl.

Methods
Reader Method: mysql-prepared-statement-statement-id ((mysql-prepared-statement mysql-prepared-statement))

automatically generated reader method

Source

prepared-statement.lisp.

Target Slot

statement-id.

Generic Writer: (setf mysql-prepared-statement-statement-id) (object)
Package

qmynd-impl.

Methods
Writer Method: (setf mysql-prepared-statement-statement-id) ((mysql-prepared-statement mysql-prepared-statement))

automatically generated writer method

Source

prepared-statement.lisp.

Target Slot

statement-id.

Generic Function: mysql-statement-close (statement)
Package

qmynd.

Methods
Method: mysql-statement-close ((statement mysql-prepared-statement))

Deallocates and invalidates STATEMENT.

Source

api.lisp.

Generic Function: mysql-statement-execute (statement &key parameters)
Package

qmynd.

Methods
Method: mysql-statement-execute ((statement mysql-prepared-statement) &key parameters)

Executes a QMYND:MYSQL-PREPARED-STATEMENT.
Accepts the following keyword arguments:
PARAMETERS: a sequence of parameters for the placeholders in the prepared statement, if any.

Source

api.lisp.

Generic Reader: mysql-time-interval-days (object)
Package

qmynd.

Methods
Reader Method: mysql-time-interval-days ((mysql-time-interval mysql-time-interval))

automatically generated reader method

Source

date-time.lisp.

Target Slot

days.

Generic Writer: (setf mysql-time-interval-days) (object)
Package

qmynd.

Methods
Writer Method: (setf mysql-time-interval-days) ((mysql-time-interval mysql-time-interval))

automatically generated writer method

Source

date-time.lisp.

Target Slot

days.

Generic Reader: mysql-time-interval-hours (object)
Package

qmynd.

Methods
Reader Method: mysql-time-interval-hours ((mysql-time-interval mysql-time-interval))

automatically generated reader method

Source

date-time.lisp.

Target Slot

hours.

Generic Writer: (setf mysql-time-interval-hours) (object)
Package

qmynd.

Methods
Writer Method: (setf mysql-time-interval-hours) ((mysql-time-interval mysql-time-interval))

automatically generated writer method

Source

date-time.lisp.

Target Slot

hours.

Generic Reader: mysql-time-interval-microseconds (object)
Package

qmynd.

Methods
Reader Method: mysql-time-interval-microseconds ((mysql-time-interval mysql-time-interval))

automatically generated reader method

Source

date-time.lisp.

Target Slot

microseconds.

Generic Writer: (setf mysql-time-interval-microseconds) (object)
Package

qmynd.

Methods
Writer Method: (setf mysql-time-interval-microseconds) ((mysql-time-interval mysql-time-interval))

automatically generated writer method

Source

date-time.lisp.

Target Slot

microseconds.

Generic Reader: mysql-time-interval-minutes (object)
Package

qmynd.

Methods
Reader Method: mysql-time-interval-minutes ((mysql-time-interval mysql-time-interval))

automatically generated reader method

Source

date-time.lisp.

Target Slot

minutes.

Generic Writer: (setf mysql-time-interval-minutes) (object)
Package

qmynd.

Methods
Writer Method: (setf mysql-time-interval-minutes) ((mysql-time-interval mysql-time-interval))

automatically generated writer method

Source

date-time.lisp.

Target Slot

minutes.

Generic Reader: mysql-time-interval-negativep (object)
Package

qmynd.

Methods
Reader Method: mysql-time-interval-negativep ((mysql-time-interval mysql-time-interval))

automatically generated reader method

Source

date-time.lisp.

Target Slot

negativep.

Generic Writer: (setf mysql-time-interval-negativep) (object)
Package

qmynd.

Methods
Writer Method: (setf mysql-time-interval-negativep) ((mysql-time-interval mysql-time-interval))

automatically generated writer method

Source

date-time.lisp.

Target Slot

negativep.

Generic Reader: mysql-time-interval-seconds (object)
Package

qmynd.

Methods
Reader Method: mysql-time-interval-seconds ((mysql-time-interval mysql-time-interval))

automatically generated reader method

Source

date-time.lisp.

Target Slot

seconds.

Generic Writer: (setf mysql-time-interval-seconds) (object)
Package

qmynd.

Methods
Writer Method: (setf mysql-time-interval-seconds) ((mysql-time-interval mysql-time-interval))

automatically generated writer method

Source

date-time.lisp.

Target Slot

seconds.

Generic Reader: mysql-year-year (object)
Package

qmynd.

Methods
Reader Method: mysql-year-year ((mysql-year mysql-year))

automatically generated reader method

Source

date-time.lisp.

Target Slot

year.

Generic Writer: (setf mysql-year-year) (object)
Package

qmynd.

Methods
Writer Method: (setf mysql-year-year) ((mysql-year mysql-year))

automatically generated writer method

Source

date-time.lisp.

Target Slot

year.

Generic Reader: packet-slot-bind (object)
Package

qmynd-impl.

Methods
Reader Method: packet-slot-bind ((packet-slot packet-slot))

automatically generated reader method

Source

define-packet.lisp.

Target Slot

bind.

Generic Writer: (setf packet-slot-bind) (object)
Package

qmynd-impl.

Methods
Writer Method: (setf packet-slot-bind) ((packet-slot packet-slot))

automatically generated writer method

Source

define-packet.lisp.

Target Slot

bind.

Generic Reader: packet-slot-eof (object)
Package

qmynd-impl.

Methods
Reader Method: packet-slot-eof ((packet-slot packet-slot))

automatically generated reader method

Source

define-packet.lisp.

Target Slot

eof.

Generic Writer: (setf packet-slot-eof) (object)
Package

qmynd-impl.

Methods
Writer Method: (setf packet-slot-eof) ((packet-slot packet-slot))

automatically generated writer method

Source

define-packet.lisp.

Target Slot

eof.

Generic Reader: packet-slot-mysql-type (object)
Package

qmynd-impl.

Methods
Reader Method: packet-slot-mysql-type ((packet-slot packet-slot))

automatically generated reader method

Source

define-packet.lisp.

Target Slot

mysql-type.

Generic Writer: (setf packet-slot-mysql-type) (object)
Package

qmynd-impl.

Methods
Writer Method: (setf packet-slot-mysql-type) ((packet-slot packet-slot))

automatically generated writer method

Source

define-packet.lisp.

Target Slot

mysql-type.

Generic Reader: packet-slot-predicate (object)
Package

qmynd-impl.

Methods
Reader Method: packet-slot-predicate ((packet-slot packet-slot))

automatically generated reader method

Source

define-packet.lisp.

Target Slot

predicate.

Generic Writer: (setf packet-slot-predicate) (object)
Package

qmynd-impl.

Methods
Writer Method: (setf packet-slot-predicate) ((packet-slot packet-slot))

automatically generated writer method

Source

define-packet.lisp.

Target Slot

predicate.

Generic Reader: packet-slot-reduce (object)
Package

qmynd-impl.

Methods
Reader Method: packet-slot-reduce ((packet-slot packet-slot))

automatically generated reader method

Source

define-packet.lisp.

Target Slot

reduce.

Generic Writer: (setf packet-slot-reduce) (object)
Package

qmynd-impl.

Methods
Writer Method: (setf packet-slot-reduce) ((packet-slot packet-slot))

automatically generated writer method

Source

define-packet.lisp.

Target Slot

reduce.

Generic Reader: packet-slot-transform (object)
Package

qmynd-impl.

Methods
Reader Method: packet-slot-transform ((packet-slot packet-slot))

automatically generated reader method

Source

define-packet.lisp.

Target Slot

transform.

Generic Writer: (setf packet-slot-transform) (object)
Package

qmynd-impl.

Methods
Writer Method: (setf packet-slot-transform) ((packet-slot packet-slot))

automatically generated writer method

Source

define-packet.lisp.

Target Slot

transform.

Generic Reader: packet-slot-transient (object)
Package

qmynd-impl.

Methods
Reader Method: packet-slot-transient ((packet-slot packet-slot))

automatically generated reader method

Source

define-packet.lisp.

Target Slot

transient.

Generic Writer: (setf packet-slot-transient) (object)
Package

qmynd-impl.

Methods
Writer Method: (setf packet-slot-transient) ((packet-slot packet-slot))

automatically generated writer method

Source

define-packet.lisp.

Target Slot

transient.

Generic Reader: packet-slot-type (object)
Package

qmynd-impl.

Methods
Reader Method: packet-slot-type ((packet-slot packet-slot))

automatically generated reader method

Source

define-packet.lisp.

Target Slot

type.

Generic Writer: (setf packet-slot-type) (object)
Package

qmynd-impl.

Methods
Writer Method: (setf packet-slot-type) ((packet-slot packet-slot))

automatically generated writer method

Source

define-packet.lisp.

Target Slot

type.

Generic Reader: packet-slot-value (object)
Package

qmynd-impl.

Methods
Reader Method: packet-slot-value ((packet-slot packet-slot))

automatically generated reader method

Source

define-packet.lisp.

Target Slot

value.

Generic Writer: (setf packet-slot-value) (object)
Package

qmynd-impl.

Methods
Writer Method: (setf packet-slot-value) ((packet-slot packet-slot))

automatically generated writer method

Source

define-packet.lisp.

Target Slot

value.

Generic Function: parse-command-statement-execute-response (statement)
Package

qmynd-impl.

Methods
Method: parse-command-statement-execute-response ((statement mysql-prepared-statement))
Source

prepared-statement.lisp.

Generic Function: send-command-statement-close (statement)
Package

qmynd-impl.

Methods
Method: send-command-statement-close ((statement mysql-prepared-statement))
Source

prepared-statement.lisp.

Generic Function: send-command-statement-execute (statement &key parameters)
Package

qmynd-impl.

Methods
Method: send-command-statement-execute ((statement mysql-prepared-statement) &key parameters)
Source

prepared-statement.lisp.

Generic Function: send-command-statement-reset (statement)
Package

qmynd-impl.

Methods
Method: send-command-statement-reset ((statement mysql-prepared-statement))
Source

prepared-statement.lisp.


6.1.6 Standalone methods

Method: print-object ((year mysql-year) stream)
Source

date-time.lisp.

Method: print-object ((interval mysql-time-interval) stream)
Source

date-time.lisp.

Method: print-object ((date-time mysql-date-time) stream)
Source

date-time.lisp.

Method: print-object ((stream my-packet-stream) out)
Source

wire-packet.lisp.

Method: stream-force-output ((stream mysql-compressed-stream))
Package

sb-gray.

Source

compressed-protocol.lisp.

Method: stream-listen ((stream mysql-compressed-stream))
Package

sb-gray.

Source

compressed-protocol.lisp.

Method: stream-read-byte ((stream mysql-compressed-stream))
Package

sb-gray.

Source

compressed-protocol.lisp.

Method: stream-read-sequence ((stream mysql-compressed-stream) sequence start end &key)
Package

trivial-gray-streams.

Source

compressed-protocol.lisp.

Method: stream-write-byte ((stream mysql-compressed-stream) byte)
Package

sb-gray.

Source

compressed-protocol.lisp.

Method: stream-write-sequence ((stream mysql-compressed-stream) sequence start end &key)
Package

trivial-gray-streams.

Source

compressed-protocol.lisp.


6.1.7 Conditions

Condition: mysql-base-error

Base class for all QMyND MySQL errors.

Package

qmynd.

Source

conditions.lisp.

Direct superclasses

error.

Direct subclasses
Condition: mysql-error

Wraps errors returned in MySQL Error Packets.

Package

qmynd.

Source

conditions.lisp.

Direct superclasses

mysql-external-error.

Direct methods
Direct slots
Slot: code
Package

qmynd-impl.

Initargs

:code

Readers

mysql-error-code.

Writers

This slot is read-only.

Slot: message
Package

qmynd-impl.

Initargs

:message

Readers

mysql-error-message.

Writers

This slot is read-only.

Slot: state
Package

qmynd-impl.

Initargs

:state

Readers

mysql-error-state.

Writers

This slot is read-only.

Condition: mysql-insufficient-capabilities

Signaled when connecting to a server that does not meet the minimum requirements for the library.

Package

qmynd.

Source

conditions.lisp.

Direct superclasses

mysql-external-error.

Direct methods

mysql-insufficient-capabilities-server-flags.

Direct slots
Slot: server-flags
Package

qmynd-impl.

Initargs

qmynd-impl::server-flags

Readers

mysql-insufficient-capabilities-server-flags.

Writers

This slot is read-only.

Condition: mysql-unsupported-authentication

Signaled when trying to authenticate to a server with an unsupported authentication plugin.

Package

qmynd.

Source

conditions.lisp.

Direct superclasses

mysql-external-error.

Direct methods

mysql-unsupported-authentication-plugin.

Direct slots
Slot: plugin
Package

qmynd-impl.

Initargs

:plugin

Readers

mysql-unsupported-authentication-plugin.

Writers

This slot is read-only.

Condition: partial-read

Signaled when the library didn’t get as many bytes as asked.

Package

qmynd.

Source

conditions.lisp.

Direct superclasses

mysql-external-error.

Direct methods
Direct slots
Slot: bytes
Package

qmynd-impl.

Initargs

:bytes

Readers

partial-read-bytes.

Writers

This slot is read-only.

Slot: expected
Package

qmynd-impl.

Initargs

:expected

Readers

partial-read-expected.

Writers

This slot is read-only.

Condition: ssl-not-supported

Signaled when SSL is requested but not supported.

Package

qmynd.

Source

conditions.lisp.

Direct superclasses

mysql-external-error.

Condition: unexpected-packet

Signaled when the library encounters an unexpected packet.

Package

qmynd.

Source

conditions.lisp.

Direct superclasses

mysql-external-error.

Direct methods

unexpected-packet-payload.

Direct slots
Slot: payload
Package

qmynd-impl.

Initargs

:payload

Readers

unexpected-packet-payload.

Writers

This slot is read-only.

Condition: value-is-not-decimal

Signaled when calling #’WRITE-DECIMAL-TO-STRING with a value that is not a decimal.

Package

qmynd.

Source

conditions.lisp.

Direct superclasses

mysql-external-error.

Direct slots
Slot: value
Package

qmynd-impl.

Initargs

:value


6.1.8 Structures

Structure: response-ok-packet
Package

qmynd.

Source

response-packets.lisp.

Direct superclasses

structure-object.

Direct slots
Slot: affected-rows
Package

qmynd-impl.

Type

integer

Readers

response-ok-packet-affected-rows.

Writers

(setf response-ok-packet-affected-rows).

Slot: last-insert-id
Package

qmynd-impl.

Type

integer

Readers

response-ok-packet-last-insert-id.

Writers

(setf response-ok-packet-last-insert-id).

Slot: status-flags
Package

qmynd-impl.

Type

(or (integer 0 65535) null)

Readers

response-ok-packet-status-flags.

Writers

(setf response-ok-packet-status-flags).

Slot: warnings
Package

qmynd-impl.

Type

(or (integer 0 65535) null)

Readers

response-ok-packet-warnings.

Writers

(setf response-ok-packet-warnings).

Slot: info
Package

qmynd-impl.

Type

string

Readers

response-ok-packet-info.

Writers

(setf response-ok-packet-info).


6.1.9 Classes

Class: mysql-base-connection

The base class for all MySQL connections.

Package

qmynd.

Source

connection.lisp.

Direct subclasses
Direct methods
Direct slots
Slot: connected
Package

qmynd-impl.

Type

boolean

Readers

mysql-connection-connected.

Writers

(setf mysql-connection-connected).

Slot: stream
Package

common-lisp.

Initargs

:stream

Readers

mysql-connection-stream.

Writers

(setf mysql-connection-stream).

Slot: server-version
Package

qmynd-impl.

Type

(or string null)

Readers

mysql-connection-server-version.

Writers

(setf mysql-connection-server-version).

Slot: connection-id
Package

qmynd-impl.

Type

(or integer null)

Readers

mysql-connection-connection-id.

Writers

(setf mysql-connection-connection-id).

Slot: capabilities
Package

qmynd-impl.

Type

integer

Initform

(qmynd-impl::mysql-capabilities-supported)

Readers

mysql-connection-capabilities.

Writers

(setf mysql-connection-capabilities).

Slot: character-set
Package

qmynd-impl.

Type

keyword

Initform

:utf-8

Readers

mysql-connection-character-set.

Writers

(setf mysql-connection-character-set).

Slot: mysql-cs-coll
Package

qmynd-impl.

Type

integer

Initform

qmynd-impl::+mysql-cs-coll-utf8-general-ci+

Readers

mysql-connection-cs-coll.

Writers

(setf mysql-connection-cs-coll).

Slot: status-flags
Package

qmynd-impl.

Type

(or integer null)

Readers

mysql-connection-status-flags.

Writers

(setf mysql-connection-status-flags).

Slot: sequence-id
Package

qmynd-impl.

Type

integer

Initform

0

Readers

mysql-connection-sequence-id.

Writers

(setf mysql-connection-sequence-id).

Slot: auth-data
Package

qmynd-impl.

Type

(vector (unsigned-byte 8))

Readers

mysql-connection-auth-data.

Writers

(setf mysql-connection-auth-data).

Slot: auth-plugin
Package

qmynd-impl.

Type

(or string null)

Readers

mysql-connection-auth-plugin.

Writers

(setf mysql-connection-auth-plugin).

Slot: default-schema
Package

qmynd-impl.

Type

(or string null)

Initargs

:default-schema

Readers

mysql-connection-default-schema.

Writers

(setf mysql-connection-default-schema).

Slot: current-command
Package

qmynd-impl.

Type

(or integer null)

Readers

mysql-connection-current-command.

Writers

(setf mysql-connection-current-command).

Slot: prepared-statements
Package

qmynd-impl.

Type

list

Readers

mysql-connection-prepared-statements.

Writers

(setf mysql-connection-prepared-statements).

Class: mysql-date-time
Package

qmynd.

Source

date-time.lisp.

Direct methods
Direct slots
Slot: year
Package

qmynd-impl.

Type

(integer 0 65535)

Initform

0

Initargs

:year

Readers

mysql-date-time-year.

Writers

(setf mysql-date-time-year).

Slot: month
Package

qmynd-impl.

Type

(integer 0 12)

Initform

0

Initargs

:month

Readers

mysql-date-time-month.

Writers

(setf mysql-date-time-month).

Slot: day
Package

qmynd-impl.

Type

(integer 0 31)

Initform

0

Initargs

:day

Readers

mysql-date-time-day.

Writers

(setf mysql-date-time-day).

Slot: hour
Package

qmynd-impl.

Type

(integer 0 23)

Initform

0

Initargs

:hour

Readers

mysql-date-time-hour.

Writers

(setf mysql-date-time-hour).

Slot: minute
Package

qmynd-impl.

Type

(integer 0 59)

Initform

0

Initargs

:minute

Readers

mysql-date-time-minute.

Writers

(setf mysql-date-time-minute).

Slot: second
Package

common-lisp.

Type

(integer 0 59)

Initform

0

Initargs

:second

Readers

mysql-date-time-second.

Writers

(setf mysql-date-time-second).

Slot: microsecond
Package

qmynd-impl.

Type

(integer 0 999999)

Initform

0

Initargs

:microsecond

Readers

mysql-date-time-microsecond.

Writers

(setf mysql-date-time-microsecond).

Class: mysql-prepared-statement
Package

qmynd.

Source

prepared-statement.lisp.

Direct methods
Direct slots
Slot: connection
Package

qmynd-impl.

Type

(or qmynd:mysql-base-connection null)

Initargs

:connection

Readers

mysql-prepared-statement-connection.

Writers

(setf mysql-prepared-statement-connection).

Slot: query-string
Package

qmynd-impl.

Type

string

Initargs

:query-string

Readers

mysql-prepared-statement-query-string.

Writers

(setf mysql-prepared-statement-query-string).

Slot: statement-id
Package

qmynd-impl.

Type

(unsigned-byte 32)

Initargs

:statement-id

Readers

mysql-prepared-statement-statement-id.

Writers

(setf mysql-prepared-statement-statement-id).

Slot: columns
Package

qmynd-impl.

Type

(list-of:vector-of qmynd-impl::column-definition-v41-packet)

Initargs

:columns

Readers

mysql-prepared-statement-columns.

Writers

(setf mysql-prepared-statement-columns).

Slot: parameters
Package

qmynd-impl.

Type

(list-of:vector-of qmynd-impl::column-definition-v41-packet)

Initargs

:parameters

Readers

mysql-prepared-statement-parameters.

Writers

(setf mysql-prepared-statement-parameters).

Class: mysql-time-interval
Package

qmynd.

Source

date-time.lisp.

Direct methods
Direct slots
Slot: negativep
Package

qmynd-impl.

Type

boolean

Initargs

:negativep

Readers

mysql-time-interval-negativep.

Writers

(setf mysql-time-interval-negativep).

Slot: days
Package

qmynd-impl.

Type

(integer 0 4294967295)

Initform

0

Initargs

:days

Readers

mysql-time-interval-days.

Writers

(setf mysql-time-interval-days).

Slot: hours
Package

qmynd-impl.

Type

(integer 0 23)

Initform

0

Initargs

:hours

Readers

mysql-time-interval-hours.

Writers

(setf mysql-time-interval-hours).

Slot: minutes
Package

qmynd-impl.

Type

(integer 0 59)

Initform

0

Initargs

:minutes

Readers

mysql-time-interval-minutes.

Writers

(setf mysql-time-interval-minutes).

Slot: seconds
Package

qmynd-impl.

Type

(integer 0 59)

Initform

0

Initargs

:seconds

Readers

mysql-time-interval-seconds.

Writers

(setf mysql-time-interval-seconds).

Slot: microseconds
Package

qmynd-impl.

Type

(integer 0 999999)

Initform

0

Initargs

:microseconds

Readers

mysql-time-interval-microseconds.

Writers

(setf mysql-time-interval-microseconds).

Class: mysql-year
Package

qmynd.

Source

date-time.lisp.

Direct methods
Direct slots
Slot: year
Package

qmynd-impl.

Type

(integer 0 65535)

Initform

0

Initargs

:year

Readers

mysql-year-year.

Writers

(setf mysql-year-year).

Class: packet-slot
Package

qmynd-impl.

Source

define-packet.lisp.

Direct methods
Direct slots
Slot: name
Type

symbol

Initargs

:name

Readers

packet-slot-name.

Writers

This slot is read-only.

Slot: bind
Type

boolean

Initform

t

Initargs

:bind

Readers

packet-slot-bind.

Writers

(setf packet-slot-bind).

Slot: eof
Type

keyword

Initform

:error

Initargs

:eof

Readers

packet-slot-eof.

Writers

(setf packet-slot-eof).

Slot: predicate
Initargs

:predicate

Readers

packet-slot-predicate.

Writers

(setf packet-slot-predicate).

Slot: reduce
Package

common-lisp.

Initargs

:reduce

Readers

packet-slot-reduce.

Writers

(setf packet-slot-reduce).

Slot: transform
Initargs

:transform

Readers

packet-slot-transform.

Writers

(setf packet-slot-transform).

Slot: transient
Type

boolean

Initargs

:transient

Readers

packet-slot-transient.

Writers

(setf packet-slot-transient).

Slot: mysql-type
Initargs

:mysql-type

Readers

packet-slot-mysql-type.

Writers

(setf packet-slot-mysql-type).

Slot: type
Package

common-lisp.

Initargs

:type

Readers

packet-slot-type.

Writers

(setf packet-slot-type).

Slot: value
Initargs

:value

Readers

packet-slot-value.

Writers

(setf packet-slot-value).


6.2 Internals


6.2.1 Constants

Constant: +hours-per-day+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +max-packet-length+

Larger packet that we may receive, see https://dev.mysql.com/doc/internals/en/sending-more-than-16mbyte.html

Package

qmynd-impl.

Source

wire-packet.lisp.

Constant: +minutes-per-hour+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-capabilities-required+

The minimum required capabilities for this client to interop with a MySQL server.

Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-capability-client-compress+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-capability-client-connect-attrs+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-capability-client-connect-with-db+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-capability-client-found-rows+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-capability-client-ignore-sigpipe+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-capability-client-ignore-space+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-capability-client-interactive+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-capability-client-local-files+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-capability-client-long-flag+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-capability-client-long-password+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-capability-client-multi-results+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-capability-client-multi-statements+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-capability-client-no-schema+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-capability-client-odbc+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-capability-client-plugin-auth+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-capability-client-plugin-auth-lenec-client-data+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-capability-client-protocol-41+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-capability-client-ps-multi-results+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-capability-client-remember-options+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-capability-client-reserved+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-capability-client-secure-connection+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-capability-client-ssl+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-capability-client-transactions+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-capability-client-verify-server-cert+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-command-binary-log-dump+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-command-binary-log-dump-gtid+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-command-change-user+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-command-connect+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-command-connect-out+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-command-create-database+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-command-daemon+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-command-debug+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-command-delayed-insert+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-command-drop-database+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-command-field-list+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-command-initialize-database+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-command-ping+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-command-process-information+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-command-process-kill+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-command-query+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-command-quit+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-command-refresh+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-command-register-slave+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-command-set-option+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-command-shutdown+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-command-sleep+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-command-statement-close+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-command-statement-execute+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-command-statement-fetch+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-command-statement-prepare+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-command-statement-reset+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-command-statement-send-long-data+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-command-statistics+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-command-table-dump+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-command-time+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-cs-coll-armscii8-binary+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-armscii8-general-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-ascii-binary+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-ascii-general-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-big5-binary+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-big5-chinese-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-binary+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-cp1250-binary+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-cp1250-croatian-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-cp1250-czech-cs+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-cp1250-general-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-cp1250-polish-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-cp1251-binary+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-cp1251-bulgarian-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-cp1251-general-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-cp1251-general-cs+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-cp1251-ukrainian-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-cp1256-binary+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-cp1256-general-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-cp1257-binary+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-cp1257-general-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-cp1257-lithuanian-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-cp850-binary+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-cp850-general-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-cp852-binary+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-cp852-general-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-cp866-binary+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-cp866-general-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-cp932-binary+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-cp932-japanese-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-dec8-binary+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-dec8-swedish-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-eucjpms-binary+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-eucjpms-japanese-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-euckr-binary+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-euckr-korean-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-gb2312-binary+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-gb2312-chinese-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-gbk-binary+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-gbk-chinese-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-geostd8-binary+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-geostd8-general-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-greek-binary+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-greek-general-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-hebrew-binary+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-hebrew-general-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-hp8-binary+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-hp8-english-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-keybcs2-binary+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-keybcs2-general-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-koi8r-binary+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-koi8r-general-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-koi8u-binary+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-koi8u-general-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-latin1-binary+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-latin1-danish-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-latin1-general-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-latin1-general-cs+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-latin1-german1-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-latin1-german2-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-latin1-spanish-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-latin1-swedish-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-latin2-binary+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-latin2-croatian-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-latin2-czech-cs+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-latin2-general-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-latin2-hungarian-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-latin5-binary+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-latin5-turkish-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-latin7-binary+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-latin7-estonian-cs+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-latin7-general-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-latin7-general-cs+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-macce-binary+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-macce-general-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-macroman-binary+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-macroman-general-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-sjis-binary+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-sjis-japanese-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-swe7-binary+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-swe7-swedish-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-tis620-binary+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-tis620-thai-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-ucs2-binary+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-ucs2-croatian-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-ucs2-czech-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-ucs2-danish-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-ucs2-esperanto-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-ucs2-estonian-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-ucs2-general-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-ucs2-general-mysql500-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-ucs2-german2-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-ucs2-hungarian-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-ucs2-icelandic-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-ucs2-latvian-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-ucs2-lithuanian-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-ucs2-persian-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-ucs2-polish-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-ucs2-roman-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-ucs2-romanian-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-ucs2-sinhala-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-ucs2-slovak-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-ucs2-slovenian-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-ucs2-spanish-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-ucs2-spanish2-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-ucs2-swedish-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-ucs2-turkish-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-ucs2-unicode-520-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-ucs2-unicode-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-ucs2-vietnamese-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-ujis-binary+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-ujis-japanese-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf16-binary+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf16-croatian-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf16-czech-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf16-danish-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf16-esperanto-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf16-estonian-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf16-general-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf16-german2-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf16-hungarian-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf16-icelandic-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf16-latvian-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf16-lithuanian-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf16-persian-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf16-polish-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf16-roman-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf16-romanian-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf16-sinhala-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf16-slovak-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf16-slovenian-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf16-spanish-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf16-spanish2-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf16-swedish-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf16-turkish-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf16-unicode-520-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf16-unicode-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf16-vietnamese-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf16le-binary+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf16le-general-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf32-binary+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf32-croatian-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf32-czech-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf32-danish-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf32-esperanto-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf32-estonian-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf32-general-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf32-german2-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf32-hungarian-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf32-icelandic-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf32-latvian-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf32-lithuanian-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf32-persian-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf32-polish-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf32-roman-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf32-romanian-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf32-sinhala-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf32-slovak-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf32-slovenian-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf32-spanish-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf32-spanish2-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf32-swedish-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf32-turkish-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf32-unicode-520-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf32-unicode-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf32-vietnamese-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf8-binary+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf8-croatian-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf8-czech-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf8-danish-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf8-esperanto-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf8-estonian-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf8-general-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf8-general-mysql500-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf8-german2-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf8-hungarian-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf8-icelandic-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf8-latvian-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf8-lithuanian-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf8-persian-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf8-polish-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf8-roman-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf8-romanian-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf8-sinhala-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf8-slovak-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf8-slovenian-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf8-spanish-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf8-spanish2-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf8-swedish-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf8-tolower-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf8-turkish-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf8-unicode-520-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf8-unicode-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf8-vietnamese-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf8mb3-general-cs+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf8mb4-0900-ai-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf8mb4-binary+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf8mb4-croatian-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf8mb4-czech-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf8mb4-danish-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf8mb4-esperanto-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf8mb4-estonian-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf8mb4-general-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf8mb4-german2-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf8mb4-hungarian-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf8mb4-icelandic-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf8mb4-latvian-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf8mb4-lithuanian-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf8mb4-persian-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf8mb4-polish-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf8mb4-roman-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf8mb4-romanian-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf8mb4-sinhala-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf8mb4-slovak-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf8mb4-slovenian-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf8mb4-spanish-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf8mb4-spanish2-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf8mb4-swedish-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf8mb4-turkish-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf8mb4-unicode-520-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf8mb4-unicode-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-utf8mb4-vietnamese-ci+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-cs-coll-win1251+
Package

qmynd-impl.

Source

charsets.lisp.

Constant: +mysql-flag-column-binary+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-flag-column-blob+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-flag-column-multiple-key+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-flag-column-non-nullable+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-flag-column-primary-key+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-flag-column-unique-key+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-flag-column-unsigned+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-flag-column-zero-fill+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-minimum-compression-length+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-refresh-grant+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-refresh-hosts+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-refresh-log+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-refresh-master+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-refresh-slave+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-refresh-status+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-refresh-tables+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-refresh-threads+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-response-end-of-file+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-response-error+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-response-ok+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-shutdown-default+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-shutdown-kill-connection+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-shutdown-kill-query+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-shutdown-wait-all-buffers+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-shutdown-wait-connections+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-shutdown-wait-critical-buffers+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-shutdown-wait-transactions+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-shutdown-wait-updates+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-type-bit+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-type-blob+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-type-date+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-type-datetime+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-type-decimal+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-type-double+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-type-enum+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-type-float+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-type-geometry+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-type-int24+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-type-long+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-type-long-blob+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-type-longlong+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-type-medium-blob+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-type-newdate+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-type-newdecimal+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-type-null+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-type-set+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-type-short+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-type-string+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-type-time+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-type-timestamp+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-type-tiny+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-type-tiny-blob+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-type-var-string+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-type-varchar+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +mysql-type-year+
Package

qmynd-impl.

Source

constants.lisp.

Constant: +seconds-per-minute+
Package

qmynd-impl.

Source

constants.lisp.


6.2.2 Special variables

Special Variable: *max-allowed-packets*

Client side implementation of max_allowed_packets.

Package

qmynd-impl.

Source

wire-packet.lisp.

Special Variable: +optimize-default+

Compiler optimization settings for safe, debuggable code.

Package

qmynd-impl.

Source

utilities.lisp.

Special Variable: +optimize-fast-unsafe+

Compiler optimization settings for fast, unsafe, hard-to-debug code.

Package

qmynd-impl.

Source

utilities.lisp.


6.2.3 Macros

Macro: i* (&rest fixnums)
Package

qmynd-impl.

Source

utilities.lisp.

Macro: i+ (&rest fixnums)
Package

qmynd-impl.

Source

utilities.lisp.

Macro: i- (number &rest fixnums)
Package

qmynd-impl.

Source

utilities.lisp.

Macro: i< (&rest fixnums)
Package

qmynd-impl.

Source

utilities.lisp.

Macro: i<= (&rest fixnums)
Package

qmynd-impl.

Source

utilities.lisp.

Macro: i= (&rest fixnums)
Package

qmynd-impl.

Source

utilities.lisp.

Macro: i> (&rest fixnums)
Package

qmynd-impl.

Source

utilities.lisp.

Macro: i>= (&rest fixnums)
Package

qmynd-impl.

Source

utilities.lisp.

Macro: iash (value count)
Package

qmynd-impl.

Source

utilities.lisp.

Macro: idecf (place &optional delta)
Package

qmynd-impl.

Source

utilities.lisp.

Macro: iincf (place &optional delta)
Package

qmynd-impl.

Source

utilities.lisp.

Macro: ildb (bytespec value)
Package

qmynd-impl.

Source

utilities.lisp.

Macro: ilogand (&rest fixnums)
Package

qmynd-impl.

Source

utilities.lisp.

Macro: ilogior (&rest fixnums)
Package

qmynd-impl.

Source

utilities.lisp.

Macro: with-gensyms ((&rest bindings) &body body)
Package

qmynd-impl.

Source

utilities.lisp.

Macro: with-prefixed-accessors (names (prefix object) &body body)
Package

qmynd-impl.

Source

utilities.lisp.


6.2.4 Compiler macros

Compiler Macro: curry (function &rest args)
Package

qmynd-impl.

Source

utilities.lisp.

Compiler Macro: read-fixed-length-integer (length stream &rest keys)
Package

qmynd-impl.

Source

basic-types.lisp.


6.2.5 Ordinary functions

Function: %denominator-divisible-by-2-or-5-only (x)

Helper function used in the definition of type DECIMAL-NUMBER.

Return T if the denominator of x has only 2 and/or 5 as factors, otherwise return NIL.

Package

qmynd-impl.

Source

utilities.lisp.

Function: %read-3-octets (stream)

Internal for wire protocol use only.

Package

qmynd-impl.

Source

wire-packet.lisp.

Reader: auth-switch-request-packet-auth-plugin-data (instance)
Writer: (setf auth-switch-request-packet-auth-plugin-data) (instance)
Package

qmynd-impl.

Source

handshake.lisp.

Target Slot

auth-plugin-data.

Function: auth-switch-request-packet-p (object)
Package

qmynd-impl.

Source

handshake.lisp.

Reader: auth-switch-request-packet-plugin-name (instance)
Writer: (setf auth-switch-request-packet-plugin-name) (instance)
Package

qmynd-impl.

Source

handshake.lisp.

Target Slot

plugin-name.

Reader: auth-switch-request-packet-tag (instance)
Writer: (setf auth-switch-request-packet-tag) (instance)
Package

qmynd-impl.

Source

handshake.lisp.

Target Slot

tag.

Reader: column-definition-v41-packet-catalog (instance)
Writer: (setf column-definition-v41-packet-catalog) (instance)
Package

qmynd-impl.

Source

response-result-set.lisp.

Target Slot

catalog.

Reader: column-definition-v41-packet-column-length (instance)
Writer: (setf column-definition-v41-packet-column-length) (instance)
Package

qmynd-impl.

Source

response-result-set.lisp.

Target Slot

column-length.

Reader: column-definition-v41-packet-cs-coll (instance)
Writer: (setf column-definition-v41-packet-cs-coll) (instance)
Package

qmynd-impl.

Source

response-result-set.lisp.

Target Slot

cs-coll.

Reader: column-definition-v41-packet-decimals (instance)
Writer: (setf column-definition-v41-packet-decimals) (instance)
Package

qmynd-impl.

Source

response-result-set.lisp.

Target Slot

decimals.

Reader: column-definition-v41-packet-default-value (instance)
Writer: (setf column-definition-v41-packet-default-value) (instance)
Package

qmynd-impl.

Source

response-result-set.lisp.

Target Slot

default-value.

Reader: column-definition-v41-packet-flags (instance)
Writer: (setf column-definition-v41-packet-flags) (instance)
Package

qmynd-impl.

Source

response-result-set.lisp.

Target Slot

flags.

Reader: column-definition-v41-packet-name (instance)
Writer: (setf column-definition-v41-packet-name) (instance)
Package

qmynd-impl.

Source

response-result-set.lisp.

Target Slot

name.

Reader: column-definition-v41-packet-org-name (instance)
Writer: (setf column-definition-v41-packet-org-name) (instance)
Package

qmynd-impl.

Source

response-result-set.lisp.

Target Slot

org-name.

Reader: column-definition-v41-packet-org-table (instance)
Writer: (setf column-definition-v41-packet-org-table) (instance)
Package

qmynd-impl.

Source

response-result-set.lisp.

Target Slot

org-table.

Function: column-definition-v41-packet-p (object)
Package

qmynd-impl.

Source

response-result-set.lisp.

Reader: column-definition-v41-packet-schema (instance)
Writer: (setf column-definition-v41-packet-schema) (instance)
Package

qmynd-impl.

Source

response-result-set.lisp.

Target Slot

schema.

Reader: column-definition-v41-packet-table (instance)
Writer: (setf column-definition-v41-packet-table) (instance)
Package

qmynd-impl.

Source

response-result-set.lisp.

Target Slot

table.

Reader: column-definition-v41-packet-type (instance)
Writer: (setf column-definition-v41-packet-type) (instance)
Package

qmynd-impl.

Source

response-result-set.lisp.

Target Slot

type.

Reader: command-statement-prepare-ok-packet-num-columns (instance)
Writer: (setf command-statement-prepare-ok-packet-num-columns) (instance)
Package

qmynd-impl.

Source

prepared-statement.lisp.

Target Slot

num-columns.

Reader: command-statement-prepare-ok-packet-num-params (instance)
Writer: (setf command-statement-prepare-ok-packet-num-params) (instance)
Package

qmynd-impl.

Source

prepared-statement.lisp.

Target Slot

num-params.

Function: command-statement-prepare-ok-packet-p (object)
Package

qmynd-impl.

Source

prepared-statement.lisp.

Reader: command-statement-prepare-ok-packet-statement-id (instance)
Writer: (setf command-statement-prepare-ok-packet-statement-id) (instance)
Package

qmynd-impl.

Source

prepared-statement.lisp.

Target Slot

statement-id.

Reader: command-statement-prepare-ok-packet-warning-count (instance)
Writer: (setf command-statement-prepare-ok-packet-warning-count) (instance)
Package

qmynd-impl.

Source

prepared-statement.lisp.

Target Slot

warning-count.

Function: concatenate-vectors (length vectors)

Given a list of VECTORS containing LENGTH octets in total, return a single vector containing the same octets in the same order.

Package

qmynd-impl.

Source

wire-packet.lisp.

Function: copy-auth-switch-request-packet (instance)
Package

qmynd-impl.

Source

handshake.lisp.

Function: copy-column-definition-v41-packet (instance)
Package

qmynd-impl.

Source

response-result-set.lisp.

Function: copy-command-statement-prepare-ok-packet (instance)
Package

qmynd-impl.

Source

prepared-statement.lisp.

Function: copy-initial-handshake-v10-packet (instance)
Package

qmynd-impl.

Source

handshake.lisp.

Function: copy-my-packet-stream (instance)
Package

qmynd-impl.

Source

wire-packet.lisp.

Function: copy-mysql-rand-st (instance)
Package

qmynd-impl.

Source

authentication.lisp.

Function: copy-old-auth-switch-request-packet (instance)
Package

qmynd-impl.

Source

handshake.lisp.

Function: copy-response-end-of-file-packet (instance)
Package

qmynd-impl.

Source

response-packets.lisp.

Function: copy-response-error-no-sql-state-packet (instance)
Package

qmynd-impl.

Source

response-packets.lisp.

Function: copy-response-error-packet (instance)
Package

qmynd-impl.

Source

response-packets.lisp.

Function: copy-response-ok-packet (instance)
Package

qmynd-impl.

Source

response-packets.lisp.

Function: curry (function &rest args)

Returns a function that applies ’function’ to ’args’, plus any additional arguments given at the call site.

Package

qmynd-impl.

Source

utilities.lisp.

Function: decode-octets-to-string (column-definition octets &optional encoding)

Decode the given vector of OCTETS into an internal Common Lisp string, given a known encoding for it. Provide a couple of restarts in case the decoding fails:

- use-nil decode octets as a nil value
- use-empty-string decode octets as an empty string ("")
- use-value decode octets as any given value.

Package

qmynd-impl.

Source

response-result-set.lisp.

Function: double-float-bits (x)
Package

qmynd-impl.

Source

utilities.lisp.

Function: fill-input-buffer (stream)

Allocates a new input buffer stream from the results of parsing a new compressed packet off of the wrapped stream. Requires that the existing input buffer, if any, be empty.

Package

qmynd-impl.

Source

compressed-protocol.lisp.

Function: fintern (format-string &rest format-args)

Interns a new symbol in the current package.

Package

qmynd-impl.

Source

utilities.lisp.

Function: have-compression ()
Package

qmynd-impl.

Source

feature-detection.lisp.

Function: have-ssl ()
Package

qmynd-impl.

Source

feature-detection.lisp.

Reader: initial-handshake-v10-packet-auth-data (instance)
Writer: (setf initial-handshake-v10-packet-auth-data) (instance)
Package

qmynd-impl.

Source

handshake.lisp.

Target Slot

auth-data.

Reader: initial-handshake-v10-packet-auth-plugin (instance)
Writer: (setf initial-handshake-v10-packet-auth-plugin) (instance)
Package

qmynd-impl.

Source

handshake.lisp.

Target Slot

auth-plugin.

Reader: initial-handshake-v10-packet-capability-flags (instance)
Writer: (setf initial-handshake-v10-packet-capability-flags) (instance)
Package

qmynd-impl.

Source

handshake.lisp.

Target Slot

capability-flags.

Reader: initial-handshake-v10-packet-character-set (instance)
Writer: (setf initial-handshake-v10-packet-character-set) (instance)
Package

qmynd-impl.

Source

handshake.lisp.

Target Slot

character-set.

Reader: initial-handshake-v10-packet-connection-id (instance)
Writer: (setf initial-handshake-v10-packet-connection-id) (instance)
Package

qmynd-impl.

Source

handshake.lisp.

Target Slot

connection-id.

Function: initial-handshake-v10-packet-p (object)
Package

qmynd-impl.

Source

handshake.lisp.

Reader: initial-handshake-v10-packet-server-version (instance)
Writer: (setf initial-handshake-v10-packet-server-version) (instance)
Package

qmynd-impl.

Source

handshake.lisp.

Target Slot

server-version.

Reader: initial-handshake-v10-packet-status-flags (instance)
Writer: (setf initial-handshake-v10-packet-status-flags) (instance)
Package

qmynd-impl.

Source

handshake.lisp.

Target Slot

status-flags.

Function: keywordify (x)

Given a symbol designator ’x’, return a keyword whose name is ’x’. If ’x’ is nil, this returns nil.

Package

qmynd-impl.

Source

utilities.lisp.

Function: kintern (format-string &rest format-args)

Interns a new symbol in the keyword package.

Package

qmynd-impl.

Source

utilities.lisp.

Function: make-auth-switch-request-packet (&key tag plugin-name auth-plugin-data)
Package

qmynd-impl.

Source

handshake.lisp.

Function: make-column-definition-v41-packet (&key catalog schema table org-table name org-name cs-coll column-length type flags decimals default-value)
Package

qmynd-impl.

Source

response-result-set.lisp.

Function: make-command-statement-prepare-ok-packet (&key statement-id num-columns num-params warning-count)
Package

qmynd-impl.

Source

prepared-statement.lisp.

Function: make-double-float (low high)
Package

qmynd-impl.

Source

utilities.lisp.

Function: make-initial-handshake-v10-packet (&key server-version connection-id auth-data capability-flags character-set status-flags auth-plugin)
Package

qmynd-impl.

Source

handshake.lisp.

Function: make-lisp-symbol (string)

Intern a string of the ’package:string’ and return the symbol.

Package

qmynd-impl.

Source

utilities.lisp.

Function: make-my-packet-stream (&key source payload seq-id len pos)
Package

qmynd-impl.

Source

wire-packet.lisp.

Function: make-mysql-rand-st (&key max-value max-value-dbl seed1 seed2)
Package

qmynd-impl.

Source

authentication.lisp.

Function: make-old-auth-switch-request-packet (&key tag)
Package

qmynd-impl.

Source

handshake.lisp.

Function: make-response-end-of-file-packet (&key warning-count status-flags)
Package

qmynd-impl.

Source

response-packets.lisp.

Function: make-response-error-no-sql-state-packet (&key error-code error-message)
Package

qmynd-impl.

Source

response-packets.lisp.

Function: make-response-error-packet (&key error-code sql-state error-message)
Package

qmynd-impl.

Source

response-packets.lisp.

Function: make-response-ok-packet (&key affected-rows last-insert-id status-flags warnings info)
Package

qmynd-impl.

Source

response-packets.lisp.

Function: make-single-float (bits)
Package

qmynd-impl.

Source

utilities.lisp.

Function: map-resultset-rows (fn column-count column-definitions &key as-text result-type)

Call the FN function with a single row from the result-set at a time.

When RESULT-TYPE is list, the row is a list, when RESULT-TYPE is vector, the row passed to the FN function is a vector.

Package

qmynd-impl.

Source

response-result-set.lisp.

Function: maybe-read-next-chunk (stream &optional eof-error-p eof-value)

Check if we are at the end of the packet, or if we need to read from the next chunk from the network within the same "logical" packet.

Package

qmynd-impl.

Source

wire-packet.lisp.

Reader: my-len (instance)
Writer: (setf my-len) (instance)
Package

qmynd-impl.

Source

wire-packet.lisp.

Target Slot

len.

Function: my-packet-stream-p (object)
Package

qmynd-impl.

Source

wire-packet.lisp.

Reader: my-payload (instance)
Writer: (setf my-payload) (instance)
Package

qmynd-impl.

Source

wire-packet.lisp.

Target Slot

payload.

Reader: my-pos (instance)
Writer: (setf my-pos) (instance)
Package

qmynd-impl.

Source

wire-packet.lisp.

Target Slot

pos.

Function: my-rnd (rand-st)
Package

qmynd-impl.

Source

authentication.lisp.

Reader: my-seq-id (instance)
Writer: (setf my-seq-id) (instance)
Package

qmynd-impl.

Source

wire-packet.lisp.

Target Slot

seq-id.

Reader: my-source (instance)
Writer: (setf my-source) (instance)
Package

qmynd-impl.

Source

wire-packet.lisp.

Target Slot

source.

Function: mysql-add-required-capability (cap-bits)
Package

qmynd-impl.

Source

connection.lisp.

Function: mysql-capabilities-supported ()

Returns the full set of capabilities supported by this client library.

Package

qmynd-impl.

Source

constants.lisp.

Function: mysql-connect-do-handshake (connection username password database &key client-found-rows compress ssl ssl-verify)

Perform the MySQL Initial Handshake with CONNECTION.

Package

qmynd-impl.

Source

handshake.lisp.

Function: mysql-cs-coll-to-character-encoding (cs-coll)

Maps a MySQL Character Set / Collation identifier to an encoding.

Package

qmynd-impl.

Source

misc.lisp.

Function: mysql-old-password-auth-response (password auth-data)

Scramble password hash with first 8 bytes of auth-data.

Package

qmynd-impl.

Source

authentication.lisp.

Function: mysql-old-random-init (seed1 seed2)
Package

qmynd-impl.

Source

authentication.lisp.

Reader: mysql-rand-st-max-value (instance)
Writer: (setf mysql-rand-st-max-value) (instance)
Package

qmynd-impl.

Source

authentication.lisp.

Target Slot

max-value.

Reader: mysql-rand-st-max-value-dbl (instance)
Writer: (setf mysql-rand-st-max-value-dbl) (instance)
Package

qmynd-impl.

Source

authentication.lisp.

Target Slot

max-value-dbl.

Function: mysql-rand-st-p (object)
Package

qmynd-impl.

Source

authentication.lisp.

Reader: mysql-rand-st-seed1 (instance)
Writer: (setf mysql-rand-st-seed1) (instance)
Package

qmynd-impl.

Source

authentication.lisp.

Target Slot

seed1.

Reader: mysql-rand-st-seed2 (instance)
Writer: (setf mysql-rand-st-seed2) (instance)
Package

qmynd-impl.

Source

authentication.lisp.

Target Slot

seed2.

Function: mysql-weak-hash-password (password)
Package

qmynd-impl.

Source

authentication.lisp.

Function: old-auth-switch-request-packet-p (object)
Package

qmynd-impl.

Source

handshake.lisp.

Reader: old-auth-switch-request-packet-tag (instance)
Writer: (setf old-auth-switch-request-packet-tag) (instance)
Package

qmynd-impl.

Source

handshake.lisp.

Target Slot

tag.

Function: parse-auth-switch-request (stream0)
Package

qmynd-impl.

Source

handshake.lisp.

Function: parse-column-definition-v41 (stream0)
Package

qmynd-impl.

Source

response-result-set.lisp.

Function: parse-command-statement-prepare-ok (stream0)
Package

qmynd-impl.

Source

prepared-statement.lisp.

Function: parse-date-time-string (str)

Parses a date-time-string in one of the following forms and returns a MYSQL-DATE-TIME object. "" – All fields = 0
"YYYY-MM-DD" – All time fields = 0
"YYYY-MM-DD hh:mm:ss" – Microseconds = 0
"YYYY-MM-DD hh:mm:ss.µµµµµµ"

Package

qmynd-impl.

Source

date-time.lisp.

Function: parse-decimal (str)
Package

qmynd-impl.

Source

utilities.lisp.

Function: parse-initial-handshake-v10 (stream0)
Package

qmynd-impl.

Source

handshake.lisp.

Function: parse-old-auth-switch-request (stream0)
Package

qmynd-impl.

Source

handshake.lisp.

Function: parse-response-end-of-file (stream0)
Package

qmynd-impl.

Source

response-packets.lisp.

Function: parse-response-error (stream0)
Package

qmynd-impl.

Source

response-packets.lisp.

Function: parse-response-error-no-sql-state (stream0)
Package

qmynd-impl.

Source

response-packets.lisp.

Function: parse-response-ok (stream0)
Package

qmynd-impl.

Source

response-packets.lisp.

Function: parse-resultset-row-as-list (column-count column-definitions)
Package

qmynd-impl.

Source

response-result-set.lisp.

Function: parse-resultset-row-as-text-list (column-count column-definitions)
Package

qmynd-impl.

Source

response-result-set.lisp.

Function: parse-resultset-row-as-text-vector (column-count column-definitions)
Package

qmynd-impl.

Source

response-result-set.lisp.

Function: parse-resultset-row-as-vector (column-count column-definitions)
Package

qmynd-impl.

Source

response-result-set.lisp.

Function: parse-text-protocol-result-column-as-text (octets column-definition)

Refrain from parsing data into lisp types, some application will only use the text form anyway

Package

qmynd-impl.

Source

response-result-set.lisp.

Function: parse-time-interval-string (str)

Parses the MySQL Text Protocol represetation of a time interval. /(-)?(h+):(mm):(ss).(µµµµµµ)/

Package

qmynd-impl.

Source

date-time.lisp.

Function: peek-first-octet (stream)

Get the first octet in this stream’s chunk.

Package

qmynd-impl.

Source

wire-packet.lisp.

Function: prepare-next-chunk (my-stream)

Prepare reading from a new packet from our source stream.

Package

qmynd-impl.

Source

wire-packet.lisp.

Function: read-1-octet-integer (stream &key signed)