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
21f8aef4
Commit
21f8aef4
authored
Jul 13, 2006
by
mikael/pappa@dator5.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG#18198: Partition function bug
Review fixes
parent
eae8c963
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
15 deletions
+1
-15
sql/item_cmpfunc.h
sql/item_cmpfunc.h
+1
-1
sql/item_strfunc.h
sql/item_strfunc.h
+0
-14
No files found.
sql/item_cmpfunc.h
View file @
21f8aef4
...
...
@@ -1134,7 +1134,7 @@ class Item_func_regex :public Item_bool_func
void
print
(
String
*
str
)
{
print_op
(
str
);
}
CHARSET_INFO
*
compare_collation
()
{
return
cmp_collation
.
collation
;
}
bool
check_partition_func_processor
(
byte
*
int_arg
)
{
return
safe_for_
single_char
_collation
(
int_arg
);
}
{
return
safe_for_
binary
_collation
(
int_arg
);
}
};
#else
...
...
sql/item_strfunc.h
View file @
21f8aef4
...
...
@@ -59,8 +59,6 @@ class Item_func_sha :public Item_str_func
String
*
val_str
(
String
*
);
void
fix_length_and_dec
();
const
char
*
func_name
()
const
{
return
"sha"
;
}
bool
check_partition_func_processor
(
byte
*
int_arg
)
{
return
safe_for_single_char_collation
(
int_arg
);}
};
class
Item_func_aes_encrypt
:
public
Item_str_func
...
...
@@ -217,8 +215,6 @@ class Item_func_substr :public Item_str_func
String
*
val_str
(
String
*
);
void
fix_length_and_dec
();
const
char
*
func_name
()
const
{
return
"substr"
;
}
bool
check_partition_func_processor
(
byte
*
int_arg
)
{
return
safe_for_single_char_collation
(
int_arg
);}
};
...
...
@@ -230,8 +226,6 @@ class Item_func_substr_index :public Item_str_func
String
*
val_str
(
String
*
);
void
fix_length_and_dec
();
const
char
*
func_name
()
const
{
return
"substring_index"
;
}
bool
check_partition_func_processor
(
byte
*
int_arg
)
{
return
safe_for_single_char_collation
(
int_arg
);}
};
...
...
@@ -246,8 +240,6 @@ class Item_func_trim :public Item_str_func
String
*
val_str
(
String
*
);
void
fix_length_and_dec
();
const
char
*
func_name
()
const
{
return
"trim"
;
}
bool
check_partition_func_processor
(
byte
*
int_arg
)
{
return
safe_for_single_char_collation
(
int_arg
);}
};
...
...
@@ -795,8 +787,6 @@ class Item_func_uncompressed_length : public Item_int_func
const
char
*
func_name
()
const
{
return
"uncompressed_length"
;}
void
fix_length_and_dec
()
{
max_length
=
10
;
}
longlong
val_int
();
bool
check_partition_func_processor
(
byte
*
int_arg
)
{
return
safe_for_single_char_collation
(
int_arg
);}
};
#ifdef HAVE_COMPRESS
...
...
@@ -813,8 +803,6 @@ class Item_func_compress: public Item_str_func
void
fix_length_and_dec
(){
max_length
=
(
args
[
0
]
->
max_length
*
120
)
/
100
+
12
;}
const
char
*
func_name
()
const
{
return
"compress"
;}
String
*
val_str
(
String
*
)
ZLIB_DEPENDED_FUNCTION
bool
check_partition_func_processor
(
byte
*
int_arg
)
{
return
safe_for_single_char_collation
(
int_arg
);}
};
class
Item_func_uncompress
:
public
Item_str_func
...
...
@@ -825,8 +813,6 @@ class Item_func_uncompress: public Item_str_func
void
fix_length_and_dec
(){
max_length
=
MAX_BLOB_WIDTH
;}
const
char
*
func_name
()
const
{
return
"uncompress"
;}
String
*
val_str
(
String
*
)
ZLIB_DEPENDED_FUNCTION
bool
check_partition_func_processor
(
byte
*
int_arg
)
{
return
safe_for_single_char_collation
(
int_arg
);}
};
#define UUID_LENGTH (8+1+4+1+4+1+4+1+12)
...
...
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