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
336250e6
Commit
336250e6
authored
Aug 23, 2006
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
String broken up to avoid silly MICROS~1 string-size limit.
BitKeeper/etc/ignore: Added sql/f.c to the ignore list
parent
f9832bf1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
.bzrignore
.bzrignore
+1
-0
sql/gen_lex_hash.cc
sql/gen_lex_hash.cc
+8
-3
No files found.
.bzrignore
View file @
336250e6
...
@@ -1296,3 +1296,4 @@ vio/viotest-sslconnect.cpp
...
@@ -1296,3 +1296,4 @@ vio/viotest-sslconnect.cpp
vio/viotest.cpp
vio/viotest.cpp
zlib/*.ds?
zlib/*.ds?
zlib/*.vcproj
zlib/*.vcproj
sql/f.c
sql/gen_lex_hash.cc
View file @
336250e6
...
@@ -473,8 +473,10 @@ static inline SYMBOL *get_hash_symbol(const char *s,\n\
...
@@ -473,8 +473,10 @@ static inline SYMBOL *get_hash_symbol(const char *s,\n\
if (len == 0) {
\n
\
if (len == 0) {
\n
\
DBUG_PRINT(
\"
warning
\"
, (
\"
get_hash_symbol() received a request for a zero-length symbol, which is probably a mistake.
\"
));\
DBUG_PRINT(
\"
warning
\"
, (
\"
get_hash_symbol() received a request for a zero-length symbol, which is probably a mistake.
\"
));\
return(NULL);
\n
\
return(NULL);
\n
\
}\
}
\n
"
\n
\
);
printf
(
"\
if (function){
\n
\
if (function){
\n
\
if (len>sql_functions_max_len) return 0;
\n
\
if (len>sql_functions_max_len) return 0;
\n
\
hash_map= sql_functions_map;
\n
\
hash_map= sql_functions_map;
\n
\
...
@@ -505,7 +507,10 @@ static inline SYMBOL *get_hash_symbol(const char *s,\n\
...
@@ -505,7 +507,10 @@ static inline SYMBOL *get_hash_symbol(const char *s,\n\
cur_struct= uint4korr(hash_map+
\n
\
cur_struct= uint4korr(hash_map+
\n
\
(((uint16)cur_struct + cur_char - first_char)*4));
\n
\
(((uint16)cur_struct + cur_char - first_char)*4));
\n
\
cur_str++;
\n
\
cur_str++;
\n
\
}
\n
\
}
\n
"
);
printf
(
"\
}else{
\n
\
}else{
\n
\
if (len>symbols_max_len) return 0;
\n
\
if (len>symbols_max_len) return 0;
\n
\
hash_map= symbols_map;
\n
\
hash_map= symbols_map;
\n
\
...
...
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