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
3f061ed1
Commit
3f061ed1
authored
Feb 15, 2005
by
kent@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/Users/kent/mysql/bk/mysql-4.1-perl
parents
8244a65b
f7512e75
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
5 deletions
+7
-5
sql/item.h
sql/item.h
+1
-1
sql/sql_class.cc
sql/sql_class.cc
+2
-0
sql/sql_lex.h
sql/sql_lex.h
+1
-1
sql/sql_list.h
sql/sql_list.h
+2
-2
sql/sql_string.h
sql/sql_string.h
+1
-1
No files found.
sql/item.h
View file @
3f061ed1
...
...
@@ -119,7 +119,7 @@ class Item {
static
void
*
operator
new
(
size_t
size
,
MEM_ROOT
*
mem_root
)
{
return
(
void
*
)
alloc_root
(
mem_root
,
(
uint
)
size
);
}
static
void
operator
delete
(
void
*
ptr
,
size_t
size
)
{}
static
void
operator
delete
(
void
*
ptr
,
size_t
size
,
MEM_ROOT
*
mem_root
)
{}
static
void
operator
delete
(
void
*
ptr
,
MEM_ROOT
*
mem_root
)
{}
enum
Type
{
FIELD_ITEM
,
FUNC_ITEM
,
SUM_FUNC_ITEM
,
STRING_ITEM
,
INT_ITEM
,
REAL_ITEM
,
NULL_ITEM
,
VARBIN_ITEM
,
...
...
sql/sql_class.cc
View file @
3f061ed1
...
...
@@ -707,6 +707,8 @@ struct Item_change_record: public ilink
Item
*
old_value
;
/* Placement new was hidden by `new' in ilink (TODO: check): */
static
void
*
operator
new
(
size_t
size
,
void
*
mem
)
{
return
mem
;
}
static
void
operator
delete
(
void
*
ptr
,
size_t
size
)
{}
static
void
operator
delete
(
void
*
ptr
,
void
*
mem
)
{
/* never called */
}
};
...
...
sql/sql_lex.h
View file @
3f061ed1
...
...
@@ -241,7 +241,7 @@ class st_select_lex_node {
static
void
*
operator
new
(
size_t
size
,
MEM_ROOT
*
mem_root
)
{
return
(
void
*
)
alloc_root
(
mem_root
,
(
uint
)
size
);
}
static
void
operator
delete
(
void
*
ptr
,
size_t
size
)
{}
static
void
operator
delete
(
void
*
ptr
,
size_t
size
,
MEM_ROOT
*
mem_root
)
{}
static
void
operator
delete
(
void
*
ptr
,
MEM_ROOT
*
mem_root
)
{}
st_select_lex_node
()
:
linkage
(
UNSPECIFIED_TYPE
)
{}
virtual
~
st_select_lex_node
()
{}
inline
st_select_lex_node
*
get_master
()
{
return
master
;
}
...
...
sql/sql_list.h
View file @
3f061ed1
...
...
@@ -41,8 +41,8 @@ class Sql_alloc
static
void
*
operator
new
(
size_t
size
,
MEM_ROOT
*
mem_root
)
{
return
(
void
*
)
alloc_root
(
mem_root
,
(
uint
)
size
);
}
static
void
operator
delete
(
void
*
ptr
,
size_t
size
)
{
TRASH
(
ptr
,
size
);
}
static
void
operator
delete
(
void
*
ptr
,
size_t
size
,
MEM_ROOT
*
mem_root
)
{
TRASH
(
ptr
,
size
);
}
static
void
operator
delete
(
void
*
ptr
,
MEM_ROOT
*
mem_root
)
{
/* never called */
}
static
void
operator
delete
[](
void
*
ptr
,
size_t
size
)
{
TRASH
(
ptr
,
size
);
}
#ifdef HAVE_purify
bool
dummy
;
...
...
sql/sql_string.h
View file @
3f061ed1
...
...
@@ -73,7 +73,7 @@ class String
{
return
(
void
*
)
alloc_root
(
mem_root
,
(
uint
)
size
);
}
static
void
operator
delete
(
void
*
ptr_arg
,
size_t
size
)
{}
static
void
operator
delete
(
void
*
ptr_arg
,
size_t
size
,
MEM_ROOT
*
mem_root
)
static
void
operator
delete
(
void
*
ptr_arg
,
MEM_ROOT
*
mem_root
)
{}
~
String
()
{
free
();
}
...
...
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