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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
4cc08c96
Commit
4cc08c96
authored
Oct 03, 2013
by
Andrew McDonnell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix DEBUG build issues
parent
a6af7fc0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
storage/oqgraph/ha_oqgraph.cc
storage/oqgraph/ha_oqgraph.cc
+4
-4
No files found.
storage/oqgraph/ha_oqgraph.cc
View file @
4cc08c96
...
...
@@ -505,8 +505,8 @@ int ha_oqgraph::open(const char *name, int mode, uint test_if_locked)
DBUG_PRINT
(
"oq-debug"
,
(
"open(name=%s,mode=%d,test_if_locked=%u)"
,
name
,
mode
,
test_if_locked
));
assert
(
!
have_table_share
);
assert
(
graph
==
NULL
);
DBUG_ASSERT
(
!
have_table_share
);
DBUG_ASSERT
(
graph
==
NULL
);
THD
*
thd
=
current_thd
;
oqgraph_table_option_struct
*
options
=
...
...
@@ -956,7 +956,7 @@ int ha_oqgraph::index_read_idx(byte * buf, uint index, const byte * key,
DBUG_PRINT
(
"oq-debug"
,
(
"index_read_idx ::>> search(latch:%s,%ld,%ld)"
,
latchToCode
(
latch
),
orig_idp
?
(
long
)
*
orig_idp
:-
1
,
dest_idp
?
(
long
)
*
dest_idp
:-
1
));
oq
latchToCode
(
latch
),
orig_idp
?
(
long
)
*
orig_idp
:-
1
,
dest_idp
?
(
long
)
*
dest_idp
:-
1
));
res
=
graph
->
search
(
latchp
,
orig_idp
,
dest_idp
);
...
...
@@ -989,7 +989,7 @@ int ha_oqgraph::fill_record(byte *record, const open_query::row &row)
}
DBUG_PRINT
(
"oq-debug"
,
(
"fill_record() ::>> %s,%ld,%ld,%lf,%ld,%ld"
,
row
.
latch_indicator
?
latchToCode
((
int
)
row
.
latch
)
:
"-"
,
row
.
latch_indicator
?
oq
latchToCode
((
int
)
row
.
latch
)
:
"-"
,
row
.
orig_indicator
?
(
long
)
row
.
orig
:
-
1
,
row
.
dest_indicator
?
(
long
)
row
.
dest
:
-
1
,
row
.
weight_indicator
?
(
double
)
row
.
weight
:
-
1
,
...
...
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