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
e17de6ec
Commit
e17de6ec
authored
Jun 20, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal:/home/bk/mysql-4.1
into mysql.com:/home/jimw/my/mysql-4.1-clean
parents
d73327e1
30f67d70
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
15 additions
and
5 deletions
+15
-5
VC++Files/client/mysqlclient.dsp
VC++Files/client/mysqlclient.dsp
+4
-0
VC++Files/libmysql/libmysql.dsp
VC++Files/libmysql/libmysql.dsp
+4
-0
client/mysql.cc
client/mysql.cc
+2
-1
myisam/ft_boolean_search.c
myisam/ft_boolean_search.c
+1
-1
mysql-test/r/fulltext.result
mysql-test/r/fulltext.result
+1
-1
mysql-test/t/fulltext.test
mysql-test/t/fulltext.test
+2
-2
vio/viosocket.c
vio/viosocket.c
+1
-0
No files found.
VC++Files/client/mysqlclient.dsp
View file @
e17de6ec
...
@@ -322,6 +322,10 @@ SOURCE=..\mysys\mulalloc.c
...
@@ -322,6 +322,10 @@ SOURCE=..\mysys\mulalloc.c
# End Source File
# End Source File
# Begin Source File
# Begin Source File
SOURCE=..\mysys\my_access.c
# End Source File
# Begin Source File
SOURCE=..\mysys\my_alloc.c
SOURCE=..\mysys\my_alloc.c
# End Source File
# End Source File
# Begin Source File
# Begin Source File
...
...
VC++Files/libmysql/libmysql.dsp
View file @
e17de6ec
...
@@ -295,6 +295,10 @@ SOURCE=..\mysys\mulalloc.c
...
@@ -295,6 +295,10 @@ SOURCE=..\mysys\mulalloc.c
# End Source File
# End Source File
# Begin Source File
# Begin Source File
SOURCE=..\mysys\my_access.c
# End Source File
# Begin Source File
SOURCE=..\mysys\my_alloc.c
SOURCE=..\mysys\my_alloc.c
# End Source File
# End Source File
# Begin Source File
# Begin Source File
...
...
client/mysql.cc
View file @
e17de6ec
...
@@ -989,7 +989,8 @@ static int read_lines(bool execute_commands)
...
@@ -989,7 +989,8 @@ static int read_lines(bool execute_commands)
a nil, it still needs the space in the linebuffer for it. This is,
a nil, it still needs the space in the linebuffer for it. This is,
naturally, undocumented.
naturally, undocumented.
*/
*/
}
while
(
linebuffer
[
0
]
<=
linebuffer
[
1
]
+
1
);
}
while
((
unsigned
char
)
linebuffer
[
0
]
<=
(
unsigned
char
)
linebuffer
[
1
]
+
1
);
line
=
buffer
.
c_ptr
();
line
=
buffer
.
c_ptr
();
#endif
/* __NETWARE__ */
#endif
/* __NETWARE__ */
#else
#else
...
...
myisam/ft_boolean_search.c
View file @
e17de6ec
...
@@ -398,7 +398,7 @@ FT_INFO * ft_init_boolean_search(MI_INFO *info, uint keynr, byte *query,
...
@@ -398,7 +398,7 @@ FT_INFO * ft_init_boolean_search(MI_INFO *info, uint keynr, byte *query,
Hack: instead of init_queue, we'll use reinit queue to be able
Hack: instead of init_queue, we'll use reinit queue to be able
to alloc queue with alloc_root()
to alloc queue with alloc_root()
*/
*/
res
=
ftb
->
queue
.
max_elements
=
1
+
query_len
/
(
min
(
ft_min_word_len
,
2
)
+
1
)
;
res
=
ftb
->
queue
.
max_elements
=
1
+
query_len
/
2
;
if
(
!
(
ftb
->
queue
.
root
=
if
(
!
(
ftb
->
queue
.
root
=
(
byte
**
)
alloc_root
(
&
ftb
->
mem_root
,
(
res
+
1
)
*
sizeof
(
void
*
))))
(
byte
**
)
alloc_root
(
&
ftb
->
mem_root
,
(
res
+
1
)
*
sizeof
(
void
*
))))
goto
err
;
goto
err
;
...
...
mysql-test/r/fulltext.result
View file @
e17de6ec
...
@@ -338,7 +338,7 @@ insert into t2 values (3, 1, 'xxbuz');
...
@@ -338,7 +338,7 @@ insert into t2 values (3, 1, 'xxbuz');
select * from t1 join t2 using(`t1_id`) where match (t1.name, t2.name) against('xxfoo' in boolean mode);
select * from t1 join t2 using(`t1_id`) where match (t1.name, t2.name) against('xxfoo' in boolean mode);
t1_id name t2_id t1_id name
t1_id name t2_id t1_id name
1 data1 1 1 xxfoo
1 data1 1 1 xxfoo
select * from t2 where match name against ('
a* b* c* d* e*
f*' in boolean mode);
select * from t2 where match name against ('
*a*b*c*d*e*
f*' in boolean mode);
t2_id t1_id name
t2_id t1_id name
drop table t1,t2;
drop table t1,t2;
create table t1 (a text, fulltext key (a));
create table t1 (a text, fulltext key (a));
...
...
mysql-test/t/fulltext.test
View file @
e17de6ec
...
@@ -253,9 +253,9 @@ insert into t2 values (3, 1, 'xxbuz');
...
@@ -253,9 +253,9 @@ insert into t2 values (3, 1, 'xxbuz');
select
*
from
t1
join
t2
using
(
`t1_id`
)
where
match
(
t1
.
name
,
t2
.
name
)
against
(
'xxfoo'
in
boolean
mode
);
select
*
from
t1
join
t2
using
(
`t1_id`
)
where
match
(
t1
.
name
,
t2
.
name
)
against
(
'xxfoo'
in
boolean
mode
);
#
#
# bug with many short (< ft_min_word_len) words in boolean search
#
Bug #7858:
bug with many short (< ft_min_word_len) words in boolean search
#
#
select
*
from
t2
where
match
name
against
(
'
a* b* c* d* e*
f*'
in
boolean
mode
);
select
*
from
t2
where
match
name
against
(
'
*a*b*c*d*e*
f*'
in
boolean
mode
);
drop
table
t1
,
t2
;
drop
table
t1
,
t2
;
#
#
...
...
vio/viosocket.c
View file @
e17de6ec
...
@@ -379,6 +379,7 @@ int vio_close_pipe(Vio * vio)
...
@@ -379,6 +379,7 @@ int vio_close_pipe(Vio * vio)
void
vio_ignore_timeout
(
Vio
*
vio
__attribute__
((
unused
)),
void
vio_ignore_timeout
(
Vio
*
vio
__attribute__
((
unused
)),
uint
which
__attribute__
((
unused
)),
uint
timeout
__attribute__
((
unused
)))
uint
timeout
__attribute__
((
unused
)))
{
{
}
}
...
...
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