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
aee7346e
Commit
aee7346e
authored
Feb 10, 2003
by
monty@mashka.mysql.fi
Browse files
Options
Browse Files
Download
Plain Diff
Merge mashka.mysql.fi:/home/my/mysql-4.0
into mashka.mysql.fi:/home/my/mysql-4.1
parents
c4e7cbe1
c0b655aa
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
13 deletions
+7
-13
BUILD/FINISH.sh
BUILD/FINISH.sh
+5
-1
netware/mysqld.xdc
netware/mysqld.xdc
+0
-0
sql/opt_range.cc
sql/opt_range.cc
+2
-12
No files found.
BUILD/FINISH.sh
View file @
aee7346e
...
...
@@ -13,7 +13,11 @@ commands="\
$make
-k clean || true
/bin/rm -f */.deps/*.P config.cache innobase/config.cache bdb/build_unix/config.cache
aclocal && autoheader && aclocal && automake && autoconf
if [ ! aclocal ] ; then echo
\"
Can't execute aclocal
\"
; exit 1; fi
if [ ! autoheader ] ; then echo
\"
Can't execute autoheader
\"
; exit 1; fi
if [ ! aclocal ] ; then echo
\"
Can't execute aclocal
\"
; exit 1; fi
if [ ! automake ] ; then echo
\"
Can't execute automake
\"
; exit 1; fi
if [ ! autoconf ] ; then echo
\"
Can't execute autoconf
\"
; exit 1; fi
(cd bdb/dist && sh s_all)
(cd innobase && aclocal && autoheader && aclocal && automake && autoconf)
if [ -d gemini ]
...
...
netware/mysqld.xdc
0 → 100644
View file @
aee7346e
File added
sql/opt_range.cc
View file @
aee7346e
...
...
@@ -501,10 +501,11 @@ SEL_ARG *SEL_ARG::last()
return
next_arg
;
}
/*
Check if a compare is ok, when one takes ranges in account
Returns -2 or 2 if the ranges where 'joined' like < 2 and >= 2
*/
*/
static
int
sel_cmp
(
Field
*
field
,
char
*
a
,
char
*
b
,
uint8
a_flag
,
uint8
b_flag
)
{
...
...
@@ -1020,17 +1021,6 @@ get_mm_leaf(PARAM *param, Field *field, KEY_PART *key_part,
if
(
value
->
save_in_field
(
field
,
1
)
>
0
)
{
/* This happens when we try to insert a NULL field in a not null column */
// TODO; Check if we can we remove the following block.
if
(
type
==
Item_func
::
EQUAL_FUNC
)
{
/* convert column_name <=> NULL -> column_name IS NULL */
// Get local copy of key
char
*
str
=
(
char
*
)
alloc_root
(
param
->
mem_root
,
1
);
if
(
!
str
)
DBUG_RETURN
(
0
);
*
str
=
1
;
DBUG_RETURN
(
new
SEL_ARG
(
field
,
str
,
str
));
}
DBUG_RETURN
(
&
null_element
);
// cmp with NULL is never true
}
// Get local copy of 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