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
43e07c3b
Commit
43e07c3b
authored
Aug 24, 2005
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG#12532: Fix for the case when my_malloc is macro
sql/log_event.cc: my_malloc can be a macro
parent
660ca01a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
sql/log_event.cc
sql/log_event.cc
+10
-5
No files found.
sql/log_event.cc
View file @
43e07c3b
...
...
@@ -1328,14 +1328,19 @@ Query_log_event::Query_log_event(const char* buf, uint event_len,
}
}
#if !defined(MYSQL_CLIENT) && defined(HAVE_QUERY_CACHE)
if
(
!
(
start
=
data_buf
=
(
char
*
)
my_malloc
(
catalog_len
+
1
+
time_zone_len
+
1
+
data_len
+
1
#if !defined(MYSQL_CLIENT) && defined(HAVE_QUERY_CACHE)
+
QUERY_CACHE_FLAGS_SIZE
+
db_len
+
1
data_len
+
1
+
QUERY_CACHE_FLAGS_SIZE
+
db_len
+
1
,
MYF
(
MY_WME
))))
#else
if
(
!
(
start
=
data_buf
=
(
char
*
)
my_malloc
(
catalog_len
+
1
+
time_zone_len
+
1
+
data_len
+
1
,
MYF
(
MY_WME
))))
#endif
,
MYF
(
MY_WME
))))
DBUG_VOID_RETURN
;
if
(
catalog_len
)
// If catalog is given
{
...
...
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