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
db5f22c2
Commit
db5f22c2
authored
Sep 16, 2002
by
peter@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/home/pz/mysql/mysql-4.0-root
into mysql.com:/home/pz/mysql/mysql-4.0
parents
ca375370
69b0b290
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
5 deletions
+10
-5
Docs/manual.texi
Docs/manual.texi
+4
-3
sql/ha_innodb.cc
sql/ha_innodb.cc
+5
-1
sql/ha_innodb.h
sql/ha_innodb.h
+1
-1
No files found.
Docs/manual.texi
View file @
db5f22c2
...
@@ -20904,7 +20904,7 @@ Your program has a wrong path to where the character sets are stored.
...
@@ -20904,7 +20904,7 @@ Your program has a wrong path to where the character sets are stored.
This can be fixed by using the @code{--character-sets-dir}
This can be fixed by using the @code{--character-sets-dir}
option to the program in question.
option to the program in question.
@item
@item
The character set is a multi-byte
-
character set that can't be loaded
The character set is a multi-byte
character set that can't be loaded
dynamically. In this case you have to recompile the program with the
dynamically. In this case you have to recompile the program with the
support for the character set.
support for the character set.
@item
@item
...
@@ -37077,7 +37077,8 @@ You can set the default global isolation level for @code{mysqld} with
...
@@ -37077,7 +37077,8 @@ You can set the default global isolation level for @code{mysqld} with
As of Version 3.23.23, MySQL has support for full-text indexing
As of Version 3.23.23, MySQL has support for full-text indexing
and searching. Full-text indexes in MySQL are an index of type
and searching. Full-text indexes in MySQL are an index of type
@code{FULLTEXT}. @code{FULLTEXT} indexes can be created from @code{VARCHAR}
@code{FULLTEXT}. @code{FULLTEXT} indexes are used with MyISAM tables
and can be created from @code{VARCHAR}
and @code{TEXT} columns at @code{CREATE TABLE} time or added later with
and @code{TEXT} columns at @code{CREATE TABLE} time or added later with
@code{ALTER TABLE} or @code{CREATE INDEX}. For large datasets, it will be
@code{ALTER TABLE} or @code{CREATE INDEX}. For large datasets, it will be
much faster to load your data into a table that has no @code{FULLTEXT}
much faster to load your data into a table that has no @code{FULLTEXT}
...
@@ -47556,7 +47557,7 @@ You can check which tables you have in the current database with
...
@@ -47556,7 +47557,7 @@ You can check which tables you have in the current database with
@node Cannot initialize character set, Not enough file handles, Cannot find table, Common errors
@node Cannot initialize character set, Not enough file handles, Cannot find table, Common errors
@appendixsubsec @code{Can't initialize character set xxx} error
@appendixsubsec @code{Can't initialize character set xxx} error
@cindex multibyte character sets
@cindex multi
-
byte character sets
If you get an error like:
If you get an error like:
sql/ha_innodb.cc
View file @
db5f22c2
...
@@ -2004,7 +2004,11 @@ convert_search_mode_to_innobase(
...
@@ -2004,7 +2004,11 @@ convert_search_mode_to_innobase(
case
HA_READ_AFTER_KEY
:
return
(
PAGE_CUR_G
);
case
HA_READ_AFTER_KEY
:
return
(
PAGE_CUR_G
);
case
HA_READ_BEFORE_KEY
:
return
(
PAGE_CUR_L
);
case
HA_READ_BEFORE_KEY
:
return
(
PAGE_CUR_L
);
case
HA_READ_PREFIX
:
return
(
PAGE_CUR_GE
);
case
HA_READ_PREFIX
:
return
(
PAGE_CUR_GE
);
case
HA_READ_PREFIX_LAST
:
return
(
PAGE_CUR_LE
);
case
HA_READ_PREFIX_LAST
:
ut_a
(
0
);
return
(
PAGE_CUR_LE
);
/* InnoDB does not yet support ..PREFIX_LAST!
We have to add a new search flag
PAGE_CUR_LE_OR_PREFIX to InnoDB. */
/* the above PREFIX flags mean that the last
/* the above PREFIX flags mean that the last
field in the key value may just be a prefix
field in the key value may just be a prefix
of the complete fixed length field */
of the complete fixed length field */
...
...
sql/ha_innodb.h
View file @
db5f22c2
...
@@ -96,7 +96,7 @@ class ha_innobase: public handler
...
@@ -96,7 +96,7 @@ class ha_innobase: public handler
ulong
index_flags
(
uint
idx
)
const
ulong
index_flags
(
uint
idx
)
const
{
{
return
(
HA_READ_NEXT
|
HA_READ_PREV
|
HA_READ_ORDER
|
return
(
HA_READ_NEXT
|
HA_READ_PREV
|
HA_READ_ORDER
|
HA_KEY_READ_ONLY
);
HA_KEY_READ_ONLY
|
HA_NOT_READ_PREFIX_LAST
);
}
}
uint
max_record_length
()
const
{
return
HA_MAX_REC_LENGTH
;
}
uint
max_record_length
()
const
{
return
HA_MAX_REC_LENGTH
;
}
uint
max_keys
()
const
{
return
MAX_KEY
;
}
uint
max_keys
()
const
{
return
MAX_KEY
;
}
...
...
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