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
1104d4c5
Commit
1104d4c5
authored
Jul 13, 2005
by
tomas@poseidon.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
post merge fixes
parent
674b6bb1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
mysys/my_bitmap.c
mysys/my_bitmap.c
+2
-2
sql/mysql_priv.h
sql/mysql_priv.h
+1
-1
sql/sql_insert.cc
sql/sql_insert.cc
+1
-1
No files found.
mysys/my_bitmap.c
View file @
1104d4c5
...
@@ -174,7 +174,7 @@ void bitmap_free(MY_BITMAP *map)
...
@@ -174,7 +174,7 @@ void bitmap_free(MY_BITMAP *map)
my_bool
bitmap_fast_test_and_set
(
MY_BITMAP
*
map
,
uint
bitmap_bit
)
my_bool
bitmap_fast_test_and_set
(
MY_BITMAP
*
map
,
uint
bitmap_bit
)
{
{
uchar
*
byte
=
map
->
bitmap
+
(
bitmap_bit
/
8
);
uchar
*
byte
=
(
uchar
*
)
map
->
bitmap
+
(
bitmap_bit
/
8
);
uchar
bit
=
1
<<
((
bitmap_bit
)
&
7
);
uchar
bit
=
1
<<
((
bitmap_bit
)
&
7
);
uchar
res
=
(
*
byte
)
&
bit
;
uchar
res
=
(
*
byte
)
&
bit
;
*
byte
|=
bit
;
*
byte
|=
bit
;
...
@@ -198,7 +198,7 @@ my_bool bitmap_fast_test_and_set(MY_BITMAP *map, uint bitmap_bit)
...
@@ -198,7 +198,7 @@ my_bool bitmap_fast_test_and_set(MY_BITMAP *map, uint bitmap_bit)
my_bool
bitmap_test_and_set
(
MY_BITMAP
*
map
,
uint
bitmap_bit
)
my_bool
bitmap_test_and_set
(
MY_BITMAP
*
map
,
uint
bitmap_bit
)
{
{
my_bool
res
;
my_bool
res
;
DBUG_ASSERT
(
map
->
bitmap
&&
bitmap_bit
<
map
->
bitmap_size
*
8
);
DBUG_ASSERT
(
map
->
bitmap
&&
bitmap_bit
<
map
->
n_bits
);
bitmap_lock
(
map
);
bitmap_lock
(
map
);
res
=
bitmap_fast_test_and_set
(
map
,
bitmap_bit
);
res
=
bitmap_fast_test_and_set
(
map
,
bitmap_bit
);
bitmap_unlock
(
map
);
bitmap_unlock
(
map
);
...
...
sql/mysql_priv.h
View file @
1104d4c5
...
@@ -907,7 +907,7 @@ bool setup_fields(THD *thd, Item** ref_pointer_array,
...
@@ -907,7 +907,7 @@ bool setup_fields(THD *thd, Item** ref_pointer_array,
List
<
Item
>
&
item
,
ulong
set_query_id
,
List
<
Item
>
&
item
,
ulong
set_query_id
,
List
<
Item
>
*
sum_func_list
,
bool
allow_sum_func
);
List
<
Item
>
*
sum_func_list
,
bool
allow_sum_func
);
inline
bool
setup_fields_with_no_wrap
(
THD
*
thd
,
Item
**
ref_pointer_array
,
inline
bool
setup_fields_with_no_wrap
(
THD
*
thd
,
Item
**
ref_pointer_array
,
List
<
Item
>
&
item
,
bool
set_query_id
,
List
<
Item
>
&
item
,
ulong
set_query_id
,
List
<
Item
>
*
sum_func_list
,
List
<
Item
>
*
sum_func_list
,
bool
allow_sum_func
)
bool
allow_sum_func
)
{
{
...
...
sql/sql_insert.cc
View file @
1104d4c5
...
@@ -650,7 +650,7 @@ static bool check_view_insertability(THD * thd, TABLE_LIST *view)
...
@@ -650,7 +650,7 @@ static bool check_view_insertability(THD * thd, TABLE_LIST *view)
Field_translator
*
trans
;
Field_translator
*
trans
;
Field
**
field_ptr
=
table
->
field
;
Field
**
field_ptr
=
table
->
field
;
uint
used_fields_buff_size
=
(
table
->
s
->
fields
+
7
)
/
8
;
uint
used_fields_buff_size
=
(
table
->
s
->
fields
+
7
)
/
8
;
u
char
*
used_fields_buff
=
(
uchar
*
)
thd
->
alloc
(
used_fields_buff_size
);
u
int32
*
used_fields_buff
=
(
uint32
*
)
thd
->
alloc
(
used_fields_buff_size
);
MY_BITMAP
used_fields
;
MY_BITMAP
used_fields
;
DBUG_ENTER
(
"check_key_in_view"
);
DBUG_ENTER
(
"check_key_in_view"
);
...
...
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