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
ec06c782
Commit
ec06c782
authored
Feb 19, 2004
by
marko@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unnecessary files and functions
parent
38b46781
Changes
8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
8 additions
and
7030 deletions
+8
-7030
innobase/fsp/trash/FSP0FSP.C
innobase/fsp/trash/FSP0FSP.C
+0
-3100
innobase/include/usr0sess.h
innobase/include/usr0sess.h
+0
-43
innobase/lock/lock0lock.c
innobase/lock/lock0lock.c
+0
-5
innobase/log/trash/log0trsh.c
innobase/log/trash/log0trsh.c
+0
-648
innobase/os/os0fileold.c
innobase/os/os0fileold.c
+0
-1956
innobase/srv/srv0srv.c
innobase/srv/srv0srv.c
+0
-677
innobase/trx/trx0trx.c
innobase/trx/trx0trx.c
+0
-5
innobase/usr/usr0sess.c
innobase/usr/usr0sess.c
+8
-596
No files found.
innobase/fsp/trash/FSP0FSP.C
deleted
100644 → 0
View file @
38b46781
This diff is collapsed.
Click to expand it.
innobase/include/usr0sess.h
View file @
ec06c782
...
...
@@ -66,28 +66,6 @@ sess_open(
byte
*
addr_buf
,
/* in: client address */
ulint
addr_len
);
/* in: client address length */
/*************************************************************************
Closes a session, freeing the memory occupied by it. */
void
sess_close
(
/*=======*/
sess_t
*
sess
);
/* in, own: session object */
/*************************************************************************
Raises an SQL error. */
void
sess_raise_error_low
(
/*=================*/
trx_t
*
trx
,
/* in: transaction */
ulint
err_no
,
/* in: error number */
ulint
type
,
/* in: more info of the error, or 0 */
dict_table_t
*
table
,
/* in: dictionary table or NULL */
dict_index_t
*
index
,
/* in: table index or NULL */
dtuple_t
*
tuple
,
/* in: tuple to insert or NULL */
rec_t
*
rec
,
/* in: record or NULL */
char
*
err_str
);
/* in: arbitrary null-terminated error string,
or NULL */
/*************************************************************************
Closes a session, freeing the memory occupied by it, if it is in a state
where it should be closed. */
...
...
@@ -117,16 +95,6 @@ sess_srv_msg_send_simple(
ulint
rel_kernel
);
/* in: SESS_RELEASE_KERNEL or
SESS_NOT_RELEASE_KERNEL */
/***************************************************************************
Processes a message from a client. NOTE: May release the kernel mutex
temporarily. */
void
sess_receive_msg_rel_kernel
(
/*========================*/
sess_t
*
sess
,
/* in: session */
byte
*
str
,
/* in: message string */
ulint
len
);
/* in: message length */
/***************************************************************************
When a command has been completed, this function sends the message about it
to the client. */
...
...
@@ -136,17 +104,6 @@ sess_command_completed_message(
sess_t
*
sess
,
/* in: session */
byte
*
msg
,
/* in: message buffer */
ulint
len
);
/* in: message data length */
/***********************************************************************
Starts a new connection and a session, or starts a query based on a client
message. This is called by a SRV_COM thread. */
void
sess_process_cli_msg
(
/*=================*/
byte
*
str
,
/* in: message string */
ulint
len
,
/* in: string length */
byte
*
addr
,
/* in: address string */
ulint
alen
);
/* in: address length */
/* The session handle. All fields are protected by the kernel mutex */
...
...
innobase/lock/lock0lock.c
View file @
ec06c782
...
...
@@ -3063,11 +3063,6 @@ lock_deadlock_occurs(
ut_a
(
strlen
(
lock_latest_err_buf
)
<
4100
);
/*
sess_raise_error_low(trx, DB_DEADLOCK, lock->type_mode, table,
index, NULL, NULL, NULL);
*/
return
(
TRUE
);
}
...
...
innobase/log/trash/log0trsh.c
deleted
100644 → 0
View file @
38b46781
This diff is collapsed.
Click to expand it.
innobase/os/os0fileold.c
deleted
100644 → 0
View file @
38b46781
This diff is collapsed.
Click to expand it.
innobase/srv/srv0srv.c
View file @
ec06c782
This diff is collapsed.
Click to expand it.
innobase/trx/trx0trx.c
View file @
ec06c782
...
...
@@ -1147,8 +1147,6 @@ trx_sig_send(
ut_a
(
0
);
/* sess_raise_error_low(trx, 0, 0, NULL, NULL, NULL, NULL,
"Incompatible signal"); */
return
(
FALSE
);
}
...
...
@@ -1197,9 +1195,6 @@ trx_sig_send(
in the error state: */
ut_a
(
0
);
sess_raise_error_low
(
trx
,
0
,
0
,
NULL
,
NULL
,
NULL
,
NULL
,
(
char
*
)
"Signal from another session, or a break execution signal"
);
}
/* If there were no other signals ahead in the queue, try to start
...
...
innobase/usr/usr0sess.c
View file @
ec06c782
This diff is collapsed.
Click to expand it.
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