Skip to content

Commit 90933cc

Browse files
author
serg@serg.mysql.com
committed
Merge work:/home/bk/mysql-4.0
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
2 parents 163f0c8 + c1120d0 commit 90933cc

File tree

1 file changed

+41
-31
lines changed

1 file changed

+41
-31
lines changed

Docs/manual.texi

Lines changed: 41 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -3903,8 +3903,8 @@ This can be used to skip over extra columns in the text file,
39033903
or update columns based on expressions of the read data...
39043904
@item
39053905
@code{LOAD DATA INFILE 'file_name' INTO TABLE 'table_name' ERRORS TO err_table_name}
3906-
This would cause any errors and warnings to be logged into the err_table_name
3907-
table. That table would have a structure like:
3906+
This would cause any errors and warnings to be logged into the
3907+
@code{err_table_name} table. That table would have a structure like:
39083908

39093909
@example
39103910
line_number - line number in data file
@@ -3913,9 +3913,10 @@ and maybe
39133913
data_line - the line from the data file
39143914
@end example
39153915
@item
3916-
Add true @code{VARCHAR} support (There is already support for this in MyISAM).
3916+
Add true @code{VARCHAR} support (There is already support for this in
3917+
@code{MyISAM}).
39173918
@item
3918-
Automatic output from @code{mysql} to netscape.
3919+
Automatic output from @code{mysql} to Netscape.
39193920
@item
39203921
@code{LOCK DATABASES}. (with various options)
39213922
@item
@@ -6954,18 +6955,19 @@ version 4.0;
69546955
@itemize @bullet
69556956
@item
69566957
@code{LOCATE()} and @code{INSTR()} are case sensitive if neither
6957-
argument is a binary string. binary strings.
6958+
argument is a binary string.
69586959
@item
6959-
@code{INSERT INTO ... SELECT} had in 3.23 always @code{IGNORE} enabled.
6960-
In 4.0.1 MySQL will stop (and possible rollback) in case of an error if you
6960+
In 3.23,
6961+
@code{INSERT INTO ... SELECT} always had @code{IGNORE} enabled.
6962+
In 4.0.1, MySQL will stop (and possibly roll back) in case of an error if you
69616963
don't specify @code{IGNORE}.
69626964
@item
69636965
@file{safe_mysqld} is renamed to @file{mysqld_safe}.
69646966
@item
69656967
The old C API functions @code{mysql_drop_db}, @code{mysql_create_db} and
6966-
@code{mysql_connect} are not supported anymore, unless one compiles
6968+
@code{mysql_connect} are not supported anymore, unless you compile
69676969
MySQL with @code{CFLAGS=-DUSE_OLD_FUNCTIONS}. Instead of doing this,
6968-
one should change the client to use the new 4.0 API.
6970+
it is preferable to change the client to use the new 4.0 API.
69696971
@item
69706972
In the @code{MYSQL_FIELD} structure, @code{length} and @code{max_length} has
69716973
changed from @code{unsigned int} to @code{unsigned long}. This should not
@@ -6989,7 +6991,7 @@ Format of @code{SHOW OPEN TABLE} has changed.
69896991
Multithreaded clients should use @code{mysql_thread_init()} and
69906992
@code{mysql_thread_end()}. @xref{Threaded clients}.
69916993
@item
6992-
If you want to recompile the perl DBD-MySQL module, you must get
6994+
If you want to recompile the Perl DBD::mysql module, you must get
69936995
Msql-Mysql-modules version 1.2218 or newer, because the older DBD modules
69946996
used the deprecated @code{drop_db()} call.
69956997
@item
@@ -8346,15 +8348,15 @@ we may find some way to work around this problem.)
83468348

83478349
@item
83488350
@code{DROP TABLE} on a table that is in use by a @code{MERGE} table will
8349-
not work on windows becasue @code{MERGE} handler does the table mapping
8351+
not work on Windows because @code{MERGE} handler does the table mapping
83508352
hidden from the upper layer of MySQL. Because Windows doesn't allow you
83518353
to drop files that are open, you first must flush all @code{MERGE}
83528354
tables (with @code{FLUSH TABLES}) or drop the @code{MERGE} table before
83538355
dropping the table. We will fix this at the same time we introduce
83548356
@code{VIEW}s.
83558357
@item
83568358
@code{DATA DIRECTORY} and @code{INDEX DIRECTORY} directives in
8357-
@code{CREATE TABLE} is ignored on windows, because windows doesn't support
8359+
@code{CREATE TABLE} is ignored on Windows, because Windows doesn't support
83588360
symbolic links.
83598361
@end table
83608362

