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
f3f2de16
Commit
f3f2de16
authored
Oct 28, 2008
by
marko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
branches/zip: dict_str_starts_with_keyword(): Removed this unused function.
Spotted by Sunny.
parent
117ae892
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
30 deletions
+0
-30
dict/dict0dict.c
dict/dict0dict.c
+0
-19
include/dict0dict.h
include/dict0dict.h
+0
-11
No files found.
dict/dict0dict.c
View file @
f3f2de16
...
...
@@ -3648,25 +3648,6 @@ dict_create_foreign_constraints_low(
goto
loop
;
}
/**************************************************************************
Determines whether a string starts with the specified keyword. */
UNIV_INTERN
ibool
dict_str_starts_with_keyword
(
/*=========================*/
/* out: TRUE if str starts
with keyword */
void
*
mysql_thd
,
/* in: MySQL thread handle */
const
char
*
str
,
/* in: string to scan for keyword */
const
char
*
keyword
)
/* in: keyword to look for */
{
struct
charset_info_st
*
cs
=
innobase_get_charset
(
mysql_thd
);
ibool
success
;
dict_accept
(
cs
,
str
,
keyword
,
&
success
);
return
(
success
);
}
/*************************************************************************
Scans a table create SQL string and adds to the data dictionary the foreign
key constraints declared in the string. This function should be called after
...
...
include/dict0dict.h
View file @
f3f2de16
...
...
@@ -299,17 +299,6 @@ dict_table_replace_index_in_foreign_list(
/*=====================================*/
dict_table_t
*
table
,
/* in/out: table */
dict_index_t
*
index
);
/* in: index to be replaced */
/**************************************************************************
Determines whether a string starts with the specified keyword. */
UNIV_INTERN
ibool
dict_str_starts_with_keyword
(
/*=========================*/
/* out: TRUE if str starts
with keyword */
void
*
mysql_thd
,
/* in: MySQL thread handle */
const
char
*
str
,
/* in: string to scan for keyword */
const
char
*
keyword
);
/* in: keyword to look for */
/*************************************************************************
Checks if a index is defined for a foreign key constraint. Index is a part
of a foreign key constraint if the index is referenced by foreign 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