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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
53f518c4
Commit
53f518c4
authored
Apr 12, 2001
by
monty@donna.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed bug when using a key on a CHAR(255) NULL column
parent
6fa6f331
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
29 additions
and
3 deletions
+29
-3
BitKeeper/etc/logging_ok
BitKeeper/etc/logging_ok
+1
-0
Docs/manual.texi
Docs/manual.texi
+5
-3
myisam/mi_search.c
myisam/mi_search.c
+3
-0
mysql-test/r/myisam.result
mysql-test/r/myisam.result
+2
-0
mysql-test/t/myisam.test
mysql-test/t/myisam.test
+18
-0
No files found.
BitKeeper/etc/logging_ok
View file @
53f518c4
heikki@donna.mysql.fi
heikki@donna.mysql.fi
monty@donna.mysql.fi
Docs/manual.texi
View file @
53f518c4
...
@@ -41932,8 +41932,8 @@ programming! By Marc Beneteau, @email{marc@@odbsoft.com}.
...
@@ -41932,8 +41932,8 @@ programming! By Marc Beneteau, @email{marc@@odbsoft.com}.
@item @uref{http://www.mysql.com/Downloads/Contrib/sqlhtml.tar.gz, sqlhtml.tar.gz}
@item @uref{http://www.mysql.com/Downloads/Contrib/sqlhtml.tar.gz, sqlhtml.tar.gz}
SQL/HTML is an HTML database manager for @strong{MySQL} using @code{DBI} 1.06.
SQL/HTML is an HTML database manager for @strong{MySQL} using @code{DBI} 1.06.
@item @uref{http://www.mysql.com/Downloads/Contrib/udmsearch-3.0.2
1.tar.gz, UdmSearch 3.0.22
(stable version)}.
@item @uref{http://www.mysql.com/Downloads/Contrib/udmsearch-3.0.2
3.tar.gz, UdmSearch 3.0.23
(stable version)}.
@item @uref{http://www.mysql.com/Downloads/Contrib/
udmsearch-3.1.3.tar.gz, UdmSearch 3.1.3 (development
version)}.
@item @uref{http://www.mysql.com/Downloads/Contrib/
mnogosearch-3.1.12.tar.gz, mnogosearch 3.1.12 (development but recommended
version)}.
@item @uref{http://search.mnoGo.ru, UdmSearch home page}
@item @uref{http://search.mnoGo.ru, UdmSearch home page}
A SQL-based search engine for Internet. By
A SQL-based search engine for Internet. By
Alexander I. Barkov @email{bar@@izhcom.ru}.
Alexander I. Barkov @email{bar@@izhcom.ru}.
...
@@ -42845,7 +42845,9 @@ not yet 100% confident in this code.
...
@@ -42845,7 +42845,9 @@ not yet 100% confident in this code.
@appendixsubsec Changes in release 3.23.37
@appendixsubsec Changes in release 3.23.37
@itemize @bullet
@itemize @bullet
@item
@item
Fixed a bug in @code{REGEXP()} on 64-bit machines.
Fixed bug when using indexes on @code{CHAR(255) NULL} columns.
@item
Fixed two bugs in @code{REGEXP()} on 64-bit machines.
@item
@item
@code{UPDATE} and @code{DELETE} with @code{WHERE unique_key_part IS NULL}
@code{UPDATE} and @code{DELETE} with @code{WHERE unique_key_part IS NULL}
didn't update/delete all rows.
didn't update/delete all rows.
myisam/mi_search.c
View file @
53f518c4
...
@@ -879,7 +879,10 @@ uint _mi_get_pack_key(register MI_KEYDEF *keyinfo, uint nod_flag,
...
@@ -879,7 +879,10 @@ uint _mi_get_pack_key(register MI_KEYDEF *keyinfo, uint nod_flag,
continue
;
continue
;
}
}
if
(
keyseg
->
flag
&
HA_NULL_PART
)
if
(
keyseg
->
flag
&
HA_NULL_PART
)
{
key
++
;
/* Skipp null marker*/
key
++
;
/* Skipp null marker*/
start
++
;
}
get_key_length
(
rest_length
,
page
);
get_key_length
(
rest_length
,
page
);
tot_length
=
rest_length
+
length
;
tot_length
=
rest_length
+
length
;
...
...
mysql-test/r/myisam.result
0 → 100644
View file @
53f518c4
Table Op Msg_type Msg_text
test.t1 check status OK
mysql-test/t/myisam.test
0 → 100644
View file @
53f518c4
#
# Test bugs in the MyISAM code
#
drop
table
if
exists
t1
;
CREATE
TABLE
t1
(
STRING_DATA
char
(
255
)
default
NULL
,
KEY
STRING_DATA
(
STRING_DATA
)
)
TYPE
=
MyISAM
;
INSERT
INTO
t1
VALUES
(
'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'
);
INSERT
INTO
t1
VALUES
(
'DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD'
);
INSERT
INTO
t1
VALUES
(
'FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF'
);
INSERT
INTO
t1
VALUES
(
'FGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG'
);
INSERT
INTO
t1
VALUES
(
'HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH'
);
INSERT
INTO
t1
VALUES
(
'WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW'
);
CHECK
TABLE
t1
;
drop
table
t1
;
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