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
ac49ce88
Commit
ac49ce88
authored
Nov 21, 2003
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added 'explicit' keyword to Bitmap constructor
sql/ha_isammrg.cc: no Bitmap::operator=(ulonglong) present
parent
baae790c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
sql/ha_isammrg.cc
sql/ha_isammrg.cc
+1
-1
sql/sql_bitmap.h
sql/sql_bitmap.h
+2
-2
No files found.
sql/ha_isammrg.cc
View file @
ac49ce88
...
...
@@ -157,7 +157,7 @@ void ha_isammrg::info(uint flag)
deleted
=
(
ha_rows
)
info
.
deleted
;
data_file_length
=
info
.
data_file_length
;
errkey
=
info
.
errkey
;
table
->
keys_in_use
=
0
;
// No keys yet
table
->
keys_in_use
.
clear_all
();
// No keys yet
table
->
db_options_in_use
=
info
.
options
;
mean_rec_length
=
info
.
reclength
;
block_size
=
0
;
...
...
sql/sql_bitmap.h
View file @
ac49ce88
...
...
@@ -29,7 +29,7 @@ template <uint default_width> class Bitmap
public:
Bitmap
()
{
init
();
}
Bitmap
(
Bitmap
&
from
)
{
*
this
=
from
;
}
Bitmap
(
uint
prefix_to_set
)
{
init
(
prefix_to_set
);
}
explicit
Bitmap
(
uint
prefix_to_set
)
{
init
(
prefix_to_set
);
}
void
init
()
{
bitmap_init
(
&
map
,
buffer
,
default_width
,
0
);
}
void
init
(
uint
prefix_to_set
)
{
init
();
set_prefix
(
prefix_to_set
);
}
uint
length
()
const
{
return
default_width
;
}
...
...
@@ -91,7 +91,7 @@ template <> class Bitmap<64>
ulonglong
map
;
public:
Bitmap
<
64
>
()
{
}
Bitmap
<
64
>
(
uint
prefix_to_set
)
{
set_prefix
(
prefix_to_set
);
}
explicit
Bitmap
<
64
>
(
uint
prefix_to_set
)
{
set_prefix
(
prefix_to_set
);
}
void
init
()
{
}
void
init
(
uint
prefix_to_set
)
{
set_prefix
(
prefix_to_set
);
}
uint
length
()
const
{
return
64
;
}
...
...
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