@@ -34740,20 +34742,20 @@ corrupt the table. This will be fixed in MySQL 4.0.x.
3474034742
@item
3474134743
Creation of a table of type @code{MERGE} doesn't check if the underlying
3474234744
tables are of compatible types. If you use @code{MERGE} tables in this
34743-
fasion you are very likely to run into strange problems.
34745+
fashion, you are very likely to run into strange problems.
3474434746
@item
3474534747
If you use @code{ALTER TABLE} to first add an @code{UNIQUE} index to a
3474634748
table used in a @code{MERGE} table and then use @code{ALTER TABLE} to
3474734749
add a normal index on the @code{MERGE} table, the key order will be
34748-
different for the tables if there was an old not-unique key in the
34750+
different for the tables if there was an old non-unique key in the
3474934751
table. This is because @code{ALTER TABLE} puts @code{UNIQUE} keys before
3475034752
normal keys to be able to detect duplicate keys as early as possible.
3475134753
@item
3475234754
The range optimizer can't yet use @code{MERGE} table efficiently and may
34753-
sometimes produce not optimal joins. This will be fixed in MySQL 4.0.x.
34755+
sometimes produce non-optimal joins. This will be fixed in MySQL 4.0.x.
3475434756
@item
3475534757
@code{DROP TABLE} on a table that is in use by a @code{MERGE} table will
34756-
not work on windows becasue @code{MERGE} handler does the table mapping
34758+
not work on Windows because the @code{MERGE} handler does the table mapping
3475734759
hidden from the upper layer of MySQL. Because Windows doesn't allow you
3475834760
to drop files that are open, you first must flush all @code{MERGE}
3475934761
tables (with @code{FLUSH TABLES}) or drop the @code{MERGE} table before
@@ -34766,12 +34768,12 @@ dropping the table. We will fix this at the same time we introduce
3476634768

3476734769
@cindex tables, ISAM
3476834770

34769-
You can also use the deprecated ISAM table type. This will disappear
34771+
You can also use the deprecated @code{ISAM} table type. This will disappear
3477034772
rather soon (probably in MySQL 4.1) because @code{MyISAM} is a better
34771-
implementation of the same thing. ISAM uses a @code{B-tree} index. The
34773+
implementation of the same thing. @code{ISAM} uses a @code{B-tree} index. The
3477234774
index is stored in a file with the @code{.ISM} extension, and the data
3477334775
is stored in a file with the @code{.ISD} extension. You can
34774-
check/repair ISAM tables with the @code{isamchk} utility. @xref{Crash
34776+
check/repair @code{ISAM} tables with the @code{isamchk} utility. @xref{Crash
3477534777
recovery}.
3477634778

3477734779
@code{ISAM} has the following features/properties:
@@ -34789,7 +34791,7 @@ tables. @xref{MyISAM}. The major differences compared to @code{MyISAM}
3478934791
tables are:
3479034792

3479134793
@itemize @bullet
34792-
@item ISAM tables are not binary portable across OS/Platforms.
34794+
@item @code{ISAM} tables are not binary portable across OS/Platforms.
3479334795
@item Can't handle tables > 4G.
3479434796
@item Only support prefix compression on strings.
3479534797
@item Smaller key limits.
@@ -34805,7 +34807,7 @@ TABLE} statement:
3480534807
mysql> ALTER TABLE tbl_name TYPE = MYISAM;
3480634808
@end example
3480734809

34808-
The embedded MySQL versions doesn't support ISAM tables.
34810+
The embedded MySQL versions doesn't support @code{ISAM} tables.
3480934811

3481034812
@node HEAP, InnoDB, ISAM, Table types
3481134813
@section HEAP Tables
@@ -34816,7 +34818,7 @@ The embedded MySQL versions doesn't support ISAM tables.
3481634818
makes them very fast, but if MySQL crashes you will lose all
3481734819
data stored in them. @code{HEAP} is very useful for temporary tables!
3481834820

34819-
The MySQL internal HEAP tables use 100% dynamic hashing
34821+
The MySQL internal @code{HEAP} tables use 100% dynamic hashing
3482034822
without overflow areas. There is no extra space needed for free lists.
3482134823
@code{HEAP} tables also don't have problems with delete + inserts, which
3482234824
normally is common with hashed tables:
@@ -35331,6 +35333,12 @@ your job again, rather than wait for millions of disk i/os to complete.
3533135333
InnoDB version 3.23.44 features foreign key constraints. InnoDB is the
3533235334
first MySQL table type which allows you to define foreign key
3533335335
constraints to guard the integrity of your data.
35336+
35337+
The syntax of a foreign key constraint definition in InnoDB:
35338+
@example
35339+
FOREIGN KEY (index_col_name, ...) REFERENCES table_name (index_col_name, ...)
35340+
@end example
35341+
3533435342
An example:
3533535343

