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
b4b960fc
Commit
b4b960fc
authored
Jan 12, 2013
by
Nisha Gopalakrishnan
Browse files
Options
Browse Files
Download
Plain Diff
BUG#11757250: REPLACE(...) INSIDE A STORED PROCEDURE.
Merge from 5.1 to 5.5
parents
b11fe1b8
3d9d0e77
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
client/sql_string.cc
client/sql_string.cc
+1
-1
sql/sql_string.cc
sql/sql_string.cc
+1
-1
No files found.
client/sql_string.cc
View file @
b4b960fc
...
...
@@ -691,7 +691,7 @@ String *copy_if_not_alloced(String *to,String *from,uint32 from_length)
{
if
(
from
->
Alloced_length
>=
from_length
)
return
from
;
if
(
from
->
alloced
||
!
to
||
from
==
to
)
if
(
(
from
->
alloced
&&
(
from
->
Alloced_length
!=
0
))
||
!
to
||
from
==
to
)
{
(
void
)
from
->
realloc
(
from_length
);
return
from
;
...
...
sql/sql_string.cc
View file @
b4b960fc
...
...
@@ -732,7 +732,7 @@ String *copy_if_not_alloced(String *to,String *from,uint32 from_length)
{
if
(
from
->
Alloced_length
>=
from_length
)
return
from
;
if
(
from
->
alloced
||
!
to
||
from
==
to
)
if
(
(
from
->
alloced
&&
(
from
->
Alloced_length
!=
0
))
||
!
to
||
from
==
to
)
{
(
void
)
from
->
realloc
(
from_length
);
return
from
;
...
...
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