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
1d30dfdc
Commit
1d30dfdc
authored
Mar 28, 2006
by
msvensson@shellback
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused variable
parent
21001c6d
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
0 additions
and
13 deletions
+0
-13
sql/ha_heap.cc
sql/ha_heap.cc
+0
-1
sql/handler.cc
sql/handler.cc
+0
-2
sql/item_timefunc.cc
sql/item_timefunc.cc
+0
-1
sql/key.cc
sql/key.cc
+0
-1
sql/log.cc
sql/log.cc
+0
-2
sql/sp.cc
sql/sp.cc
+0
-1
sql/sp_cache.cc
sql/sp_cache.cc
+0
-1
sql/sql_base.cc
sql/sql_base.cc
+0
-4
No files found.
sql/ha_heap.cc
View file @
1d30dfdc
...
...
@@ -524,7 +524,6 @@ THR_LOCK_DATA **ha_heap::store_lock(THD *thd,
int
ha_heap
::
delete_table
(
const
char
*
name
)
{
char
buff
[
FN_REFLEN
];
int
error
=
heap_delete_table
(
name
);
return
error
==
ENOENT
?
0
:
error
;
}
...
...
sql/handler.cc
View file @
1d30dfdc
...
...
@@ -445,8 +445,6 @@ static my_bool init_handlerton(THD *unused1, st_plugin_int *plugin,
int
ha_init
()
{
int
error
=
0
;
handlerton
**
types
;
show_table_alias_st
*
table_alias
;
total_ha
=
savepoint_alloc_size
=
0
;
if
(
ha_init_errors
())
...
...
sql/item_timefunc.cc
View file @
1d30dfdc
...
...
@@ -2028,7 +2028,6 @@ void Item_date_add_interval::fix_length_and_dec()
bool
Item_date_add_interval
::
get_date
(
TIME
*
ltime
,
uint
fuzzy_date
)
{
long
period
,
sign
;
INTERVAL
interval
;
if
(
args
[
0
]
->
get_date
(
ltime
,
TIME_NO_ZERO_DATE
)
||
...
...
sql/key.cc
View file @
1d30dfdc
...
...
@@ -468,7 +468,6 @@ int key_rec_cmp(void *key, byte *first_rec, byte *second_rec)
do
{
Field
*
field
=
key_part
->
field
;
uint
length
;
if
(
key_part
->
null_bit
)
{
...
...
sql/log.cc
View file @
1d30dfdc
...
...
@@ -717,8 +717,6 @@ bool LOGGER::slow_log_print(THD *thd, const char *query, uint query_length,
bool
error
=
FALSE
;
Log_event_handler
**
current_handler
=
slow_log_handler_list
;
bool
is_command
=
FALSE
;
char
message_buff
[
MAX_LOG_BUFFER_SIZE
];
char
user_host_buff
[
MAX_USER_HOST_SIZE
];
my_time_t
current_time
;
...
...
sql/sp.cc
View file @
1d30dfdc
...
...
@@ -668,7 +668,6 @@ db_update_routine(THD *thd, int type, sp_name *name, st_sp_chistics *chistics)
{
TABLE
*
table
;
int
ret
;
bool
opened
;
DBUG_ENTER
(
"db_update_routine"
);
DBUG_PRINT
(
"enter"
,
(
"type: %d name: %.*s"
,
type
,
name
->
m_name
.
length
,
name
->
m_name
.
str
));
...
...
sql/sp_cache.cc
View file @
1d30dfdc
...
...
@@ -124,7 +124,6 @@ void sp_cache_clear(sp_cache **cp)
void
sp_cache_insert
(
sp_cache
**
cp
,
sp_head
*
sp
)
{
sp_cache
*
c
;
ulong
v
;
if
(
!
(
c
=
*
cp
))
{
...
...
sql/sql_base.cc
View file @
1d30dfdc
...
...
@@ -1408,10 +1408,7 @@ void update_non_unique_table_error(TABLE_LIST *update,
TABLE
*
find_temporary_table
(
THD
*
thd
,
const
char
*
db
,
const
char
*
table_name
)
{
char
key
[
MAX_DBKEY_LENGTH
];
uint
key_length
;
TABLE_LIST
table_list
;
TABLE
*
table
;
table_list
.
db
=
(
char
*
)
db
;
table_list
.
table_name
=
(
char
*
)
table_name
;
...
...
@@ -1939,7 +1936,6 @@ TABLE *open_table(THD *thd, TABLE_LIST *table_list, MEM_ROOT *mem_root,
}
else
{
TABLE_SHARE
*
share
;
/* Free cache if too big */
while
(
open_cache
.
records
>
table_cache_size
&&
unused_tables
)
VOID
(
hash_delete
(
&
open_cache
,(
byte
*
)
unused_tables
));
/* purecov: tested */
...
...
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