Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
b9b89934
Commit
b9b89934
authored
Oct 02, 2012
by
Mukund Sivaraman
Browse files
[2301] Add comment for ANY_SUB query
parent
84d2f379
Changes
1
Show whitespace changes
Inline
Side-by-side
src/lib/datasrc/sqlite3_accessor.cc
View file @
b9b89934
...
@@ -86,8 +86,13 @@ const char* const text_statements[NUM_STATEMENTS] = {
...
@@ -86,8 +86,13 @@ const char* const text_statements[NUM_STATEMENTS] = {
"SELECT id FROM zones WHERE name=?1 AND rdclass = ?2"
,
// ZONE
"SELECT id FROM zones WHERE name=?1 AND rdclass = ?2"
,
// ZONE
"SELECT rdtype, ttl, sigtype, rdata FROM records "
// ANY
"SELECT rdtype, ttl, sigtype, rdata FROM records "
// ANY
"WHERE zone_id=?1 AND name=?2"
,
"WHERE zone_id=?1 AND name=?2"
,
"SELECT rdtype, ttl, sigtype, rdata "
// ANY_SUB
// ANY_SUB:
// This query returns records in the specified zone for the domain
// matching the passed name, and its sub-domains.
"SELECT rdtype, ttl, sigtype, rdata "
"FROM records WHERE zone_id=?1 AND rname LIKE ?2"
,
"FROM records WHERE zone_id=?1 AND rname LIKE ?2"
,
"BEGIN"
,
// BEGIN
"BEGIN"
,
// BEGIN
"COMMIT"
,
// COMMIT
"COMMIT"
,
// COMMIT
"ROLLBACK"
,
// ROLLBACK
"ROLLBACK"
,
// ROLLBACK
...
...
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