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
fea5425e
Commit
fea5425e
authored
Nov 22, 2011
by
Alexey Botchkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small fixes to make compilers happy.
parent
8fe5460c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
sql/gcalc_slicescan.cc
sql/gcalc_slicescan.cc
+3
-3
No files found.
sql/gcalc_slicescan.cc
View file @
fea5425e
...
@@ -157,7 +157,7 @@ static void GCALC_DBUG_PRINT_SLICE(const char *header,
...
@@ -157,7 +157,7 @@ static void GCALC_DBUG_PRINT_SLICE(const char *header,
#else
#else
#define GCALC_DBUG_CHECK_COUNTER(
a)
do { } while(0)
#define GCALC_DBUG_CHECK_COUNTER(
)
do { } while(0)
#define GCALC_DBUG_PRINT_PI(pi) do { } while(0)
#define GCALC_DBUG_PRINT_PI(pi) do { } while(0)
#define GCALC_DBUG_PRINT_SLICE(a, b) do { } while(0)
#define GCALC_DBUG_PRINT_SLICE(a, b) do { } while(0)
#define GCALC_DBUG_PRINT_INTERSECTIONS(a) do { } while(0)
#define GCALC_DBUG_PRINT_INTERSECTIONS(a) do { } while(0)
...
@@ -432,7 +432,7 @@ void gcalc_mul_coord(Gcalc_internal_coord *result, int result_len,
...
@@ -432,7 +432,7 @@ void gcalc_mul_coord(Gcalc_internal_coord *result, int result_len,
gcalc_coord2
cur_b
=
n_b
?
b
[
n_b
]
:
FIRST_DIGIT
(
b
[
0
]);
gcalc_coord2
cur_b
=
n_b
?
b
[
n_b
]
:
FIRST_DIGIT
(
b
[
0
]);
gcalc_coord2
mul
=
cur_a
*
cur_b
+
carry
+
result
[
n_a
+
n_b
+
1
];
gcalc_coord2
mul
=
cur_a
*
cur_b
+
carry
+
result
[
n_a
+
n_b
+
1
];
result
[
n_a
+
n_b
+
1
]
=
mul
%
GCALC_DIG_BASE
;
result
[
n_a
+
n_b
+
1
]
=
mul
%
GCALC_DIG_BASE
;
carry
=
mul
/
GCALC_DIG_BASE
;
carry
=
(
gcalc_digit_t
)
(
mul
/
GCALC_DIG_BASE
)
;
}
while
(
n_b
--
);
}
while
(
n_b
--
);
if
(
carry
)
if
(
carry
)
{
{
...
@@ -1396,7 +1396,7 @@ int Gcalc_scan_iterator::insert_top_node()
...
@@ -1396,7 +1396,7 @@ int Gcalc_scan_iterator::insert_top_node()
{
{
point
*
sp
=
state
.
slice
;
point
*
sp
=
state
.
slice
;
point
**
prev_hook
=
&
state
.
slice
;
point
**
prev_hook
=
&
state
.
slice
;
point
*
sp1
;
point
*
sp1
=
NULL
;
point
*
sp0
=
new_slice_point
();
point
*
sp0
=
new_slice_point
();
int
cmp_res
;
int
cmp_res
;
...
...
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