Search Results
https://dev.mysql.com/doc/refman/8.4/en/column-count-limit.html
Storage requirements for some data types depend on factors such as storage engine, storage format, and character set. mysql> CREATE TABLE t (a VARCHAR(10000), b VARCHAR(10000), c VARCHAR(10000), d VARCHAR(10000), e VARCHAR(10000), f VARCHAR(10000), ... This section describes limits on the number of columns in tables and the size of individual ...
https://dev.mysql.com/doc/internals/en/mysys-functions.html
Functions in mysys: (For flags see my_sys.h) int my_copy _A((const char *from, const char *to, myf MyFlags)); Copy file from from to to. int my_rename _A((const char *from, const char *to, myf MyFlags)); Rename file from from to to. int my_redel ...
https://dev.mysql.com/doc/refman/8.4/en/cast-functions.html
NCHAR[(N)] Like CHAR, but produces a string with the national character set. A common use for BINARY is to force a character string comparison to be done byte by byte using numeric byte values rather than character by character. For information ...
MySQL 8.4 Reference Manual :: A.11 MySQL 8.4 FAQ: MySQL Chinese, Japanese, and Korean Character Sets
https://dev.mysql.com/doc/refman/8.4/en/faqs-cjk.html
mysql> SELECT ucs2,HEX(ucs2),gb2312,HEX(gb2312) FROM ch; +-------+--------------+--------+-------------+ | ucs2 | HEX(ucs2) | gb2312 | HEX(gb2312) | +-------+--------------+--------+-------------+ | A汌B | 00416C4C0042 | A?B | 413F42 | ...What ...
https://dev.mysql.com/doc/ndbapi/en/ndb-examples-simple-dual.html
This example demonstrates synchronous transactions and connecting to multiple clusters in a single NDB API application. The source code for this program may be found in the NDB Cluster source tree, in the file ...
https://dev.mysql.com/doc/mysqld-version-reference/en/options-variables.html
The following table shows all the options and variables available in MySQL Server. Intr: The version or versions in which the item was introduced. Depr: The version or versions in which the item was deprecated. Removed: The version or versions in ...
https://dev.mysql.com/doc/c-api/8.4/en/mysql-options.html
MYSQL_DEFAULT_AUTH (argument type: char *) The name of the authentication plugin to use. MYSQL_INIT_COMMAND (argument type: char *) SQL statement to execute when connecting to the MySQL server. MYSQL_OPT_BIND (argument: char *) The network interface ... int mysql_options(MYSQL *mysql, enum mysql_option option, const void *arg) Description Can be used to set extra connect options and affect behavior for a ...
https://dev.mysql.com/doc/ndbapi/en/ndbapi-examples-array-adapter.html
This program inserts CHAR, VARCHAR, and BINARY column data into a table by constructing aRef objects using array adapters of the type defined in common/array_adapter.hpp (see Section 2.5.15, “Common Files for NDB API Array Examples”). static ...
https://dev.mysql.com/doc/extending-mysql/8.4/en/adding-loadable-function.html
If you want to use a loadable function that needs to access symbols from mysqld (for example, the metaphone function in sql/udf_example.cc uses default_charset_info), you must link the program with -rdynamic (see man dlopen). SQL Type C++ Type ...
https://dev.mysql.com/doc/ndbapi/en/ndb-examples-blobs-ndbrecord.html
*/ #define CHUNK_SIZE 100 int chunk; char buffer[CHUNK_SIZE]; for (chunk= (length-1)/CHUNK_SIZE; chunk >=0; chunk--) { Uint64 pos= chunk*CHUNK_SIZE; Uint32 chunk_length= CHUNK_SIZE; if (pos + chunk_length > length) chunk_length= length - pos; /* ...