Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sebastian Schrader
Kea
Commits
27b7f9d3
Commit
27b7f9d3
authored
Nov 04, 2011
by
JINMEI Tatuya
Browse files
[1329] clarified that getRecordDiff must be replaced with the official one
later and that some details are intentionally ignored.
parent
6716721a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/datasrc/sqlite3_accessor.h
View file @
27b7f9d3
...
...
@@ -165,8 +165,13 @@ public:
const
std
::
string
(
&
params
)[
DIFF_PARAM_COUNT
]);
// A short term method for tests until we implement more complete
// API to retrieve diffs. It returns all records of the diffs table
// whose zone_id column is identical to the given value.
// API to retrieve diffs (#1330). It returns all records of the diffs
// table whose zone_id column is identical to the given value.
// Since this is a short term workaround, it ignores some corner cases
// (such as an SQLite3 execution failure) and is not very efficient,
// in favor of brevity. Once #1330 is completed, this method must be
// removed, and the tests using this method must be rewritten using the
// official API.
std
::
vector
<
std
::
vector
<
std
::
string
>
>
getRecordDiff
(
int
zone_id
);
/// The SQLite3 implementation of this method returns a string starting
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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