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
afae5fcc
Commit
afae5fcc
authored
Jan 23, 2006
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge aelkin@bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/usr_rh9/home/elkin.rh9/MySQL/mysql-5.0
parents
beb04ea3
8f904031
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
35 additions
and
3 deletions
+35
-3
myisam/ft_update.c
myisam/ft_update.c
+4
-0
mysql-test/r/fulltext2.result
mysql-test/r/fulltext2.result
+5
-0
mysql-test/t/fulltext2.test
mysql-test/t/fulltext2.test
+8
-0
zlib/Makefile.am
zlib/Makefile.am
+2
-0
zlib/README.MySQL
zlib/README.MySQL
+9
-0
zlib/gzio.c
zlib/gzio.c
+2
-2
zlib/zconf.h
zlib/zconf.h
+5
-1
No files found.
myisam/ft_update.c
View file @
afae5fcc
...
@@ -168,6 +168,10 @@ int _mi_ft_cmp(MI_INFO *info, uint keynr, const byte *rec1, const byte *rec2)
...
@@ -168,6 +168,10 @@ int _mi_ft_cmp(MI_INFO *info, uint keynr, const byte *rec1, const byte *rec2)
FT_SEG_ITERATOR
ftsi1
,
ftsi2
;
FT_SEG_ITERATOR
ftsi1
,
ftsi2
;
CHARSET_INFO
*
cs
=
info
->
s
->
keyinfo
[
keynr
].
seg
->
charset
;
CHARSET_INFO
*
cs
=
info
->
s
->
keyinfo
[
keynr
].
seg
->
charset
;
DBUG_ENTER
(
"_mi_ft_cmp"
);
DBUG_ENTER
(
"_mi_ft_cmp"
);
#ifndef MYSQL_HAS_TRUE_CTYPE_IMPLEMENTATION
if
(
cs
->
mbmaxlen
>
1
)
DBUG_RETURN
(
THOSE_TWO_DAMN_KEYS_ARE_REALLY_DIFFERENT
);
#endif
_mi_ft_segiterator_init
(
info
,
keynr
,
rec1
,
&
ftsi1
);
_mi_ft_segiterator_init
(
info
,
keynr
,
rec1
,
&
ftsi1
);
_mi_ft_segiterator_init
(
info
,
keynr
,
rec2
,
&
ftsi2
);
_mi_ft_segiterator_init
(
info
,
keynr
,
rec2
,
&
ftsi2
);
...
...
mysql-test/r/fulltext2.result
View file @
afae5fcc
...
@@ -234,5 +234,10 @@ insert into t1 values('test test '),('test'),('test'),('test'),
...
@@ -234,5 +234,10 @@ insert into t1 values('test test '),('test'),('test'),('test'),
('test'),('test'),('test'),('test'),('test'),('test'),('test'),('test'),
('test'),('test'),('test'),('test'),('test'),('test'),('test'),('test'),
('test'),('test'),('test'),('test'),('test'),('test'),('test'),('test');
('test'),('test'),('test'),('test'),('test'),('test'),('test'),('test');
delete from t1 limit 1;
delete from t1 limit 1;
truncate table t1;
insert into t1 values('ab c d');
update t1 set a='ab c d';
select * from t1 where match a against('ab c' in boolean mode);
a
drop table t1;
drop table t1;
set names latin1;
set names latin1;
mysql-test/t/fulltext2.test
View file @
afae5fcc
...
@@ -209,6 +209,14 @@ insert into t1 values('test test '),('test'),('test'),('test'),
...
@@ -209,6 +209,14 @@ insert into t1 values('test test '),('test'),('test'),('test'),
(
'test'
),(
'test'
),(
'test'
),(
'test'
),(
'test'
),(
'test'
),(
'test'
),(
'test'
),
(
'test'
),(
'test'
),(
'test'
),(
'test'
),(
'test'
),(
'test'
),(
'test'
),(
'test'
),
(
'test'
),(
'test'
),(
'test'
),(
'test'
),(
'test'
),(
'test'
),(
'test'
),(
'test'
);
(
'test'
),(
'test'
),(
'test'
),(
'test'
),(
'test'
),(
'test'
),(
'test'
),(
'test'
);
delete
from
t1
limit
1
;
delete
from
t1
limit
1
;
#
# BUG#16489: utf8 + fulltext leads to corrupt index file.
#
truncate
table
t1
;
insert
into
t1
values
(
'ab c d'
);
update
t1
set
a
=
'ab c d'
;
select
*
from
t1
where
match
a
against
(
'ab c'
in
boolean
mode
);
drop
table
t1
;
drop
table
t1
;
set
names
latin1
;
set
names
latin1
;
...
...
zlib/Makefile.am
View file @
afae5fcc
...
@@ -16,6 +16,8 @@
...
@@ -16,6 +16,8 @@
# Process this file with automake to create Makefile.in
# Process this file with automake to create Makefile.in
INCLUDES
=
-I
$(top_builddir)
/include
-I
$(top_srcdir)
/include
pkglib_LTLIBRARIES
=
libz.la
pkglib_LTLIBRARIES
=
libz.la
libz_la_LDFLAGS
=
-version-info
3:3:2
libz_la_LDFLAGS
=
-version-info
3:3:2
...
...
zlib/README.MySQL
View file @
afae5fcc
...
@@ -5,3 +5,12 @@ original zlib distribution. You can find the original distribution at
...
@@ -5,3 +5,12 @@ original zlib distribution. You can find the original distribution at
http://www.gzip.org/zlib/
http://www.gzip.org/zlib/
or
or
http://www.zlib.net/
http://www.zlib.net/
Revision history:
20.01.2006. The following files were changed as part of #15787 fix:
makefile.am
gzio.c
zconf.h
README.mysql
zlib/gzio.c
View file @
afae5fcc
...
@@ -7,10 +7,10 @@
...
@@ -7,10 +7,10 @@
/* @(#) $Id$ */
/* @(#) $Id$ */
#include <stdio.h>
#include "zutil.h"
#include "zutil.h"
#include <stdio.h>
#ifdef NO_DEFLATE
/* for compatibility with old definition */
#ifdef NO_DEFLATE
/* for compatibility with old definition */
# define NO_GZCOMPRESS
# define NO_GZCOMPRESS
#endif
#endif
...
...
zlib/zconf.h
View file @
afae5fcc
...
@@ -8,6 +8,10 @@
...
@@ -8,6 +8,10 @@
#ifndef ZCONF_H
#ifndef ZCONF_H
#define ZCONF_H
#define ZCONF_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/*
/*
* If you *really* need a unique prefix for all types and library functions,
* If you *really* need a unique prefix for all types and library functions,
* compile with -DZ_PREFIX. The "standard" zlib should be compiled without it.
* compile with -DZ_PREFIX. The "standard" zlib should be compiled without it.
...
@@ -284,7 +288,7 @@ typedef uLong FAR uLongf;
...
@@ -284,7 +288,7 @@ typedef uLong FAR uLongf;
typedef
Byte
*
voidp
;
typedef
Byte
*
voidp
;
#endif
#endif
#if
0 /* HAVE_UNISTD_H -- this line is updated by ./configure */
#if
def HAVE_UNISTD_H
# include <sys/types.h>
/* for off_t */
# include <sys/types.h>
/* for off_t */
# include <unistd.h>
/* for SEEK_* and off_t */
# include <unistd.h>
/* for SEEK_* and off_t */
# ifdef VMS
# ifdef VMS
...
...
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