plain/ZPlainMySqlConstants.pas File Reference

Go to the source code of this file.

Classes

struct  length
struct  LIST
struct  MYSQL_TIME

Typedefs

typedef record MYSQL_BIND2
typedef Cardinal MYSQL_FIELD_OFFSET
typedef pointer MYSQL_RES
typedef LISTPLIST
typedef MYSQL_BIND2PMYSQL_BIND2
typedef MYSQL_RESPMYSQL_RES
typedef Pointer PZMysqlBindArray
typedef Pointer PZMySQLConnect
typedef Pointer PZMySQLField
typedef Pointer PZMySqlPrepStmt
typedef Pointer PZMySQLResult
typedef Pointer PZMySQLRow
typedef Pointer PZMySQLRowOffset

Enumerations

enum  TMYSQL_CLIENT_OPTIONS {
  CLIENT_LONG_PASSWORD, CLIENT_FOUND_ROWS, CLIENT_LONG_FLAG, CLIENT_CONNECT_WITH_DB,
  CLIENT_NO_SCHEMA, CLIENT_COMPRESS, CLIENT_ODBC, CLIENT_LOCAL_FILES,
  CLIENT_IGNORE_SPACE, CLIENT_CHANGE_USER, CLIENT_INTERACTIVE, CLIENT_SSL,
  CLIENT_IGNORE_SIGPIPE, CLIENT_TRANSACTIONS, CLIENT_RESERVED, CLIENT_SECURE_CONNECTION,
  CLIENT_MULTI_STATEMENTS, CLIENT_MULTI_RESULTS, CLIENT_OPT_18, CLIENT_OPT_19,
  CLIENT_OPT_20, CLIENT_OPT_21, CLIENT_OPT_22, CLIENT_OPT_23,
  CLIENT_OPT_24, CLIENT_OPT_25, CLIENT_OPT_26, CLIENT_OPT_27,
  CLIENT_OPT_28, CLIENT_OPT_29, CLIENT_OPT_30, CLIENT_REMEMBER_OPTIONS
}
enum  TMysqlFieldTypes {
  MYSQL_TYPE_DECIMAL, MYSQL_TYPE_TINY, MYSQL_TYPE_SHORT, MYSQL_TYPE_LONG,
  MYSQL_TYPE_FLOAT, MYSQL_TYPE_DOUBLE, MYSQL_TYPE_NULL, MYSQL_TYPE_TIMESTAMP,
  MYSQL_TYPE_LONGLONG, MYSQL_TYPE_INT24, MYSQL_TYPE_DATE, MYSQL_TYPE_TIME,
  MYSQL_TYPE_DATETIME, MYSQL_TYPE_YEAR, MYSQL_TYPE_NEWDATE, MYSQL_TYPE_VARCHAR,
  MYSQL_TYPE_BIT, MYSQL_TYPE_NEWDECIMAL, MYSQL_TYPE_ENUM, MYSQL_TYPE_SET,
  MYSQL_TYPE_TINY_BLOB, MYSQL_TYPE_MEDIUM_BLOB, MYSQL_TYPE_LONG_BLOB, MYSQL_TYPE_BLOB,
  MYSQL_TYPE_VAR_STRING, MYSQL_TYPE_STRING, MYSQL_TYPE_GEOMETRY
}
enum  TMySqlProtocolType {
  MYSQL_PROTOCOL_DEFAULT, MYSQL_PROTOCOL_TCP, MYSQL_PROTOCOL_SOCKET, MYSQL_PROTOCOL_PIPE,
  MYSQL_PROTOCOL_MEMORY
}
enum  TMysqlSetOption { MYSQL_OPTION_MULTI_STATEMENTS_ON, MYSQL_OPTION_MULTI_STATEMENTS_OFF }
enum  TMysqlShutdownLevel
enum  TMysqlStmtAttrType { STMT_ATTR_UPDATE_MAX_LENGTH, STMT_ATTR_CURSOR_TYPE, STMT_ATTR_PREFETCH_ROWS }
enum  TMysqlStmtState { MYSQL_STMT_PREPARE_DONE, MYSQL_STMT_EXECUTE_DONE, MYSQL_STMT_FETCH_DONE }