3533635344
@example
@@ -35351,6 +35359,8 @@ The size and the signedness of integer types has to be same.
3535135359

3535235360
When doing foreign key checks InnoDB sets shared row
3535335361
level locks on child or parent records it has to look at.
35362+
InnoDB checks foreign key constraints immediately: the check
35363+
is not deferred to transaction commit.
3535435364

3535535365
InnoDB allows you to drop any table even though that
3535635366
would break the foreign key constraints which reference
@@ -44837,7 +44847,7 @@ Some features:
4483744847
@item Import wizard to import structure and data from MS Access, MS Excel, Dbase, FoxPro, Paradox, and ODBC Databases.
4483844848

4483944849
@item @uref{http://www.mysql.com/Downloads/Contrib/KMYENG113.zip}
44840-
An administrator GUI for MySQL. Works only on windows, no source.
44850+
An administrator GUI for MySQL. Works only on Windows, no source.
4484144851
Available in English and Japanese. By Mitunobu Kaneko.
4484244852
Home page: @uref{http://sql.jnts.ne.jp/}
4484344853
@end itemize
@@ -45856,11 +45866,11 @@ able to use boolean fulltext search}.
4585645866
@code{LOCATE()} and @code{INSTR()} are case sensitive if neither
4585745867
argument is a binary string.
4585845868
@item
45859-
Fixed core dump bug in @code{UPDATE ... ORDER BY }.
45869+
Fixed core dump bug in @code{UPDATE ... ORDER BY}.
4586045870
@item
45861-
Changed @code{INSERT INTO .. SELECT} to by default stop on errors.
45871+
Changed @code{INSERT INTO .. SELECT} to stop on errors by default.
4586245872
@item
45863-
Ignore @code{DATA DIRECTORY} and @code{INDEX DIRECTORY} directives on windows.
45873+
Ignore @code{DATA DIRECTORY} and @code{INDEX DIRECTORY} directives on Windows.
4586445874
@item
4586545875
Added boolean fulltext search code. It should be considered early alpha.
4586645876
@item
@@ -45892,7 +45902,7 @@ be able to handle these.
4589245902
Secure connections (with SSL).
4589345903
@item
4589445904
Unsigned @code{BIGINT} constants now work. @code{MIN()} and @code{MAX()}
45895-
now handles signed and unsigned @code{BIGINT} numbers correctly.
45905+
now handle signed and unsigned @code{BIGINT} numbers correctly.
4589645906
@item
4589745907
New character set @code{latin_de} which provides correct German sorting.
4589845908
@item
@@ -45901,7 +45911,7 @@ functions. One bonus is that @code{DELETE FROM table_name} now returns
4590145911
the number of deleted rows.
4590245912
@item
4590345913
@code{DROP DATABASE} now executes a @code{DROP TABLE} on all tables in
45904-
the database, which fixes a problem with InnoDB tables.
45914+
the database, which fixes a problem with @code{InnoDB} tables.
4590545915
@item
4590645916
Added support for @code{UNION}.
4590745917
@item
@@ -46127,7 +46137,7 @@ Fixed problem with sjis character strings used within quoted table names.
4612746137
Fixed coredump when using @code{CREATE ... FULLTEXT} keys with other table
4612846138
handlers than MyISAM.
4612946139
@item
46130-
Don't use @code{signal()} on windows because this appears to not be
46140+
Don't use @code{signal()} on Windows because this appears to not be
4613146141
100 % reliable.
4613246142
@item
4613346143
Fixed bug when doing @code{WHERE column_name=NULL} on an indexed column
@@ -46278,7 +46288,7 @@ Don't force everything to lower cases on Windows. (To fix problem
4627846288
with Windows and @code{ALTER TABLE}). Now @code{--lower_case_names}
4627946289
also works on Unix.
4628046290
@item
46281-
Fixed that automatic rollback that is done when thread end doesn't lock
46291+
Fixed that automatic rollback is done when thread end doesn't lock
4628246292
other threads.
4628346293
@end itemize
4628446294

@@ -52222,7 +52232,7 @@ Pros for row locking:
5222252232
@item
5222352233
Fewer lock conflicts when accessing different rows in many threads.
5222452234
@item
52225-
Less changes for rollbacks.
52235+
Fewer changes for rollbacks.
5222652236
@item
5222752237
Makes it possible to lock a single row a long time.
5222852238
@end itemize

0 commit comments

Comments
 (0)