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
e41eec23
Commit
e41eec23
authored
May 31, 2006
by
osku
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pars_sql(): Remove redundant call to strlen.
parent
e4276e2b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
pars/pars0pars.c
pars/pars0pars.c
+2
-1
No files found.
pars/pars0pars.c
View file @
e41eec23
...
...
@@ -1861,8 +1861,9 @@ pars_sql(
#endif
/* UNIV_SYNC_DEBUG */
pars_sym_tab_global
=
sym_tab_create
(
heap
);
pars_sym_tab_global
->
sql_string
=
mem_heap_strdup
(
heap
,
str
);
pars_sym_tab_global
->
string_len
=
strlen
(
str
);
pars_sym_tab_global
->
sql_string
=
mem_heap_dup
(
heap
,
str
,
pars_sym_tab_global
->
string_len
+
1
);
pars_sym_tab_global
->
next_char_pos
=
0
;
pars_sym_tab_global
->
info
=
info
;
...
...
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