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
2b8b5cd9
Commit
2b8b5cd9
authored
Feb 22, 2010
by
marko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
branches/zip: row_fetch_store_uint4(): Remove unused function.
This was added to trunk in r435.
parent
13aa9d08
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
41 deletions
+0
-41
include/row0sel.h
include/row0sel.h
+0
-11
row/row0sel.c
row/row0sel.c
+0
-30
No files found.
include/row0sel.h
View file @
2b8b5cd9
...
...
@@ -105,17 +105,6 @@ row_fetch_print(
/*============*/
void
*
row
,
/*!< in: sel_node_t* */
void
*
user_arg
);
/*!< in: not used */
/****************************************************************//**
Callback function for fetch that stores an unsigned 4 byte integer to the
location pointed. The column's type must be DATA_INT, DATA_UNSIGNED, length
= 4.
@return always returns NULL */
UNIV_INTERN
void
*
row_fetch_store_uint4
(
/*==================*/
void
*
row
,
/*!< in: sel_node_t* */
void
*
user_arg
);
/*!< in: data pointer */
/***********************************************************//**
Prints a row in a select result.
@return query thread to run next or NULL */
...
...
row/row0sel.c
View file @
2b8b5cd9
...
...
@@ -2167,36 +2167,6 @@ row_fetch_print(
return
((
void
*
)
42
);
}
/****************************************************************//**
Callback function for fetch that stores an unsigned 4 byte integer to the
location pointed. The column's type must be DATA_INT, DATA_UNSIGNED, length
= 4.
@return always returns NULL */
UNIV_INTERN
void
*
row_fetch_store_uint4
(
/*==================*/
void
*
row
,
/*!< in: sel_node_t* */
void
*
user_arg
)
/*!< in: data pointer */
{
sel_node_t
*
node
=
row
;
ib_uint32_t
*
val
=
user_arg
;
ulint
tmp
;
dfield_t
*
dfield
=
que_node_get_val
(
node
->
select_list
);
const
dtype_t
*
type
=
dfield_get_type
(
dfield
);
ulint
len
=
dfield_get_len
(
dfield
);
ut_a
(
dtype_get_mtype
(
type
)
==
DATA_INT
);
ut_a
(
dtype_get_prtype
(
type
)
&
DATA_UNSIGNED
);
ut_a
(
len
==
4
);
tmp
=
mach_read_from_4
(
dfield_get_data
(
dfield
));
*
val
=
(
ib_uint32_t
)
tmp
;
return
(
NULL
);
}
/***********************************************************//**
Prints a row in a select result.
@return query thread to run next or NULL */
...
...
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