https://dev.mysql.com/myisamchk-table-info.html
varchar prefix 0 1024 87 80 varchar 0 3 168 3 multip. uint24 NULL 0 1024 Field Start Length Nullpos Nullbit Type 1 1 1 2 2 4 no zeros 3 6 81 varchar 4 87 81 varchar 5 168 3 1 1 no zeros 6 171 3 1 2 no zeros Explanations for the types of information ... To obtain a description of a MyISAM table or statistics about it, use the commands shown ...
https://dev.mysql.com/mysql-affected-rows.html
char *stmt = "UPDATE products SET cost=cost*1.25 WHERE group=10"; mysql_query(&mysql,stmt); printf("%ld products updated", (long) mysql_affected_rows(&mysql)); . uint64_t mysql_affected_rows(MYSQL *mysql) mysql_affected_rows() may be called ...
https://dev.mysql.com/mysql-character-set-name.html
const char *mysql_character_set_name(MYSQL *mysql) Returns the default character set name for the current connection.
https://dev.mysql.com/mysql-client-find-plugin.html
struct st_mysql_client_plugin *mysql_client_find_plugin(MYSQL *mysql, const char *name, int type) Returns a pointer to a loaded plugin, loading the plugin first if necessary. An error occurs if the type is invalid or the plugin cannot be found or ...
https://dev.mysql.com/mysql-cluster-disk-data-storage-requirements.html
For example, converting a CHAR(4) column from memory-based to disk-based format increases the amount of DataMemory used per row from 4 to 8 bytes. The following items apply to Disk Data storage requirements: Variable-length columns of Disk Data ...
https://dev.mysql.com/mysql-cluster-limitations-database-objects.html
For memory-based columns, you can work around this limitation by using a variable-width column type such as VARCHAR or defining the column as COLUMN_FORMAT=DYNAMIC; this does not work with columns stored on disk. Some database objects such as ...
https://dev.mysql.com/mysql-cluster-programs-ndb-select-all.html
--delimiter=character, -D character Causes the character to be used as a column delimiter. ndb_select_all prints all rows from an NDB table to stdout. Usage ndb_select_all -c connection_string tbl_name -d db_name [> file_name] The following table ...
https://dev.mysql.com/mysql-create-db.html
int mysql_create_db(MYSQL *mysql, const char *db) Creates the database named by the db parameter. CR_SERVER_LOST The connection to the server was lost during the query.
https://dev.mysql.com/mysql-debug.html
void mysql_debug(const char *debug) Does a DBUG_PUSH with the given string. To use this function, you must compile the client library to support debugging. The call shown here causes the client library to generate a trace file in /tmp/client.trace ...
https://dev.mysql.com/mysql-drop-db.html
int mysql_drop_db(MYSQL *mysql, const char *db) Drops the database named by the db parameter. CR_SERVER_LOST The connection to the server was lost during the query. if(mysql_drop_db(&mysql, "my_database")) fprintf(stderr, "Failed to drop the ...