Variables

is_null __pad0__
error_value __pad10__
is_unsigned __pad11__
long_data_used __pad12__
is_null_value __pad13__
store_param_funct __pad14__
fetch_result __pad15__
skip_result __pad16__
buffer __pad1__
error __pad2__
buffer_type __pad3__
buffer_length __pad4__
row_ptr __pad5__
offset __pad6__
length_value __pad7__
param_number __pad8__
pack_length __pad9__
const AUTO_INCREMENT_FLAG = 512
const BINARY_FLAG = 128
const BINCMP_FLAG = $20000
const BLOB_FLAG = 16
PChar DEFAULT_PARAMS [2]
 EMBEDDED_DEFAULT_DATA_DIR
 end
const ENUM_FLAG = 256
const FIELD_IN_ADD_INDEX = $100000
const FIELD_IN_PART_FUNC_FLAG = $80000
const FIELD_IS_RENAMED = $200000
const FRM_VER = 6
const GET_FIXED_FIELDS_FLAG = $40000
const GROUP_FLAG = 32768
 KILL_CONNECTION
 KILL_QUERY
const LINUX2_DLL_LOCATION = "libmysqlclient.so"
const LINUX_DLL_LOCATION_EMBEDDED = "libmysqld.so"
const LOCAL_HOST = "localhost"
const MULTIPLE_KEY_FLAG = 8
const MYSQL_ERRMSG_SIZE = 512
const MYSQL_PORT = 3306
const MYSQL_SHUTDOWN_KILLABLE_CONNECT = 1
const MYSQL_SHUTDOWN_KILLABLE_LOCK_TABLE = 4
const MYSQL_SHUTDOWN_KILLABLE_TRANS = 2
const MYSQL_SHUTDOWN_KILLABLE_UPDATE = 8
const NAME_LEN = 64
const NET_READ_TIMEOUT = 30
const NET_TYPE_NAMEDPIPE = 2
const NET_TYPE_SOCKET = 1
const NET_TYPE_TCPIP = 0
const NET_WAIT_TIMEOUT = 28800
const NET_WRITE_TIMEOUT = 60
const NOT_NULL_FLAG = 1
const NUM_FLAG = 32768
const PART_KEY_FLAG = 16384
const PRI_KEY_FLAG = 2
const PROTOCOL_VERSION = 10
const REFRESH_DES_KEY_FILE = $40000
const REFRESH_FAST = 32768
const REFRESH_GRANT = 1
const REFRESH_HOSTS = 8
const REFRESH_LOG = 2
const REFRESH_MASTER = 128
const REFRESH_QUERY_CACHE = 65536
const REFRESH_QUERY_CACHE_FREE = $20000
const REFRESH_READ_LOCK = 16384
const REFRESH_SLAVE = 64
const REFRESH_STATUS = 16
const REFRESH_TABLES = 4
const REFRESH_THREADS = 32
const REFRESH_USER_RESOURCES = $80000
const SCRAMBLE_LENGTH = 20
const SERVER_ARGUMENTS_KEY_PREFIX = "ServerArgument"
PChar SERVER_GROUPS [2] = {"embedded"#0, "server"#0, nil}
const SERVER_MORE_RESULTS_EXISTS = 8
const SERVER_QUERY_NO_GOOD_INDEX_USED = 16
const SERVER_QUERY_NO_INDEX_USED = 32
const SERVER_STATUS_AUTOCOMMIT = 2
const SERVER_STATUS_DB_DROPPED = 256
const SERVER_STATUS_IN_TRANS = 1
const SERVER_STATUS_MORE_RESULTS = 4
const SET_FLAG = 2048
const SQLSTATE_LENGTH = 5
const STMT_FETCH_DATA_TRUNC = 101
const STMT_FETCH_ERROR = 1
const STMT_FETCH_NO_DATA = 100
const STMT_FETCH_OK = 0
const TIMESTAMP_FLAG = 1024
const UNIQUE_FLAG = 65536
const UNIQUE_KEY_FLAG = 4
const UNSIGNED_FLAG = 32
const WINDOWS2_DLL_LOCATION = "libmysql.dll"
const WINDOWS2_DLL_LOCATION_EMBEDDED = "libmysqld.dll"
const ZEROFILL_FLAG = 64


Typedef Documentation

typedef record MYSQL_BIND2

Definition at line 555 of file ZPlainMySqlConstants.pas.

typedef Cardinal MYSQL_FIELD_OFFSET

Definition at line 528 of file ZPlainMySqlConstants.pas.

typedef pointer MYSQL_RES

Definition at line 589 of file ZPlainMySqlConstants.pas.

typedef LIST* PLIST

Definition at line 514 of file ZPlainMySqlConstants.pas.

Definition at line 552 of file ZPlainMySqlConstants.pas.

Definition at line 590 of file ZPlainMySqlConstants.pas.

typedef Pointer PZMysqlBindArray

Definition at line 165 of file ZPlainMySqlConstants.pas.

typedef Pointer PZMySQLConnect

Definition at line 159 of file ZPlainMySqlConstants.pas.

typedef Pointer PZMySQLField

Definition at line 162 of file ZPlainMySqlConstants.pas.

typedef Pointer PZMySqlPrepStmt

Definition at line 164 of file ZPlainMySqlConstants.pas.

typedef Pointer PZMySQLResult

Definition at line 160 of file ZPlainMySqlConstants.pas.

typedef Pointer PZMySQLRow

Definition at line 161 of file ZPlainMySqlConstants.pas.

typedef Pointer PZMySQLRowOffset

Definition at line 163 of file ZPlainMySqlConstants.pas.


Enumeration Type Documentation

Enumerator:
CLIENT_LONG_PASSWORD 
CLIENT_FOUND_ROWS 
CLIENT_LONG_FLAG 
CLIENT_CONNECT_WITH_DB 
CLIENT_NO_SCHEMA 
CLIENT_COMPRESS 
CLIENT_ODBC 
CLIENT_LOCAL_FILES 
CLIENT_IGNORE_SPACE 
CLIENT_CHANGE_USER 
CLIENT_INTERACTIVE 
CLIENT_SSL 
CLIENT_IGNORE_SIGPIPE 
CLIENT_TRANSACTIONS 
CLIENT_RESERVED 
CLIENT_SECURE_CONNECTION 
CLIENT_MULTI_STATEMENTS 
CLIENT_MULTI_RESULTS 
CLIENT_OPT_18 
CLIENT_OPT_19 
CLIENT_OPT_20 
CLIENT_OPT_21 
CLIENT_OPT_22 
CLIENT_OPT_23 
CLIENT_OPT_24 
CLIENT_OPT_25 
CLIENT_OPT_26 
CLIENT_OPT_27 
CLIENT_OPT_28 
CLIENT_OPT_29 
CLIENT_OPT_30 
CLIENT_REMEMBER_OPTIONS 

Definition at line 301 of file ZPlainMySqlConstants.pas.

Enumerator:
MYSQL_TYPE_DECIMAL 
MYSQL_TYPE_TINY 
MYSQL_TYPE_SHORT 
MYSQL_TYPE_LONG 
MYSQL_TYPE_FLOAT 
MYSQL_TYPE_DOUBLE 
MYSQL_TYPE_NULL 
MYSQL_TYPE_TIMESTAMP 
MYSQL_TYPE_LONGLONG 
MYSQL_TYPE_INT24 
MYSQL_TYPE_DATE 
MYSQL_TYPE_TIME 
MYSQL_TYPE_DATETIME 
MYSQL_TYPE_YEAR 
MYSQL_TYPE_NEWDATE 
MYSQL_TYPE_VARCHAR 
MYSQL_TYPE_BIT 
MYSQL_TYPE_NEWDECIMAL 
MYSQL_TYPE_ENUM 
MYSQL_TYPE_SET 
MYSQL_TYPE_TINY_BLOB 
MYSQL_TYPE_MEDIUM_BLOB 
MYSQL_TYPE_LONG_BLOB 
MYSQL_TYPE_BLOB 
MYSQL_TYPE_VAR_STRING 
MYSQL_TYPE_STRING 
MYSQL_TYPE_GEOMETRY 

Definition at line 201 of file ZPlainMySqlConstants.pas.

Enumerator:
MYSQL_PROTOCOL_DEFAULT 
MYSQL_PROTOCOL_TCP 
MYSQL_PROTOCOL_SOCKET 
MYSQL_PROTOCOL_PIPE 
MYSQL_PROTOCOL_MEMORY 

Definition at line 406 of file ZPlainMySqlConstants.pas.

Enumerator:
MYSQL_OPTION_MULTI_STATEMENTS_ON 
MYSQL_OPTION_MULTI_STATEMENTS_OFF 

Definition at line 249 of file ZPlainMySqlConstants.pas.

Definition at line 264 of file ZPlainMySqlConstants.pas.

Enumerator:
STMT_ATTR_UPDATE_MAX_LENGTH 
STMT_ATTR_CURSOR_TYPE 
STMT_ATTR_PREFETCH_ROWS 

Definition at line 256 of file ZPlainMySqlConstants.pas.

Enumerator:
MYSQL_STMT_PREPARE_DONE 
MYSQL_STMT_EXECUTE_DONE 
MYSQL_STMT_FETCH_DONE 

Definition at line 416 of file ZPlainMySqlConstants.pas.


Variable Documentation

is_null __pad0__

Definition at line 556 of file ZPlainMySqlConstants.pas.

error_value __pad10__

Definition at line 566 of file ZPlainMySqlConstants.pas.

is_unsigned __pad11__

Definition at line 567 of file ZPlainMySqlConstants.pas.

long_data_used __pad12__

Definition at line 568 of file ZPlainMySqlConstants.pas.

is_null_value __pad13__

Definition at line 569 of file ZPlainMySqlConstants.pas.

store_param_funct __pad14__

Definition at line 570 of file ZPlainMySqlConstants.pas.

fetch_result __pad15__

Definition at line 571 of file ZPlainMySqlConstants.pas.

skip_result __pad16__

Definition at line 572 of file ZPlainMySqlConstants.pas.

buffer __pad1__

Definition at line 557 of file ZPlainMySqlConstants.pas.

error __pad2__

Definition at line 558 of file ZPlainMySqlConstants.pas.

buffer_type __pad3__

Definition at line 559 of file ZPlainMySqlConstants.pas.

buffer_length __pad4__

Definition at line 560 of file ZPlainMySqlConstants.pas.

row_ptr __pad5__

Definition at line 561 of file ZPlainMySqlConstants.pas.

offset __pad6__

Definition at line 562 of file ZPlainMySqlConstants.pas.

length_value __pad7__

Definition at line 563 of file ZPlainMySqlConstants.pas.

param_number __pad8__

Definition at line 564 of file ZPlainMySqlConstants.pas.

pack_length __pad9__

Definition at line 565 of file ZPlainMySqlConstants.pas.

const AUTO_INCREMENT_FLAG = 512

Definition at line 100 of file ZPlainMySqlConstants.pas.

const BINARY_FLAG = 128

Definition at line 98 of file ZPlainMySqlConstants.pas.

const BINCMP_FLAG = $20000

Definition at line 107 of file ZPlainMySqlConstants.pas.

const BLOB_FLAG = 16

Definition at line 95 of file ZPlainMySqlConstants.pas.

PChar DEFAULT_PARAMS[2]

Initial value:

 {"not_used"#0,
                                            "--datadir="+EMBEDDED_DEFAULT_DATA_DIR+#0,
                                            "--set-variable=key_buffer_size=32M"#0}
[0..2]

Definition at line 605 of file ZPlainMySqlConstants.pas.

Initial value:

 #ifdef  WIN32

                               '.\data\'

Definition at line 594 of file ZPlainMySqlConstants.pas.

end

Definition at line 573 of file ZPlainMySqlConstants.pas.

const ENUM_FLAG = 256

Definition at line 99 of file ZPlainMySqlConstants.pas.

const FIELD_IN_ADD_INDEX = $100000

Definition at line 110 of file ZPlainMySqlConstants.pas.

const FIELD_IN_PART_FUNC_FLAG = $80000

Definition at line 109 of file ZPlainMySqlConstants.pas.

const FIELD_IS_RENAMED = $200000

Definition at line 111 of file ZPlainMySqlConstants.pas.

const FRM_VER = 6

Definition at line 88 of file ZPlainMySqlConstants.pas.

const GET_FIXED_FIELDS_FLAG = $40000

Definition at line 108 of file ZPlainMySqlConstants.pas.

const GROUP_FLAG = 32768

Definition at line 105 of file ZPlainMySqlConstants.pas.

Definition at line 290 of file ZPlainMySqlConstants.pas.

Definition at line 290 of file ZPlainMySqlConstants.pas.

const LINUX2_DLL_LOCATION = "libmysqlclient.so"

Definition at line 76 of file ZPlainMySqlConstants.pas.

const LINUX_DLL_LOCATION_EMBEDDED = "libmysqld.so"

Definition at line 77 of file ZPlainMySqlConstants.pas.

const LOCAL_HOST = "localhost"

Definition at line 85 of file ZPlainMySqlConstants.pas.

const MULTIPLE_KEY_FLAG = 8

Definition at line 94 of file ZPlainMySqlConstants.pas.

const MYSQL_ERRMSG_SIZE = 512

Definition at line 80 of file ZPlainMySqlConstants.pas.

const MYSQL_PORT = 3306

Definition at line 84 of file ZPlainMySqlConstants.pas.

Definition at line 148 of file ZPlainMySqlConstants.pas.

Definition at line 150 of file ZPlainMySqlConstants.pas.

Definition at line 149 of file ZPlainMySqlConstants.pas.

Definition at line 151 of file ZPlainMySqlConstants.pas.

const NAME_LEN = 64

Definition at line 86 of file ZPlainMySqlConstants.pas.

const NET_READ_TIMEOUT = 30

Definition at line 138 of file ZPlainMySqlConstants.pas.

const NET_TYPE_NAMEDPIPE = 2

Definition at line 145 of file ZPlainMySqlConstants.pas.

const NET_TYPE_SOCKET = 1

Definition at line 144 of file ZPlainMySqlConstants.pas.

const NET_TYPE_TCPIP = 0

Definition at line 143 of file ZPlainMySqlConstants.pas.

const NET_WAIT_TIMEOUT = 28800

Definition at line 140 of file ZPlainMySqlConstants.pas.

const NET_WRITE_TIMEOUT = 60

Definition at line 139 of file ZPlainMySqlConstants.pas.

const NOT_NULL_FLAG = 1

Definition at line 91 of file ZPlainMySqlConstants.pas.

const NUM_FLAG = 32768

Definition at line 103 of file ZPlainMySqlConstants.pas.

const PART_KEY_FLAG = 16384

Definition at line 104 of file ZPlainMySqlConstants.pas.

const PRI_KEY_FLAG = 2

Definition at line 92 of file ZPlainMySqlConstants.pas.

const PROTOCOL_VERSION = 10

Definition at line 87 of file ZPlainMySqlConstants.pas.

const REFRESH_DES_KEY_FILE = $40000

Definition at line 126 of file ZPlainMySqlConstants.pas.

const REFRESH_FAST = 32768

Definition at line 123 of file ZPlainMySqlConstants.pas.

const REFRESH_GRANT = 1

Definition at line 114 of file ZPlainMySqlConstants.pas.

const REFRESH_HOSTS = 8

Definition at line 117 of file ZPlainMySqlConstants.pas.

const REFRESH_LOG = 2

Definition at line 115 of file ZPlainMySqlConstants.pas.

const REFRESH_MASTER = 128

Definition at line 121 of file ZPlainMySqlConstants.pas.

const REFRESH_QUERY_CACHE = 65536

Definition at line 124 of file ZPlainMySqlConstants.pas.

const REFRESH_QUERY_CACHE_FREE = $20000

Definition at line 125 of file ZPlainMySqlConstants.pas.

const REFRESH_READ_LOCK = 16384

Definition at line 122 of file ZPlainMySqlConstants.pas.

const REFRESH_SLAVE = 64

Definition at line 120 of file ZPlainMySqlConstants.pas.

const REFRESH_STATUS = 16

Definition at line 118 of file ZPlainMySqlConstants.pas.

const REFRESH_TABLES = 4

Definition at line 116 of file ZPlainMySqlConstants.pas.

const REFRESH_THREADS = 32

Definition at line 119 of file ZPlainMySqlConstants.pas.

const REFRESH_USER_RESOURCES = $80000

Definition at line 127 of file ZPlainMySqlConstants.pas.

const SCRAMBLE_LENGTH = 20

Definition at line 82 of file ZPlainMySqlConstants.pas.

const SERVER_ARGUMENTS_KEY_PREFIX = "ServerArgument"

Definition at line 601 of file ZPlainMySqlConstants.pas.

PChar SERVER_GROUPS[2] = {"embedded"#0, "server"#0, nil}

[0..2]

Definition at line 602 of file ZPlainMySqlConstants.pas.

Definition at line 133 of file ZPlainMySqlConstants.pas.

Definition at line 134 of file ZPlainMySqlConstants.pas.

Definition at line 135 of file ZPlainMySqlConstants.pas.

Definition at line 131 of file ZPlainMySqlConstants.pas.

Definition at line 136 of file ZPlainMySqlConstants.pas.

Definition at line 130 of file ZPlainMySqlConstants.pas.

Definition at line 132 of file ZPlainMySqlConstants.pas.

const SET_FLAG = 2048

Definition at line 102 of file ZPlainMySqlConstants.pas.

const SQLSTATE_LENGTH = 5

Definition at line 81 of file ZPlainMySqlConstants.pas.

const STMT_FETCH_DATA_TRUNC = 101

Definition at line 157 of file ZPlainMySqlConstants.pas.

const STMT_FETCH_ERROR = 1

Definition at line 155 of file ZPlainMySqlConstants.pas.

const STMT_FETCH_NO_DATA = 100

Definition at line 156 of file ZPlainMySqlConstants.pas.

const STMT_FETCH_OK = 0

Definition at line 154 of file ZPlainMySqlConstants.pas.

const TIMESTAMP_FLAG = 1024

Definition at line 101 of file ZPlainMySqlConstants.pas.

const UNIQUE_FLAG = 65536

Definition at line 106 of file ZPlainMySqlConstants.pas.

const UNIQUE_KEY_FLAG = 4

Definition at line 93 of file ZPlainMySqlConstants.pas.

const UNSIGNED_FLAG = 32

Definition at line 96 of file ZPlainMySqlConstants.pas.

const WINDOWS2_DLL_LOCATION = "libmysql.dll"

Definition at line 72 of file ZPlainMySqlConstants.pas.

const WINDOWS2_DLL_LOCATION_EMBEDDED = "libmysqld.dll"

Definition at line 73 of file ZPlainMySqlConstants.pas.

const ZEROFILL_FLAG = 64

Definition at line 97 of file ZPlainMySqlConstants.pas.


Generated on Wed Dec 30 08:42:43 2009 for zeoslib by  doxygen 1.5.7.1