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
94681d0f
Commit
94681d0f
authored
Feb 06, 2001
by
serg@serg.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
item_func.cc auto-init of ft-index restored (to cope with const/system tables)
parent
e13c21a7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
sql/item_func.cc
sql/item_func.cc
+4
-5
No files found.
sql/item_func.cc
View file @
94681d0f
...
@@ -1867,12 +1867,11 @@ err:
...
@@ -1867,12 +1867,11 @@ err:
double
Item_func_match
::
val
()
double
Item_func_match
::
val
()
{
{
/* If called uninitialized we should return neither NULL nor 0 (important
for const_tables) so, let's return -1, which is obviously incorrect
for normal operation, and could be easily spotted */
if
(
ft_handler
==
NULL
)
if
(
ft_handler
==
NULL
)
return
-
1.0
;
init_search
(
1
);
if
(
null_value
=
(
ft_handler
==
NULL
))
return
0.0
;
if
(
join_key
)
if
(
join_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