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
99eb6814
Commit
99eb6814
authored
Apr 05, 2005
by
sergefp@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Manually merged (will need a post-merge fix)
parents
48de1ff2
d0c9b362
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
150 additions
and
11 deletions
+150
-11
sql/sql_select.cc
sql/sql_select.cc
+140
-11
sql/sql_select.h
sql/sql_select.h
+10
-0
No files found.
sql/sql_select.cc
View file @
99eb6814
This diff is collapsed.
Click to expand it.
sql/sql_select.h
View file @
99eb6814
...
@@ -31,6 +31,11 @@ typedef struct keyuse_t {
...
@@ -31,6 +31,11 @@ typedef struct keyuse_t {
uint
key
,
keypart
,
optimize
;
uint
key
,
keypart
,
optimize
;
key_part_map
keypart_map
;
key_part_map
keypart_map
;
ha_rows
ref_table_rows
;
ha_rows
ref_table_rows
;
/*
If true, the comparison this value was created from will not be
satisfied if val has NULL 'value'.
*/
bool
null_rejecting
;
}
KEYUSE
;
}
KEYUSE
;
class
store_key
;
class
store_key
;
...
@@ -45,6 +50,11 @@ typedef struct st_table_ref
...
@@ -45,6 +50,11 @@ typedef struct st_table_ref
byte
*
key_buff2
;
// key_buff+key_length
byte
*
key_buff2
;
// key_buff+key_length
store_key
**
key_copy
;
//
store_key
**
key_copy
;
//
Item
**
items
;
// val()'s for each keypart
Item
**
items
;
// val()'s for each keypart
/*
(null_rejecting & (1<<i)) means the condition is '=' and no matching
rows will be produced if items[i] IS NULL (see add_not_null_conds())
*/
key_part_map
null_rejecting
;
table_map
depend_map
;
// Table depends on these tables.
table_map
depend_map
;
// Table depends on these tables.
byte
*
null_ref_key
;
// null byte position in the key_buf.
byte
*
null_ref_key
;
// null byte position in the key_buf.
// used for REF_OR_NULL optimization.
// used for REF_OR_NULL optimization.
...
...
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