Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
b0ec03a0
Commit
b0ec03a0
authored
Apr 23, 2003
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor changes to PeterG's internals documentation per comments
from Monty.
parent
bd8bb28f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
131 additions
and
183 deletions
+131
-183
Docs/internals.texi
Docs/internals.texi
+131
-183
No files found.
Docs/internals.texi
View file @
b0ec03a0
...
@@ -2078,8 +2078,8 @@ right is @code{on}, and (b) remember that the first flag bit is the X bit.)
...
@@ -2078,8 +2078,8 @@ right is @code{on}, and (b) remember that the first flag bit is the X bit.)
There are complications -- the record header is more complex if there
There are complications -- the record header is more complex if there
are variable-length fields -- but the simple display shown in the
are variable-length fields -- but the simple display shown in the
example is exactly what you'd see if you
took a debugger and looked
example is exactly what you'd see if you
looked at the MySQL Data file
at the MySQL Data file
.
with a debugger or a hexadecimal file dumper
.
@*
@*
@section Physical Attributes of Columns
@section Physical Attributes of Columns
...
@@ -2112,8 +2112,8 @@ Example: a VARCHAR(7) column containing 'A' looks like:@*
...
@@ -2112,8 +2112,8 @@ Example: a VARCHAR(7) column containing 'A' looks like:@*
@item The numeric data types
@item The numeric data types
Important: MySQL
stores all multi-byte binary numbers with the
Important: MySQL
almost always stores multi-byte binary numbers with
high
byte first. This is called "little-endian" numeric storage;
the low
byte first. This is called "little-endian" numeric storage;
it's normal on Intel x86 machines; MySQL uses it even for non-Intel
it's normal on Intel x86 machines; MySQL uses it even for non-Intel
machines so that databases will be portable.
machines so that databases will be portable.
@*
@*
...
@@ -2288,7 +2288,7 @@ Example: a SET('A','B','C') column containing 'A' looks like:@*
...
@@ -2288,7 +2288,7 @@ Example: a SET('A','B','C') column containing 'A' looks like:@*
Storage: one byte if less than 256 alternatives, else two bytes.
Storage: one byte if less than 256 alternatives, else two bytes.
@item
@item
This is an index. The value 1 corresponds to the first listed
This is an index. The value 1 corresponds to the first listed
alternative. (Note: ENUM always reserves 0 for a
blank ''
value. This
alternative. (Note: ENUM always reserves 0 for a
n erroneous
value. This
explains why 'A' is 1 instead of 0.)
explains why 'A' is 1 instead of 0.)
@item
@item
Example: an ENUM('A','B','C') column containing 'A' looks like:@*
Example: an ENUM('A','B','C') column containing 'A' looks like:@*
...
@@ -2373,7 +2373,10 @@ Storage: same as LONGBLOB.
...
@@ -2373,7 +2373,10 @@ Storage: same as LONGBLOB.
@strong
{
References:
}
@*
@strong
{
References:
}
@*
Most of the formatting work for MyISAM columns is visible
Most of the formatting work for MyISAM columns is visible
in the program /sql/field.cc in the source code directory.
in the program /sql/field.cc in the source code directory.
And in the MyISAM directory, the files that do formatting
work for different record formats are: /myisam/mi
_
statrec.c,
/myisam/mi
_
dynrec.c, and /myisam/mi
_
packrec.c.
@*
@*
@node InnoDB Record Structure,InnoDB Page Structure,MyISAM Record Structure,Top
@node InnoDB Record Structure,InnoDB Page Structure,MyISAM Record Structure,Top
...
@@ -3118,7 +3121,7 @@ page0page.ic, and page0page.h in \page directory.
...
@@ -3118,7 +3121,7 @@ page0page.ic, and page0page.h in \page directory.
This is a description of the files that you get when you download the
This is a description of the files that you get when you download the
source code of MySQL. This description begins with a list
source code of MySQL. This description begins with a list
of the
43
directories and a short comment about each one. Then, for
of the
main
directories and a short comment about each one. Then, for
each directory, in alphabetical order, a longer description is
each directory, in alphabetical order, a longer description is
supplied. When a directory contains significant program files, a list of each C
supplied. When a directory contains significant program files, a list of each C
program is given along with an explanation of its intended function.
program is given along with an explanation of its intended function.
...
@@ -3130,43 +3133,37 @@ program is given along with an explanation of its intended function.
...
@@ -3130,43 +3133,37 @@ program is given along with an explanation of its intended function.
@item
@item
bdb -- The Berkeley Database table handler
bdb -- The Berkeley Database table handler
@item
@item
BitKeeper -- BitKeeper administration
BitKeeper -- BitKeeper administration
(not part of the source distribution)
@item
@item
BUILD --
Build switches
BUILD --
Some very often used build scripts
@item
@item
Build-tools -- Build tools
Build-tools -- Build tools
@item
@item
client -- Client library
client -- Client library
@item
@item
cmd-line-utils -- Command-line utilities
cmd-line-utils -- Command-line utilities
(libedit and readline)
@item
@item
dbug -- Fred Fish's dbug library
dbug -- Fred Fish's dbug library
@item
div -- Deadlock test
@item
@item
Docs -- Preliminary documents about internals and new modules
Docs -- Preliminary documents about internals and new modules
@item
@item
extra -- Eight minor standalone utility programs
extra -- Some minor standalone utility programs
@item
fs -- File System
@item
heap -- The HEAP table handler
@item
@item
Images -- Empty directory
heap -- The HEAP table handler
@item
@item
include -- Include (*.h) files
include -- Include (*.h) files
@item
@item
innobase -- The Innobase (InnoDB) table handler
innobase -- The Innobase (InnoDB) table handler
@item
@item
isam -- The ISAM (MySQL) table handler
isam -- The ISAM (MySQL) table handler
@item
@item
libmysql -- For producing
MySQL as a library (e.g. a Windows DLL)
libmysql -- For producing
a thread-safe libmysql library
@item
@item
libmysql
_
r -- Only one file, a makefile
libmysql
_
r -- Only one file, a makefile
@item
@item
libmysqld -- The MySQL
Library
libmysqld -- The MySQL
Server as an embeddable library
@item
@item
man --
Manual pages
man --
Some user-contributed manual pages
@item
@item
merge -- The MERGE table handler (see Reference Manual section 7.2)
merge -- The MERGE table handler (see Reference Manual section 7.2)
@item
@item
...
@@ -3176,24 +3173,21 @@ myisammrg -- The MyISAM Merge table handler
...
@@ -3176,24 +3173,21 @@ myisammrg -- The MyISAM Merge table handler
@item
@item
mysql-test -- A test suite for mysqld
mysql-test -- A test suite for mysqld
@item
@item
mysys -- MySQL system library (Low level routines for file access
mysys -- MySQL system library (Low level routines for file access etc.)
etc.)
@item
@item
netware -- Files related to the Novell NetWare version of MySQL
netware -- Files related to the Novell NetWare version of MySQL
@item
@item
NEW-RPMS --
New "RPM Package Manager" files
NEW-RPMS --
Directory to place RPMS while making a distribution
@item
@item
os2 -- Routines for working with the OS/2 operating system
os2 -- Routines for working with the OS/2 operating system
@item
@item
pstack -- Process stack display
pstack -- Process stack display
(not currently used)
@item
@item
regex -- Regular Expression library for support of REGEXP function
regex --
Henry Spencer's
Regular Expression library for support of REGEXP function
@item
@item
repl-tests -- Test cases for replication
SCCS -- Source Code Control System (not part of source distribution)
@item
@item
SCCS -- Source Code Control System
scripts -- SQL batches, e.g. mysqlbug and mysql
_
install
_
db
@item
scripts -- SQL batches, e.g. for converting msql to MySQL
@item
@item
sql -- Programs for handling SQL commands. The "core" of MySQL
sql -- Programs for handling SQL commands. The "core" of MySQL
@item
@item
...
@@ -3203,18 +3197,17 @@ SSL -- Secure Sockets Layer
...
@@ -3203,18 +3197,17 @@ SSL -- Secure Sockets Layer
@item
@item
strings -- Library for C string routines, e.g. atof, strchr
strings -- Library for C string routines, e.g. atof, strchr
@item
@item
support-files --
15 files used for building, containing switches?
support-files --
Files used to build MySQL on different systems
@item
@item
tests -- Tests in Perl
tests -- Tests in Perl
@item
@item
tools -- mysqlmanager.c
tools -- mysqlmanager.c
(under development, not yet useful)
@item
@item
VC++Files -- Includes this entire directory, repeated for VC++
VC++Files -- Includes this entire directory, repeated for VC++ (Windows) use
(Windows) use
@item
@item
vio -- Virtual I/O Library
vio -- Virtual I/O Library
@item
@item
zlib -- data compression library
zlib -- data compression library
, used on Windows
@end itemize
@end itemize
@subsection bdb
@subsection bdb
...
@@ -3222,7 +3215,9 @@ zlib -- data compression library
...
@@ -3222,7 +3215,9 @@ zlib -- data compression library
The Berkeley Database table handler.
The Berkeley Database table handler.
@*@*
@*@*
The Berkeley Database (BDB) is maintained by Sleepycat Software.
The Berkeley Database (BDB) is maintained by Sleepycat Software.
MySQL AB maintains only a few small patches to make BDB work
better with MySQL.
@*@*
@*@*
The documentation for BDB is available at
The documentation for BDB is available at
...
@@ -3242,6 +3237,10 @@ BitKeeper directory are for maintenance purposes only -- they are not
...
@@ -3242,6 +3237,10 @@ BitKeeper directory are for maintenance purposes only -- they are not
part of the MySQL package.
part of the MySQL package.
@*@*
@*@*
The MySQL Reference Manual explains how to use Bitkeeper to get the
MySQL source.
@*@*
@subsection BUILD
@subsection BUILD
Build switches.
Build switches.
...
@@ -3268,9 +3267,10 @@ Build tools.
...
@@ -3268,9 +3267,10 @@ Build tools.
@*@*
@*@*
This directory contains batch files for extracting, making
This directory contains batch files for extracting, making
directories, and making programs from source files. There are several
directories, and making programs from source files. There are
subdirectories -- for building Linux executables, for compiling, for
several subdirectories with different scripts -- for building
performing all build steps, etc.
Linux executables, for compiling, for performing all build steps,
and so on.
@*@*
@*@*
@subsection client
@subsection client
...
@@ -3288,32 +3288,31 @@ server.
...
@@ -3288,32 +3288,31 @@ server.
The C program files in the directory are:
The C program files in the directory are:
@itemize @bullet
@itemize @bullet
@item
@item
connect
_
test.c -- test that a connect is possible
connect
_
test.c -- test that a connect is possible
@item
@item
get
_
password.c -- ask for a password from the console
get
_
password.c -- ask for a password from the console
@item
@item
insert
_
test.c -- test that an insert is possible
insert
_
test.c -- test that an insert is possible
@item
@item
list
_
test.c -- test that a select is possible
list
_
test.c -- test that a select is possible
@item
@item
mysql.cc -- "The MySQL command tool"
mysql.cc -- "The MySQL command tool"
@item
@item
mysqladmin.c -- maintenance of MYSQL databases
mysqladmin.c -- maintenance of MYSQL databases
@item
@item
mysqlcheck.c -- check all databases, check connect, etc.
mysqlcheck.c -- check all databases, check connect, etc.
@item
@item
mysqldump.c -- dump table's contents
in ascii
mysqldump.c -- dump table's contents
as SQL statements
@item
@item
mysqlimport.c -- import
file into a table
mysqlimport.c -- import
text files in different formats into tables
@item
@item
mysqlmanager-pwgen.c -- pwgen seems to stand for "password
mysqlmanager-pwgen.c -- pwgen stands for "password generation" (not currently maintained)
generation"
@item
@item
mysqlmanagerc.c -- entry point for mysql manager
mysqlmanagerc.c -- entry point for mysql manager
(not currently maintained)
@item
@item
mysqlshow.c -- show databases, tables or columns
mysqlshow.c -- show databases, tables or columns
@item
@item
mysqltest.c -- test program
mysqltest.c -- test program
used by the mysql-test suite, mysql-test-run
@item
@item
password.c -- password checking routines
password.c -- password checking routines
@item
@item
...
@@ -3347,7 +3346,10 @@ Software Foundation.
...
@@ -3347,7 +3346,10 @@ Software Foundation.
@*@*
@*@*
The
\libedit
(library of edit functions) subdirectory has files
The
\libedit
(library of edit functions) subdirectory has files
written by Christos Zoulas. They are for editing the line contents.
written by Christos Zoulas. They are distributed and modifed under
the BSD License. These files are for editing the line contents.
@*@*
These are the program files in the
\libedit
subdirectory:
These are the program files in the
\libedit
subdirectory:
@itemize @bullet
@itemize @bullet
@item
@item
...
@@ -3401,7 +3403,9 @@ Fred Fish's dbug library.
...
@@ -3401,7 +3403,9 @@ Fred Fish's dbug library.
@*@*
@*@*
This is not really part of the MySQL package. Rather, it's a set of
This is not really part of the MySQL package. Rather, it's a set of
public-domain routines which are useful for debugging MySQL programs.
public-domain routines which are useful for debugging MySQL programs.
The MySQL Server and all .c and .cc programs support the use of this
package.
@*@*
@*@*
How it works: One inserts a function call that begins with DBUG
_
* in
How it works: One inserts a function call that begins with DBUG
_
* in
...
@@ -3411,7 +3415,8 @@ DBUG_ENTER("get_tty_password"); @*
...
@@ -3411,7 +3415,8 @@ DBUG_ENTER("get_tty_password"); @*
at the start of a routine, and this line: @*
at the start of a routine, and this line: @*
DBUG
_
RETURN(my
_
strdup(to,MYF(MY
_
FAE))); @*
DBUG
_
RETURN(my
_
strdup(to,MYF(MY
_
FAE))); @*
at the end of the routine. These lines don't affect production code.
at the end of the routine. These lines don't affect production code.
Features of the dbug library include profiling and state pushing.
Features of the dbug library include extensive reporting and profiling
(the latter has not been used by the MySQL team).
@*@*
@*@*
The C programs in this directory are:
The C programs in this directory are:
...
@@ -3435,14 +3440,6 @@ sanity.c -- Declaration of a variable
...
@@ -3435,14 +3440,6 @@ sanity.c -- Declaration of a variable
@end itemize
@end itemize
@*@*
@*@*
@subsection div
Deadlock test.
@*@*
This file contains only one program, deadlock
_
test.c.
@*@*
@subsection Docs
@subsection Docs
Preliminary documents about internals and new modules.
Preliminary documents about internals and new modules.
...
@@ -3451,7 +3448,8 @@ Preliminary documents about internals and new modules.
...
@@ -3451,7 +3448,8 @@ Preliminary documents about internals and new modules.
This directory doesn't have much at present that's very useful to the
This directory doesn't have much at present that's very useful to the
student, but the plan is that some documentation related to the source
student, but the plan is that some documentation related to the source
files and the internal workings of MySQL, including perhaps some
files and the internal workings of MySQL, including perhaps some
documentation from developers themselves, will be placed here.
documentation from developers themselves, will be placed here. Some of
these files will eventually be moved to the MySQL documentation repository.
@*@*
@*@*
These sub-directories are part of this directory:
These sub-directories are part of this directory:
...
@@ -3467,8 +3465,7 @@ mysql-logos -- more MySQL-related logos, some of them moving
...
@@ -3467,8 +3465,7 @@ mysql-logos -- more MySQL-related logos, some of them moving
@item
@item
raw-flags -- more country flags, all .gif files
raw-flags -- more country flags, all .gif files
@item
@item
support -- various files for generating texinfo/docbook
support -- various files for generating texinfo/docbook documentation
documentation
@item
@item
to-be-included... -- an empty subdirectory
to-be-included... -- an empty subdirectory
@item
@item
...
@@ -3495,7 +3492,7 @@ make their own JDBC drivers, or just sniff).
...
@@ -3495,7 +3492,7 @@ make their own JDBC drivers, or just sniff).
Eight minor standalone utility programs.
Eight minor standalone utility programs.
@*@*
@*@*
These
eight
programs are all standalone utilities, that is, they have
These programs are all standalone utilities, that is, they have
a main() function and their main role is to show information that the
a main() function and their main role is to show information that the
MySQL server needs or produces. Most are unimportant. They are as
MySQL server needs or produces. Most are unimportant. They are as
follows:
follows:
...
@@ -3509,7 +3506,7 @@ mysql_waitpid.c -- wait for a program to terminate
...
@@ -3509,7 +3506,7 @@ mysql_waitpid.c -- wait for a program to terminate
@item
@item
perror.c -- "print error" -- given error number, display message
perror.c -- "print error" -- given error number, display message
@item
@item
replace.c -- replace strings in text files
replace.c -- replace strings in text files
or pipe
@item
@item
resolve
_
stack
_
dump.c -- show symbolic info from a stack dump
resolve
_
stack
_
dump.c -- show symbolic info from a stack dump
@item
@item
...
@@ -3568,7 +3565,7 @@ an "*" in the following list. For example, you will find that
...
@@ -3568,7 +3565,7 @@ an "*" in the following list. For example, you will find that
@item
@item
hp
_
block.c -- Read/write a block (i.e. a page)
hp
_
block.c -- Read/write a block (i.e. a page)
@item
@item
hp
_
clear.c -- Remove all records in the
database
hp
_
clear.c -- Remove all records in the
table
@item
@item
hp
_
close.c -- * close database
hp
_
close.c -- * close database
@item
@item
...
@@ -3584,7 +3581,7 @@ hp_info.c -- * Information about database status
...
@@ -3584,7 +3581,7 @@ hp_info.c -- * Information about database status
@item
@item
hp
_
open.c -- * open database
hp
_
open.c -- * open database
@item
@item
hp
_
panic.c -- * the hp
_
panic routine,
probably for sudden shutdowns
hp
_
panic.c -- * the hp
_
panic routine,
for shutdowns and flushes
@item
@item
hp
_
rename.c -- * rename a table
hp
_
rename.c -- * rename a table
@item
@item
...
@@ -3596,8 +3593,7 @@ hp_rlast.c -- * read last row with same key as previously-read row
...
@@ -3596,8 +3593,7 @@ hp_rlast.c -- * read last row with same key as previously-read row
@item
@item
hp
_
rnext.c -- * read next row with same key as previously-read row
hp
_
rnext.c -- * read next row with same key as previously-read row
@item
@item
hp
_
rprev.c -- * read previous row with same key as previously-read
hp
_
rprev.c -- * read previous row with same key as previously-read row
row
@item
@item
hp
_
rrnd.c -- * read a row based on position
hp
_
rrnd.c -- * read a row based on position
@item
@item
...
@@ -3624,14 +3620,6 @@ for a \myisam\mi_cache.c equivalent (to cache reads) or a
...
@@ -3624,14 +3620,6 @@ for a \myisam\mi_cache.c equivalent (to cache reads) or a
\myisam\log
.c equivalent (to log statements).
\myisam\log
.c equivalent (to log statements).
@*@*
@*@*
@subsection Images
Empty directory.
@*@*
There are no files in this directory.
@*@*
@subsection include
@subsection include
Include (*.h) files.
Include (*.h) files.
...
@@ -3946,25 +3934,23 @@ mi_dynrec.c -- functions to handle space-packed records and blobs
...
@@ -3946,25 +3934,23 @@ mi_dynrec.c -- functions to handle space-packed records and blobs
@item
@item
mi
_
extra.c -- setting options and buffer sizes when optimizing
mi
_
extra.c -- setting options and buffer sizes when optimizing
@item
@item
mi
_
info.c --
"Ger tillbaka en struct med information om isam-filen"
mi
_
info.c --
return useful base information for an open table
@item
@item
mi
_
key.c -- for handling keys
mi
_
key.c -- for handling keys
@item
@item
mi
_
locking.c -- lock database
mi
_
locking.c -- lock database
@item
@item
mi
_
log.c -- save commands in log file which myisamlog program can
mi
_
log.c -- save commands in log file which myisamlog program can read
read
@item
@item
mi
_
open.c -- open database
mi
_
open.c -- open database
@item
@item
mi
_
packrec.c --
compress records
mi
_
packrec.c --
read from a data file compresed with myisampack
@item
@item
mi
_
page.c -- read and write pages containing keys
mi
_
page.c -- read and write pages containing keys
@item
@item
mi
_
panic.c -- the mi
_
panic routine, probably for sudden shutdowns
mi
_
panic.c -- the mi
_
panic routine, probably for sudden shutdowns
@item
@item
mi
_
range.c -- approximate count of how many records lie between two
mi
_
range.c -- approximate count of how many records lie between two keys
keys
@item
@item
mi
_
rename.c -- rename a table
mi
_
rename.c -- rename a table
@item
@item
...
@@ -4113,8 +4099,6 @@ There are other tests in these directories:
...
@@ -4113,8 +4099,6 @@ There are other tests in these directories:
@item
@item
sql-bench
sql-bench
@item
@item
repl-tests
@item
tests
tests
@end itemize
@end itemize
...
@@ -4281,8 +4265,7 @@ free"
...
@@ -4281,8 +4265,7 @@ free"
@item
@item
my
_
open.c -- Open a file
my
_
open.c -- Open a file
@item
@item
my
_
os2cond.c -- OS2-specific: "A simple implementation of posix
my
_
os2cond.c -- OS2-specific: "A simple implementation of posix conditions"
conditions"
@item
@item
my
_
os2dirsrch.c -- OS2-specific: Emulate a Win32 directory search
my
_
os2dirsrch.c -- OS2-specific: Emulate a Win32 directory search
@item
@item
...
@@ -4296,12 +4279,11 @@ my_os2thread.c -- OS2-specific: For thread handling
...
@@ -4296,12 +4279,11 @@ my_os2thread.c -- OS2-specific: For thread handling
@item
@item
my
_
os2tls.c -- OS2-specific: For thread-local storage
my
_
os2tls.c -- OS2-specific: For thread-local storage
@item
@item
my
_
port.c --
AIX-specific: my
_
ulonglong2double()
my
_
port.c --
OS/machine-dependent porting functions, e.g. AIX-specific my
_
ulonglong2double()
@item
@item
my
_
pread.c -- Read a specified number of bytes from a file
my
_
pread.c -- Read a specified number of bytes from a file
@item
@item
my
_
pthread.c -- A wrapper for thread-handling functions in different
my
_
pthread.c -- A wrapper for thread-handling functions in different OSs
OSs
@item
@item
my
_
quick.c -- Read/write (labelled a "quicker" interface, perhaps
my
_
quick.c -- Read/write (labelled a "quicker" interface, perhaps
obsolete)
obsolete)
...
@@ -4323,15 +4305,13 @@ support them
...
@@ -4323,15 +4305,13 @@ support them
@item
@item
my
_
sleep.c -- Wait n microseconds
my
_
sleep.c -- Wait n microseconds
@item
@item
my
_
static.c -- Static
-variable definitions
my
_
static.c -- Static
variables used by the mysys library
@item
@item
my
_
symlink.c -- Read a symbolic link (symlinks are a UNIX thing, I
my
_
symlink.c -- Read a symbolic link (symlinks are a UNIX thing, I guess)
guess)
@item
@item
my
_
symlink2.c -- Part 2 of my
_
symlink.c
my
_
symlink2.c -- Part 2 of my
_
symlink.c
@item
@item
my
_
tempnam.c -- Obsolete temporary-filename routine used by ISAM
my
_
tempnam.c -- Obsolete temporary-filename routine used by ISAM table handler
table handler
@item
@item
my
_
thr
_
init.c -- initialize/allocate "all mysys
&
debug thread
my
_
thr
_
init.c -- initialize/allocate "all mysys
&
debug thread
variables"
variables"
...
@@ -4448,9 +4428,8 @@ NetWare AMP" at:
...
@@ -4448,9 +4428,8 @@ NetWare AMP" at:
New "RPM Package Manager" files.
New "RPM Package Manager" files.
@*@*
@*@*
This directory is not part of the Windows distribution. Perhaps in
This directory is not part of the Windows distribution. It is
MYSQL's Linux distribution it has files for use with Red Hat
a temporary directory used during RPM builds with Linux distributions.
installations -- a point that needs checking someday.
@*@*
@*@*
@subsection os2
@subsection os2
...
@@ -4523,28 +4502,6 @@ This program calls the 'regcomp' function, which is the entry point in
...
@@ -4523,28 +4502,6 @@ This program calls the 'regcomp' function, which is the entry point in
\regex\regexp
.c.
\regex\regexp
.c.
@*@*
@*@*
@subsection repl-tests
Test cases for replication.
@*@*
There are six short and trivial-looking tests in these subdirectories:
@itemize @bullet
@item
\test
-auto-inc -- Do auto-Increment columns work?
@item
\test
-bad-query -- Does insert in PK column work?
@item
\test
-dump -- Do LOAD statements work?
@item
\test
-repl -- Does replication work?
@item
\test
-repl-alter -- Does ALTER TABLE work?
@item
\test
-repl-ts -- Does TIMESTAMP column work?
@end itemize
@*@*
@subsection SCCS
@subsection SCCS
Source Code Control System.
Source Code Control System.
...
@@ -4560,8 +4517,8 @@ administration and are not of interest to application programmers.
...
@@ -4560,8 +4517,8 @@ administration and are not of interest to application programmers.
SQL batches, e.g. for converting msql to MySQL.
SQL batches, e.g. for converting msql to MySQL.
@*@*
@*@*
The *.sh filename extension
apparently stands for "shell script".
The *.sh filename extension
stands for "shell script". Linux
Linux
programmers use it where Windows programmers would use a *.bat
programmers use it where Windows programmers would use a *.bat
(batch filename extension).
(batch filename extension).
@*@*
@*@*
...
@@ -4570,10 +4527,9 @@ The *.sh files on this directory are:
...
@@ -4570,10 +4527,9 @@ The *.sh files on this directory are:
@item
@item
fill
_
help
_
tables.sh -- Create help-information tables and insert
fill
_
help
_
tables.sh -- Create help-information tables and insert
@item
@item
make
_
binary
_
distribution.sh -- Get configure information, make,
make
_
binary
_
distribution.sh -- Get configure information, make, produce tar
produce tar
@item
@item
msql2mysql.sh -- Convert mSQL
to MySQL
msql2mysql.sh -- Convert mSQL
programs and scripts to MySQL, partly
@item
@item
mysqlbug.sh -- Create a bug report and mail it
mysqlbug.sh -- Create a bug report and mail it
@item
@item
...
@@ -4587,33 +4543,29 @@ mysqldumpslow.sh -- Parse and summarize the slow query log
...
@@ -4587,33 +4543,29 @@ mysqldumpslow.sh -- Parse and summarize the slow query log
@item
@item
mysqlhotcopy.sh -- Hot backup
mysqlhotcopy.sh -- Hot backup
@item
@item
mysql
_
config.sh -- Get configur
e information that client might need
mysql
_
config.sh -- Get configur
ation information that might be needed to compile a client
@item
@item
mysql
_
convert
_
table
_
format.sh -- Conversion, e.g. from ISAM to
mysql
_
convert
_
table
_
format.sh -- Conversion, e.g. from ISAM to MyISAM
MyISAM
@item
@item
mysql
_
explain
_
log.sh -- Put a log (made with --log) into a MySQL
mysql
_
explain
_
log.sh -- Put a log (made with --log) into a MySQL table
table
@item
@item
mysql
_
find
_
rows.sh -- Search for queries containing <regexp>
mysql
_
find
_
rows.sh -- Search for queries containing <regexp>
@item
@item
mysql
_
fix
_
extensions.sh -- Renames some file extensions, not
mysql
_
fix
_
extensions.sh -- Renames some file extensions, not recommended
recommended
@item
@item
mysql
_
fix
_
privilege
_
tables.sh -- Fix mysql.user etc. if upgrading to
mysql
_
fix
_
privilege
_
tables.sh -- Fix mysql.user etc. if upgrading to MySQL 3.23.14+
MySQL 3.23.14+
@item
@item
mysql
_
install
_
db.sh -- Create privilege tables and func table
mysql
_
install
_
db.sh -- Create privilege tables and func table
@item
@item
mysql
_
secure
_
installation.sh -- Disallow remote root login,
mysql
_
secure
_
installation.sh -- Disallow remote root login,
eliminate test, etc.
eliminate test, etc.
@item
@item
mysql
_
setpermission.sh -- Aid to add users or databases, sets
mysql
_
setpermission.sh -- Aid to add users or databases, sets
privileges
privileges
@item
@item
mysql
_
tableinfo.sh -- Puts info re MySQL tables into a MySQL table
mysql
_
tableinfo.sh -- Puts info re MySQL tables into a MySQL table
@item
@item
mysql
_
zap.sh -- Kill processes which match pattern
mysql
_
zap.sh -- Kill processes which match pattern
@end itemize
@end itemize
@*@*
@*@*
...
@@ -4635,16 +4587,15 @@ des_key_file.cc -- load DES keys from plaintext file
...
@@ -4635,16 +4587,15 @@ des_key_file.cc -- load DES keys from plaintext file
@item
@item
field.cc -- "implement classes defined in field.h" (long)
field.cc -- "implement classes defined in field.h" (long)
@item
@item
field
_
conv.cc -- functions to copy data
to or from fields
field
_
conv.cc -- functions to copy data
between fields
@item
@item
filesort.cc -- sort
file
filesort.cc -- sort
a result set, using memory or temporary files
@item
@item
frm
_
crypt.cc -- contains only one short function: get
_
crypt
_
for
_
frm
frm
_
crypt.cc -- contains only one short function: get
_
crypt
_
for
_
frm
@item
@item
gen
_
lex
_
hash.cc -- Knuth's algorithm from Vol 3 Sorting and
gen
_
lex
_
hash.cc -- Knuth's algorithm from Vol 3 Sorting and Searching, Chapter 6.3
Searching, Chapter 6.3
@item
@item
gstream.cc -- GTextReadStream
gstream.cc -- GTextReadStream
, used to read GIS objects
@item
@item
handler.cc -- handler-calling functions
handler.cc -- handler-calling functions
@item
@item
...
@@ -4680,7 +4631,7 @@ item_func.cc -- Numerical functions
...
@@ -4680,7 +4631,7 @@ item_func.cc -- Numerical functions
@item
@item
item
_
row.cc -- Row items for comparing rows and for IN on rows
item
_
row.cc -- Row items for comparing rows and for IN on rows
@item
@item
item
_
sum.cc -- Set functions (
sum, avg
, etc.)
item
_
sum.cc -- Set functions (
SUM, AVG
, etc.)
@item
@item
item
_
strfunc.cc -- String functions
item
_
strfunc.cc -- String functions
@item
@item
...
@@ -4688,7 +4639,7 @@ item_subselect.cc -- Item subselect
...
@@ -4688,7 +4639,7 @@ item_subselect.cc -- Item subselect
@item
@item
item
_
timefunc.cc -- Date/time functions, e.g. week of year
item
_
timefunc.cc -- Date/time functions, e.g. week of year
@item
@item
item
_
uniq.cc -- Empty file, here for compatibility reasons
item
_
uniq.cc -- Empty file, here for compatibility reasons
@item
@item
key.cc -- Functions to handle keys and fields in forms
key.cc -- Functions to handle keys and fields in forms
@item
@item
...
@@ -4700,10 +4651,9 @@ log_event.cc -- Log event
...
@@ -4700,10 +4651,9 @@ log_event.cc -- Log event
@item
@item
matherr.c -- Handling overflow, underflow, etc.
matherr.c -- Handling overflow, underflow, etc.
@item
@item
mf
_
iocache.cc -- Caching of (sequential) reads
mf
_
iocache.cc -- Caching of (sequential) reads
and writes
@item
@item
mini
_
client.cc -- Client included in server for server-server
mini
_
client.cc -- Client included in server for server-server messaging
messaging
@item
@item
mysqld.cc -- Source of mysqld.exe
mysqld.cc -- Source of mysqld.exe
@item
@item
...
@@ -4714,58 +4664,56 @@ net_serv.cc -- Read/write of packets on a network socket
...
@@ -4714,58 +4664,56 @@ net_serv.cc -- Read/write of packets on a network socket
nt
_
servc.cc -- Initialize/register/remove an NT service
nt
_
servc.cc -- Initialize/register/remove an NT service
@item
@item
opt
_
ft.cc -- Create a FT or QUICK RANGE based on a key (very short)
opt
_
ft.cc -- Create a FT or QUICK RANGE based on a key (very short)
* opt
_
range.cc -- Range of keys
@item
opt
_
range.cc -- Range of keys
@item
@item
opt
_
sum.cc -- Optimize functions in presence of (implied) GROUP BY
opt
_
sum.cc -- Optimize functions in presence of (implied) GROUP BY
@item
@item
password.c -- Password checking
password.c -- Password checking
@item
@item
procedure.cc -- Procedure
procedure.cc -- Procedure
@item
@item
protocol.cc -- Low level functions for storing data to be sent to
protocol.cc -- Low level functions for storing data to be sent to client
client
@item
@item
records.cc -- Functions
to read, write, and lock records
records.cc -- Functions
for easy reading of records, possible through a cache
@item
@item
repl
_
failsafe.cc -- Replication fail-save
repl
_
failsafe.cc -- Replication fail-save
(not yet implemented)
@item
@item
set
_
var.cc --
MySQL variables
set
_
var.cc --
Set and retrieve MySQL user variables
@item
@item
slave.cc -- Procedures for a slave in a master/slave (replication?)
slave.cc -- Procedures for a slave in a master/slave (replication) relation
relation
@item
@item
spatial.cc -- Geometry stuff (lines, points, etc.)
spatial.cc -- Geometry stuff (lines, points, etc.)
@item
@item
sql
_
acl.cc -- Functions related to ACL security
sql
_
acl.cc -- Functions related to ACL security
@item
@item
sql
_
analyse.cc -- Analyse an input string (?)
sql
_
analyse.cc -- Analyse an input string (?)
@item
@item
sql
_
base.cc -- Basic functions needed by many modules
sql
_
base.cc -- Basic functions needed by many modules
@item
@item
sql
_
cache.cc -- SQL cache, with long comments about how caching
sql
_
cache.cc -- SQL query cache, with long comments about how caching works
works
@item
@item
sql
_
class.cc -- SQL class
sql
_
class.cc -- SQL class
@item
@item
sql
_
crypt.cc -- Encode / decode, very short
sql
_
crypt.cc -- Encode / decode, very short
@item
@item
sql
_
db.cc -- Create / drop database
sql
_
db.cc -- Create / drop database
@item
@item
sql
_
delete.cc -- The DELETE statement
sql
_
delete.cc -- The DELETE statement
@item
@item
sql
_
derived.cc -- Derived tables, with long comments
sql
_
derived.cc -- Derived tables, with long comments
@item
@item
sql
_
do.cc -- The DO statement
sql
_
do.cc -- The DO statement
@item
@item
sql
_
error.cc -- Errors and warnings
sql
_
error.cc -- Errors and warnings
@item
@item
sql
_
handler.cc -- Direct access to ISAM
sql
_
handler.cc -- Direct access to ISAM
@item
@item
sql
_
help.cc -- The HELP statement (if there is one?)
sql
_
help.cc -- The HELP statement (if there is one?)
@item
@item
sql
_
insert.cc -- The INSERT statement
sql
_
insert.cc -- The INSERT statement
@item
@item
sql
_
lex.cc -- Related to lex or yacc
sql
_
lex.cc -- Related to lex or yacc
@item
@item
sql
_
list.cc -- Only list
_
node
_
end
_
of
_
list, short
sql
_
list.cc -- Only list
_
node
_
end
_
of
_
list, short
@item
@item
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment